|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.actor.gui.EditorFactory
ptolemy.vergil.basic.DocViewerFactory
public class DocViewerFactory
An attribute that creates an editor to open a doc viewer for its container's container. The usage for this is to put it in a visible attribute. When the user double clicks on the visible attribute or selects Configure from the context menu, this class will open documentation for the container's container. If the container's container doesn't have any documentation, then the user sees a dialog with instructions on how to create the documentation.
Red (johnr) |
Red (eal) |
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 | |
---|---|
DocViewerFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name. |
Method Summary | |
---|---|
void |
createEditor(NamedObj object,
java.awt.Frame parent)
Create a doc viewer for 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 java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DocViewerFactory(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name of the factory.
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 |
---|
public void createEditor(NamedObj object, java.awt.Frame parent)
createEditor
in class EditorFactory
object
- The object to configure, which is required to
an instance of DocAttribute.parent
- The parent window, which is required to be an
instance of TableauFrame.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |