Class ActionDisplaySpec
java.lang.Object
com.orchestranetworks.userservice.declaration.ActionDisplaySpec
Defines whether and how an action must be displayed in a toolbar or a menu.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActionDisplaySpec
The action is available in the default EBX® menu and can be explicitly assigned to a custom toolbar.static final ActionDisplaySpec
The action is neither available in the default EBX® menu nor can it be explicitly assigned to a custom toolbar.static final ActionDisplaySpec
The action can only be explicitly assigned to a custom toolbar. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionDisplaySpec
displayInDefaultMenuAtPosition
(int aPosition) This is similar toDISPLAYED
, but the position in the default menu can be specified.
-
Field Details
-
DISPLAYED
The action is available in the default EBX® menu and can be explicitly assigned to a custom toolbar.In default EBX® menus, actions are sorted alphabetically by default. To specify a different position,
displayInDefaultMenuAtPosition(int)
can be used. -
HIDDEN
The action is neither available in the default EBX® menu nor can it be explicitly assigned to a custom toolbar. -
HIDDEN_IN_DEFAULT_MENU
The action can only be explicitly assigned to a custom toolbar. It is not available in the default EBX® menu.
-
-
Method Details
-
displayInDefaultMenuAtPosition
This is similar toDISPLAYED
, but the position in the default menu can be specified. By default, actions are alphabetically sorted.
-