Interface IRelationEditorActionGroup
-
public interface IRelationEditorActionGroup
An action group for the relation editor, to be used in one of the tool bars.- Since:
- 14027
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static void
fillToolbar(javax.swing.JToolBar toolbar, java.util.List<IRelationEditorActionGroup> groups, IRelationEditorActionAccess editorAccess)
Fills the toolbar with some action groups.java.util.List<AbstractRelationEditorAction>
getActions(IRelationEditorActionAccess editorAccess)
Get the actions in this action group.default int
order()
Get the position at which the action group should be added.
-
-
-
Method Detail
-
order
default int order()
Get the position at which the action group should be added.- Returns:
- The order index, default is to add at the end.
-
getActions
java.util.List<AbstractRelationEditorAction> getActions(IRelationEditorActionAccess editorAccess)
Get the actions in this action group.- Parameters:
editorAccess
- Methods to access the relation editor.- Returns:
- The actions
-
fillToolbar
static void fillToolbar(javax.swing.JToolBar toolbar, java.util.List<IRelationEditorActionGroup> groups, IRelationEditorActionAccess editorAccess)
Fills the toolbar with some action groups.Groups are sorted by their ordered index and expert buttons are hidden in non-expert mode.
- Parameters:
toolbar
- The toolbar to add the buttons to.groups
- An unordered list of action groups.editorAccess
- The relation editor
-
-