public interface ActorInteractionAddon
Modifier and Type | Method and Description |
---|---|
ActorController |
getControllerInstance(GraphController controller)
Get an instance of the
ActorController
for a given actor. |
ActorController |
getControllerInstance(GraphController controller,
boolean fullAccess)
Get an instance of the
ActorController
for a given actor. |
boolean |
isActorOfInterestForAddonController(NamedObj actor)
Determine of a given actor is of interest for a desired action.
|
boolean |
isActorOfInterestForLookInside(NamedObj actor)
Determine of a given actor is of interest for a desired action.
|
boolean |
isActorOfInterestForOpenInstance(NamedObj actor)
Determine of a given actor is of interest for a desired action.
|
void |
lookInsideAction(FigureAction figureAction,
NamedObj actor)
The action to be taken when looking inside an actor.
|
void |
openInstanceAction(FigureAction figureAction,
NamedObj actor)
The action to be taken when looking inside an actor.
|
boolean isActorOfInterestForLookInside(NamedObj actor)
actor
- The actor of interest.void lookInsideAction(FigureAction figureAction, NamedObj actor) throws IllegalActionException, NameDuplicationException
figureAction
- The FigureAction from which the call is being made.actor
- The actor being opened.IllegalActionException
- If the container is incompatible
with this attribute.NameDuplicationException
- If the name coincides with
an attribute already in the container.boolean isActorOfInterestForOpenInstance(NamedObj actor)
actor
- The actor of interest.void openInstanceAction(FigureAction figureAction, NamedObj actor) throws IllegalActionException, NameDuplicationException
figureAction
- The FigureAction from which the call is being made.actor
- The actor being opened.IllegalActionException
- If the container is incompatible
with this attribute.NameDuplicationException
- If the name coincides with
an attribute already in the container.ActorController getControllerInstance(GraphController controller)
ActorController
for a given actor. This assumes
Full access.controller
- The associated graph controller.ActorController getControllerInstance(GraphController controller, boolean fullAccess)
ActorController
for a given actor.controller
- The associated graph controller.fullAccess
- Indication if the controller should be instantiated
with Full access.boolean isActorOfInterestForAddonController(NamedObj actor)
actor
- The actor of interest.