ptolemy.vergil.fsm.ia
Class InterfaceAutomatonGraphTableau.Factory

java.lang.Object
  extended byptolemy.kernel.util.NamedObj
      extended byptolemy.kernel.util.Attribute
          extended byptolemy.actor.gui.TableauFactory
              extended byptolemy.vergil.fsm.ia.InterfaceAutomatonGraphTableau.Factory
All Implemented Interfaces:
Changeable, java.lang.Cloneable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Nameable, java.io.Serializable
Enclosing class:
InterfaceAutomatonGraphTableau

public static class InterfaceAutomatonGraphTableau.Factory
extends TableauFactory

A factory that creates graph editing tableaux for Ptolemy models.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator
 
Field Summary
 
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
 
Constructor Summary
InterfaceAutomatonGraphTableau.Factory(NamedObj container, java.lang.String name)
          Create an factory with the given name and container.
 
Method Summary
 Tableau createTableau(Effigy proxy)
          Create a tableau in the default workspace with no name for the given Effigy.
 
Methods inherited from class ptolemy.kernel.util.Attribute
_getContainedObject, _propagateExistence, clone, getContainer, setContainer, setName
 
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _description, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, message, propagateExistence, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setModelErrorHandler, setPersistent, setSource, toplevel, toString, uniqueName, validateSettables, workspace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterfaceAutomatonGraphTableau.Factory

public InterfaceAutomatonGraphTableau.Factory(NamedObj container,
                                              java.lang.String name)
                                       throws IllegalActionException,
                                              NameDuplicationException
Create an factory with the given name and container.

Parameters:
container - The container.
name - The name of the entity.
Throws:
IllegalActionException - If the container is incompatible with this attribute.
NameDuplicationException - If the name coincides with an attribute already in the container.
Method Detail

createTableau

public Tableau createTableau(Effigy proxy)
                      throws java.lang.Exception
Create a tableau in the default workspace with no name for the given Effigy. The tableau will created with a new unique name in the given model proxy. If this factory cannot create a tableau for the given proxy (perhaps because the proxy is not of the appropriate subclass) then return null.

Overrides:
createTableau in class TableauFactory
Parameters:
proxy - The model proxy.
Returns:
A new InterfaceAutomatonGraphTableau, if the proxy is a PtolemyEffigy that references an InterfaceAutomaton or null otherwise.
Throws:
java.lang.Exception - If an exception occurs when creating the tableau.