public class DBReferenceActorInteractionAddon extends java.lang.Object implements ActorInteractionAddon
Constructor and Description |
---|
DBReferenceActorInteractionAddon() |
Modifier and Type | Method and Description |
---|---|
ActorController |
getControllerInstance(GraphController controller)
Get an instance of a DBActorController to be used for control of
database reference actors.
|
ActorController |
getControllerInstance(GraphController controller,
boolean fullAccess)
Get an instance of a DBActorController to be used for control of
database reference actors.
|
boolean |
isActorOfInterestForAddonController(NamedObj actor)
Determine of a given actor is a database reference actor.
|
boolean |
isActorOfInterestForLookInside(NamedObj actor)
Determine of a given actor is a database reference actor.
|
boolean |
isActorOfInterestForOpenInstance(NamedObj actor)
Determine of a given actor is a database reference actor.
|
void |
lookInsideAction(FigureAction figureAction,
NamedObj actor)
Show a dialog box warning the user that changes will not be propagated
to the database reference model.
|
void |
openInstanceAction(FigureAction figureAction,
NamedObj actor)
Show a dialog box warning the user that changes will not be propagated
to the database reference model.
|
public boolean isActorOfInterestForLookInside(NamedObj actor)
isActorOfInterestForLookInside
in interface ActorInteractionAddon
actor
- The actor of interest.public void lookInsideAction(FigureAction figureAction, NamedObj actor) throws IllegalActionException, NameDuplicationException
lookInsideAction
in interface ActorInteractionAddon
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.public ActorController getControllerInstance(GraphController controller, boolean fullAccess)
getControllerInstance
in interface ActorInteractionAddon
controller
- The associated graph controller.fullAccess
- Indication if the controller should be instantiated
with Full access.public ActorController getControllerInstance(GraphController controller)
getControllerInstance
in interface ActorInteractionAddon
controller
- The associated graph controller.public boolean isActorOfInterestForOpenInstance(NamedObj actor)
isActorOfInterestForOpenInstance
in interface ActorInteractionAddon
actor
- The actor of interest.public void openInstanceAction(FigureAction figureAction, NamedObj actor) throws IllegalActionException, NameDuplicationException
openInstanceAction
in interface ActorInteractionAddon
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.public boolean isActorOfInterestForAddonController(NamedObj actor)
isActorOfInterestForAddonController
in interface ActorInteractionAddon
actor
- The actor of interest.