public class ExecutionAspectPlotterEditorFactory extends EditorFactory implements ExecutionAspectListener
Red (derler) |
Red (derler) |
NamedObj.ContainedObjectsIterator
ExecutionAspectListener.ExecutionEventType
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NamedObj> |
_actors
Contains the actors inside a ptides platform (=platforms).
|
Plot |
plot
The plot displayed by this ScheduleFactory.
|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ExecutionAspectPlotterEditorFactory(NamedObj container,
java.lang.String name)
Constructs a SchedulePlotter$SchedulePlotterEditorFactory object.
|
Modifier and Type | Method and Description |
---|---|
void |
createEditor(NamedObj object,
java.awt.Frame parent)
Create an editor for configuring the specified object with the
specified parent window.
|
void |
event(NamedObj actor,
double physicalTime,
ExecutionAspectListener.ExecutionEventType scheduleEvent)
Plot a new execution event for an actor (i.e. an actor
started/finished execution, was preempted or resumed).
|
void |
initialize(java.util.List<NamedObj> actors,
ActorExecutionAspect scheduler)
Initialize plot.
|
createEditor, createEditor
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public Plot plot
protected java.util.List<NamedObj> _actors
public ExecutionAspectPlotterEditorFactory(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name of the factory.IllegalActionException
- If the factory is not of an acceptable attribute
for the container.NameDuplicationException
- If the name coincides with an attribute already in
the container.public void createEditor(NamedObj object, java.awt.Frame parent)
createEditor
in interface Editable
createEditor
in class EditorFactory
object
- The object to configure.parent
- The parent window, or null if there is none.public void event(NamedObj actor, double physicalTime, ExecutionAspectListener.ExecutionEventType scheduleEvent)
event
in interface ExecutionAspectListener
actor
- The actor.physicalTime
- The physical time when this scheduling event occurred.scheduleEvent
- The scheduling event.public void initialize(java.util.List<NamedObj> actors, ActorExecutionAspect scheduler)
initialize
in interface ExecutionAspectListener
actors
- Actors scheduled by the resource scheduler associated with
this plot.scheduler
- Resource Scheduler associated with this plot.