Package repast.simphony.plugin
Interface CompositeControllerActionCreator
- All Known Implementing Classes:
ChartActionCreator,DataInitActionCreator,DataLoaderCompositeActionCreator,DataSetsActionCreator,DisplayCompositeActionCreator,GISCompositeControllerActionCreator,GISVizCompositeControllerActionCreator,TextSinkActionCreator,UserPanelCompositeControllerActionCreator
public interface CompositeControllerActionCreator
Interface for classes that wish to create parent / composite controller actions. Parent controller actions
are one level below the root controller action.
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionCreates the composite controller action.getID()Gets the unique id for this action.booleanReturn true if this action creator should only create a ControllerAction for the master context.
-
Method Details
-
getID
String getID()Gets the unique id for this action. Using this id, the action may found using {@link repast.simphony.engine.controller.ControllerRegistry.findAction(Object, String)}.- Returns:
- the id for this action
-
createControllerAction
ControllerAction createControllerAction()Creates the composite controller action.- Returns:
- the created ControllerAction.
-
isMasterOnly
boolean isMasterOnly()Return true if this action creator should only create a ControllerAction for the master context.- Returns:
-