Package ptolemy.vergil.ptera
Class SchedulingRelationController
- java.lang.Object
-
- diva.graph.BasicEdgeController
-
- ptolemy.vergil.modal.TransitionController
-
- ptolemy.vergil.ptera.SchedulingRelationController
-
- All Implemented Interfaces:
EdgeController
public class SchedulingRelationController extends TransitionController
The edge controller for scheduling relations in a A Ptolemy Event Relation Actor (PTERA) domain model.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Thomas Huining Feng
- Pt.AcceptedRating:
- Red (tfeng)
- Pt.ProposedRating:
- Red (tfeng)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchedulingRelationController.SchedulingRelationRenderer
Render a scheduling relation link between two events.-
Nested classes/interfaces inherited from class ptolemy.vergil.modal.TransitionController
TransitionController.LinkDropper, TransitionController.LinkRenderer, TransitionController.LinkTarget
-
Nested classes/interfaces inherited from class diva.graph.BasicEdgeController
BasicEdgeController.EdgeDropper
-
-
Field Summary
-
Fields inherited from class ptolemy.vergil.modal.TransitionController
_configuration, _configureAction, _configureMenuFactory, _lookInsideAction, _lookInsideActionFactory, _menuCreator, _menuFactory
-
-
Constructor Summary
Constructors Constructor Description SchedulingRelationController(GraphController controller)
Create a scheduling relation controller associated with the specified graph controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_openInstanceOrModel(Configuration configuration, NamedObj refinement)
Open the instance or the model.void
setConfiguration(Configuration configuration)
Set the configuration.-
Methods inherited from class ptolemy.vergil.modal.TransitionController
_createEdgeRenderer, _setUpLookInsideAction, addHotKeys
-
Methods inherited from class diva.graph.BasicEdgeController
addEdge, addEdge, clearEdge, drawEdge, getConnectorTarget, getController, getEdgeInteractor, getEdgeRenderer, removeEdge, render, setConnectorTarget, setEdgeInteractor, setEdgeRenderer
-
-
-
-
Constructor Detail
-
SchedulingRelationController
public SchedulingRelationController(GraphController controller)
Create a scheduling relation controller associated with the specified graph controller.- Parameters:
controller
- The associated graph controller.
-
-
Method Detail
-
setConfiguration
public void setConfiguration(Configuration configuration)
Set the configuration. This is may be used by derived controllers to open files or URLs.- Overrides:
setConfiguration
in classTransitionController
- Parameters:
configuration
- The configuration.
-
_openInstanceOrModel
protected void _openInstanceOrModel(Configuration configuration, NamedObj refinement) throws IllegalActionException, NameDuplicationException
Open the instance or the model. In this class, the default look inside action is to open the instance. In the parent class, the default action is to open the model.- Overrides:
_openInstanceOrModel
in classTransitionController
- Parameters:
configuration
- The configuration with which to open the model or instance.refinement
- The model or instance to open.- Throws:
IllegalActionException
- If constructing an effigy or tableau fails.NameDuplicationException
- If a name conflict occurs (this should not be thrown).- See Also:
Configuration.openInstance(NamedObj)
,Configuration.openModel(NamedObj)
-
-