ptolemy.vergil.icon
Class EditIconTableau
java.lang.Object
ptolemy.kernel.util.NamedObj
ptolemy.kernel.InstantiableNamedObj
ptolemy.kernel.Entity
ptolemy.kernel.ComponentEntity
ptolemy.kernel.CompositeEntity
ptolemy.actor.gui.Tableau
ptolemy.vergil.icon.EditIconTableau
- All Implemented Interfaces:
- Changeable, java.lang.Cloneable, Debuggable, DebugListener, Derivable, Instantiable, ModelErrorHandler, MoMLExportable, Nameable, java.io.Serializable
- public class EditIconTableau
- extends Tableau
This is an icon editor for ptolemy models. It constructs an instance
of EditIconFrame, which contains an editor pane based on diva.
- Since:
- Ptolemy II 4.0
- Version:
- $Id: EditIconTableau.java,v 1.7 2004/04/29 19:44:27 eal Exp $
- Author:
- Edward A. Lee
- See Also:
EditIconFrame,
Serialized Form
- Accepted Rating:
- Proposed Rating:
|
Nested Class Summary |
static class |
EditIconTableau.Factory
A factory that creates icon editing tableaux for Ptolemy models. |
| Fields inherited from class ptolemy.actor.gui.Tableau |
size |
| Fields inherited from class ptolemy.kernel.util.NamedObj |
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
|
Method Summary |
java.lang.String |
getTitle()
Override the base class to return a more reasonable title. |
| Methods inherited from class ptolemy.actor.gui.Tableau |
attributeChanged, clone, close, getFrame, isEditable, isMaster, setContainer, setEditable, setFrame, setMaster, setTitle, show |
| Methods inherited from class ptolemy.kernel.CompositeEntity |
_addEntity, _addRelation, _adjustDeferrals, _description, _exportMoMLContents, _finishedAddEntity, _removeEntity, _removeRelation, allAtomicEntityList, allowLevelCrossingConnect, classDefinitionList, connect, connect, containedObjectsIterator, deepEntityList, deepGetEntities, entityList, entityList, exportLinks, getAttribute, getEntities, getEntity, getPort, getRelation, getRelations, isAtomic, isOpaque, newRelation, numberOfClassDefinitions, numberOfEntities, numberOfRelations, numEntities, numRelations, relationList, removeAllEntities, removeAllRelations, uniqueName, validateSettables |
| Methods inherited from class ptolemy.kernel.util.NamedObj |
_addAttribute, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, attributeList, attributeList, attributeTypeChanged, clone, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, message, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setModelErrorHandler, setPersistent, setSource, toplevel, toString, workspace |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EditIconTableau
public EditIconTableau(Workspace workspace)
throws IllegalActionException,
NameDuplicationException
- Create a tableau in the specified workspace.
- Parameters:
workspace - The workspace.
EditIconTableau
public EditIconTableau(PtolemyEffigy container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
- Create a tableau with the specified container and name, with
no specified default library.
- Parameters:
container - The container.name - The name.
EditIconTableau
public EditIconTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
throws IllegalActionException,
NameDuplicationException
- Create a tableau with the specified container, name, and
default library.
- Parameters:
container - The container.name - The name.defaultLibrary - The default library, or null to not specify one.
getTitle
public java.lang.String getTitle()
- Override the base class to return a more reasonable title.
- Overrides:
getTitle in class Tableau
- Returns:
- The string "Icon editor for name", where name is the
name of the object whose icon this is editing.