ptolemy.domains.tdl.kernel
Class TDLCodeGenerator.TDLEditorFactory

java.lang.Object
  extended by ptolemy.kernel.util.NamedObj
      extended by ptolemy.kernel.util.Attribute
          extended by ptolemy.actor.gui.EditorFactory
              extended by ptolemy.domains.tdl.kernel.TDLCodeGenerator.TDLEditorFactory
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable
Enclosing class:
TDLCodeGenerator

protected class TDLCodeGenerator.TDLEditorFactory
extends EditorFactory

An attribute that can create an TDL code editor for a TDL model.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces 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, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
 
Constructor Summary
TDLCodeGenerator.TDLEditorFactory(NamedObj container, java.lang.String name)
          Constructs a TDL EditorFactory object for a TDL model.
 
Method Summary
 void createEditor(NamedObj object, java.awt.Frame parent)
          Create an editor for configuring the specified object with the specified parent window.
 
Methods inherited from class ptolemy.actor.gui.EditorFactory
createEditor, createEditor
 
Methods inherited from class ptolemy.kernel.util.Attribute
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
 
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _description, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _recordDecoratedAttributes, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, 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, propagateExistence, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TDLCodeGenerator.TDLEditorFactory

public TDLCodeGenerator.TDLEditorFactory(NamedObj container,
                                         java.lang.String name)
                                  throws IllegalActionException,
                                         NameDuplicationException
Constructs a TDL EditorFactory object for a TDL model.

Parameters:
container - The container, which is a TDL model.
name - The name for this attribute.
Throws:
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.
Method Detail

createEditor

public void createEditor(NamedObj object,
                         java.awt.Frame parent)
Create an editor for configuring the specified object with the specified parent window.

Specified by:
createEditor in class EditorFactory
Parameters:
object - The object to configure.
parent - The parent window, or null if there is none.