public class CaseGraphTableau extends MultiCompositeTableau implements StateChangeListener
This class is a copy of ptolemy.vergil.modal.CaseGraphTableau, but uses org.kepler.gui.frame.CaseGraphFrame
(see http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3708)Modifier and Type | Class and Description |
---|---|
class |
CaseGraphTableau.AddCaseAction
Class implementing the Add Case menu command.
|
static class |
CaseGraphTableau.Factory
A factory that creates graph editing tableaux for Ptolemy models.
|
MultiCompositeTableau.AddRefinementAction, MultiCompositeTableau.RemoveRefinementAction
CompositeEntity.ContainedObjectsIterator
_frame
_createdNewFrame
_debugClosing, size
_levelCrossingLinks
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new case editor tableau with the specified container
and name.
|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new case editor tableau with the specified container,
name, and default library.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_configureFrame(TabbedKeplerGraphFrame frame,
CompositeEntity model)
Configure the frame for the opened Case actor.
|
void |
_multiCompositeSelected(boolean isSelected)
This method is called when the Case actor is selected or unselected in the
frame.
|
clone, createGraphFrame, handleStateChange, setContainer
_addCompositeToExistingFrame, createGraphFrame, show
attributeChanged, close, getFrame, getTitle, isEditable, isMaster, setEditable, setFrame, setMaster, setTitle
_addEntity, _addRelation, _adjustDeferrals, _containedDecorators, _deepOpaqueEntityList, _description, _exportMoMLContents, _finishedAddEntity, _removeEntity, _removeRelation, _validateSettables, allAtomicEntityList, allowLevelCrossingConnect, classDefinitionList, connect, connect, containedObjectsIterator, deepCompositeEntityList, deepEntityList, deepGetEntities, deepNamedObjList, deepOpaqueEntityList, deepRelationSet, entityList, entityList, exportLinks, exportMoML, getAttribute, getEntities, getEntity, getPort, getRelation, getRelations, isAtomic, isOpaque, lazyAllAtomicEntityList, lazyAllCompositeEntityList, lazyAllCompositeTransparentAndOpaqueEntityList, lazyClassDefinitionList, lazyDeepEntityList, lazyEntityList, lazyRelationList, newRelation, numberOfEntities, numberOfRelations, numEntities, numRelations, relationList, removeAllEntities, removeAllRelations, setClassDefinition, statistics, uniqueName
_checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setName
_addPort, _removePort, connectedPortList, connectedPorts, connectionsChanged, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts
_setParent, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleStateChange
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
public CaseGraphTableau(PtolemyEffigy container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name.IllegalActionException
- If the model associated with
the container effigy is not an instance of Case.NameDuplicationException
- If the container already
contains an object with the specified name.public CaseGraphTableau(PtolemyEffigy container, java.lang.String name, LibraryAttribute defaultLibrary) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name.defaultLibrary
- The default library, or null to not specify one.IllegalActionException
- If the model associated with
the container effigy is not an instance of Case.NameDuplicationException
- If the container already
contains an object with the specified name.public void _multiCompositeSelected(boolean isSelected)
_multiCompositeSelected
in class MultiCompositeTableau
protected void _configureFrame(TabbedKeplerGraphFrame frame, CompositeEntity model)
_configureFrame
in class MultiCompositeTableau