public interface IRelationEditorActionGroup
Modifier and Type | Method and 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.
|
default int order()
java.util.List<AbstractRelationEditorAction> getActions(IRelationEditorActionAccess editorAccess)
editorAccess
- Methods to access the relation editor.static void fillToolbar(javax.swing.JToolBar toolbar, java.util.List<IRelationEditorActionGroup> groups, IRelationEditorActionAccess editorAccess)
Groups are sorted by their ordered index and expert buttons are hidden in non-expert mode.
toolbar
- The toolbar to add the buttons to.groups
- An unordered list of action groups.editorAccess
- The relation editor