public enum ToolbarLocation extends Enum<ToolbarLocation>
Enum Constant and Description |
---|
ASSOCIATION_ROW
Toolbar displayed on each record row of an association table in a record form
|
ASSOCIATION_TOP
Toolbar displayed on top of an association table in a record form
|
CUSTOM_LOCATION
Menu displayed in a custom location.
|
DATASET_NODE
Toolbar displayed next to a dataset node.
|
DATASET_VIEW_NAVIGATION_PANE
Toolbar displayed on top of a dataset navigation pane.
|
DATASET_VIEW_TOP
Toolbar displayed on top of a dataset form view.
|
DATASPACE_VIEW_WORKSPACE
Toolbar displayed on top of a dataspace view.
|
HIERARCHICAL_VIEW_NODE
Toolbar displayed next to a node in a hierarchical view.
|
HIERARCHICAL_VIEW_TOP
Toolbar displayed on top of a hierarchical view.
|
PERSPECTIVE_MENU
Menu displayed in perspectives.
|
RECORD_VIEW_TOP
Toolbar displayed on top of a record form view.
|
SIDEBAR
Menu displayed as a sidebar in the app.
|
TABLE_VIEW_ROW
Toolbar displayed on each record row of a table grid view.
|
TABLE_VIEW_TOP
Toolbar displayed on top of a table grid view.
|
WIDGET_SPECIFIC
Toolbar displayed in specific widgets.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCustomToolbarLocation(ServicePermissionRuleContext<?> aContext)
Returns the custom toolbar location contextual information.
|
boolean |
isAssociationRow() |
boolean |
isAssociationTop() |
boolean |
isAvailableForCustomToolbar() |
boolean |
isCustom() |
boolean |
isHierarchicalViewTop() |
boolean |
isRecordViewTop() |
boolean |
isSidebar() |
boolean |
isTableViewRow() |
boolean |
isTableViewTop() |
static ToolbarLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToolbarLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolbarLocation DATASPACE_VIEW_WORKSPACE
Note: This location is not yet available for assigning a custom toolbar.
public static final ToolbarLocation DATASET_VIEW_NAVIGATION_PANE
Note: This location is not yet available for assigning a custom toolbar.
public static final ToolbarLocation DATASET_VIEW_TOP
Note: This location is not yet available for assigning a custom toolbar.
public static final ToolbarLocation DATASET_NODE
Note: This location is not available for assigning a custom toolbar.
public static final ToolbarLocation TABLE_VIEW_TOP
public static final ToolbarLocation TABLE_VIEW_ROW
public static final ToolbarLocation RECORD_VIEW_TOP
public static final ToolbarLocation HIERARCHICAL_VIEW_TOP
public static final ToolbarLocation HIERARCHICAL_VIEW_NODE
Note: This location is not yet available for assigning a custom toolbar.
public static final ToolbarLocation ASSOCIATION_TOP
public static final ToolbarLocation ASSOCIATION_ROW
public static final ToolbarLocation WIDGET_SPECIFIC
Note: This location is not available to assign a custom toolbar.
public static final ToolbarLocation PERSPECTIVE_MENU
Note: This location is not available to assign a custom toolbar.
public static final ToolbarLocation CUSTOM_LOCATION
Note : A contextual information about this location can be get using the method :
getCustomToolbarLocation(ServicePermissionRuleContext)
public static final ToolbarLocation SIDEBAR
Note: This location is not available to assign a custom toolbar and is currently for internal use only.
public static ToolbarLocation[] values()
for (ToolbarLocation c : ToolbarLocation.values()) System.out.println(c);
public static ToolbarLocation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isTableViewTop()
public boolean isHierarchicalViewTop()
public boolean isAssociationTop()
public boolean isAssociationRow()
public boolean isRecordViewTop()
public boolean isTableViewRow()
public boolean isCustom()
public boolean isSidebar()
public boolean isAvailableForCustomToolbar()
public static String getCustomToolbarLocation(ServicePermissionRuleContext<?> aContext)
CUSTOM_LOCATION