public class MeasurementModelAttributes extends MirrorDecoratorAttributes
MeasurementModel
NamedObj.ContainedObjectsIterator
MirrorDecoratorListener.DecoratorEvent
_cachedDecoratorPortParameters, _cachedDecoratorPorts, _enabled, enable
_decorator, decoratorName
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
MeasurementModelAttributes(NamedObj target,
Decorator decorator)
Constructor to use when editing a model.
|
MeasurementModelAttributes(NamedObj target,
java.lang.String name)
Constructs a MeasurementModelAttributes object.
|
Modifier and Type | Method and Description |
---|---|
void |
addStateSpaceVariablesToContainer()
Add the state space variables defined in the scope of this decorator to the
container Actor.
|
java.lang.Object |
clone(Workspace workspace)
Clone the object into the specified workspace.
|
void |
decorateContainer()
Add all decorated ports and necessary parameters to the container.
|
void |
removeDecorationsFromContainer()
Remove all decorated ports from the container.
|
void |
removeStateSpaceVariablesFromContainer()
Remove the state space variables defined in the scope of this decorator from the
container Actor.
|
attributeChanged, enabled, event, event
exportMoML, getDecorator
_checkContainer, _getContainedObject, _propagateExistence, 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, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, 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 MeasurementModelAttributes(NamedObj target, Decorator decorator) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.decorator
- The decorator.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.public MeasurementModelAttributes(NamedObj target, java.lang.String name) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.name
- The decorator name.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.public void addStateSpaceVariablesToContainer()
public java.lang.Object clone(Workspace workspace) throws java.lang.CloneNotSupportedException
DecoratorAttributes
clone
in class MirrorDecoratorAttributes
workspace
- The workspace for the cloned object.java.lang.CloneNotSupportedException
- Not thrown in this base classNamedObj.exportMoML(Writer, int, String)
,
NamedObj.setDeferringChangeRequests(boolean)
public void decorateContainer()
MirrorDecoratorAttributes
decorateContainer
in class MirrorDecoratorAttributes
public void removeDecorationsFromContainer() throws IllegalActionException, NameDuplicationException
MirrorDecoratorAttributes
removeDecorationsFromContainer
in class MirrorDecoratorAttributes
IllegalActionException
NameDuplicationException
public void removeStateSpaceVariablesFromContainer()