ilog.views.appframe.docview.project
Class IlvWorkspaceDocument
java.lang.Object
ilog.views.appframe.docview.IlvAbstractDocument
ilog.views.appframe.docview.IlvAbstractFileDocument
ilog.views.appframe.docview.project.IlvDataContainerDocument
ilog.views.appframe.docview.project.IlvProjectDocument
ilog.views.appframe.docview.project.IlvWorkspaceDocument
- All Implemented Interfaces:
- IlvDocument, IlvFileDocument, IlvStreamDocument, IlvDataContainerProvider, ActionHandler, MessageListener, IlvPropertyManager, ActionListener, EventListener
public class IlvWorkspaceDocument
- extends IlvProjectDocument
Defines data container documents that are associated with
IlvWorkspaceDataContainer instances.
Workspace documents manage a hierarchical tree of data, like references
to files, references to project files, or folders.
| Methods inherited from class ilog.views.appframe.docview.project.IlvDataContainerDocument |
areNodeDocumentsAttached, attachNodeDocuments, getDataContainer, getNodeTitle, getOpenDocument, initializeDocument, openDocument, readDataContainer, readDocument, readDocument, setDataContainer, setNodeTitle, writeDataContainer, writeDocument, writeDocument |
| Methods inherited from class ilog.views.appframe.docview.IlvAbstractDocument |
actionPerformed, addActionHandler, addEdit, addPropertyChangeListener, addView, attachDocument, canRedo, canUndo, clean, documentClosed, documentClosing, getActiveView, getApplication, getDocumentTemplate, getProperty, getTitle, getUndoManager, getView, getViewCount, getViews, isModified, isProcessingAction, notifyViews, receiveMessage, redo, registerMappings, removeActionHandler, removePropertyChangeListener, removeView, removeViews, setApplication, setModified, setProperty, setTitle, undo, updateAction, updateModificationState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.views.appframe.docview.IlvDocument |
addView, clean, documentClosed, documentClosing, getApplication, getDocumentTemplate, getTitle, getView, getViewCount, isModified, removeView, removeViews, setModified, setTitle |
| Methods inherited from interface ilog.views.appframe.docview.IlvDocument |
addView, clean, documentClosed, documentClosing, getApplication, getDocumentTemplate, getTitle, getView, getViewCount, isModified, removeView, removeViews, setModified, setTitle |
IlvWorkspaceDocument
public IlvWorkspaceDocument()
- Constructs a new
IlvWorkspaceDocument document.
createDataContainer
protected IlvDataContainer createDataContainer(Object userData)
- Factory method for creating a data container to associate with this
document.
By default, the method creates an instance of
IlvWorkspaceDataContainer. It can be overridden to create
other data container types.
- Overrides:
createDataContainer in class IlvProjectDocument
- Parameters:
userData - The user data parameter of the IlvDataContainerDocument.initializeDocument(java.lang.Object)
method or null.
- Returns:
- The newly created
IlvWorkspaceDataContainer instance.
initializeDataContainer
protected void initializeDataContainer(IlvDataContainer dataContainer,
Object userData)
- Initializes the specified
dataContainer.
This method is called when the document is initializing from the
initializeDocument method and after the method
createDataContainer(java.lang.Object) has been called. By default, it creates
a project node that corresponds to this project document. The title of the
node is linked to the title of this document. When the title of the document
changes, the title of the node has its title updated accordingly.
- Overrides:
initializeDataContainer in class IlvProjectDocument
- Parameters:
dataContainer - The data container to initialize.userData - The user data parameter of the IlvDataContainerDocument.initializeDocument(java.lang.Object)
method or null.- See Also:
IlvDataContainerDocument.endInitializeDataContainer(ilog.views.appframe.docview.project.IlvDataContainer)
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.