Package ch.tocco.nice2.netui.api.actions
Interface ActionsBuilder
- All Known Implementing Classes:
ActionsBuilderImpl
public interface ActionsBuilder
Factory for
ActionModel
s and ActionGroupModel
s that are enabled/disabled
depending on its perform-permission.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAction
(String id) createGroup
(String id) Creates a new action definition.newActionGroup
(String id, String groupName) Creates a new action group without any child actions.newActionGroup
(String id, String groupName, ActionModel... actions) Creates a new action group with the specified array as its child actions.newActionGroup
(String id, String groupName, Collection<ActionModel> actions) Creates a new action group with the specified collection as its child actions.Creates a new separator.
-
Method Details
-
createAction
-
createGroup
-
newActionGroup
Creates a new action group without any child actions. -
newActionGroup
Creates a new action group with the specified collection as its child actions. -
newActionGroup
Creates a new action group with the specified array as its child actions. -
newAction
Creates a new action definition. -
newSeparator
SeparatorModel newSeparator()Creates a new separator. -
getNiceGroup
-