public class IlvWorkspaceDocument extends IlvProjectDocument
IlvWorkspaceDataContainer
instances.
Workspace documents manage a hierarchical tree of data, like references
to files, references to project files, or folders.DATA_CONTAINER_PROPERTY, NODE_DOCUMENTS_ATTACHED_PROPERTY
PATHNAME_PROPERTY
REDO_CMD, UNDO_CMD
FILE_FILTER_PROPERTY, MRU_PROPERTY
APPLICATION_PROPERTY, ATTACHED_DOCUMENTS_PROPERTY, DOCUMENT_OWNER_PROPERTY, DOCUMENT_TEMPLATE_PROPERTY, EDITABLE_PROPERTY, MODIFIED_PROPERTY, SAVEABLE_PROPERTY, TITLE_PROPERTY
Constructor and Description |
---|
IlvWorkspaceDocument()
Constructs a new
IlvWorkspaceDocument document. |
Modifier and Type | Method and Description |
---|---|
protected IlvDataContainer |
createDataContainer(Object userData)
Factory method for creating a data container to associate with this
document.
|
protected void |
initializeDataContainer(IlvDataContainer dataContainer,
Object userData)
Initializes the specified
dataContainer . |
canOpenDocument, createDocument, endInitializeDataContainer, insertProjectReference
areNodeDocumentsAttached, attachNodeDocuments, getDataContainer, getNodeTitle, getOpenDocument, initializeDocument, openDocument, readDataContainer, readDocument, readDocument, setDataContainer, setNodeTitle, writeDataContainer, writeDocument, writeDocument
activated, getFileDocumentTemplate, getPathName, readStreamDocument, setPathName, writeStreamDocument
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addView, clean, documentClosed, documentClosing, getApplication, getDocumentTemplate, getTitle, getView, getViewCount, isModified, removeView, removeViews, setModified, setTitle
isProcessingAction, updateAction
actionPerformed
receiveMessage
addPropertyChangeListener, getProperty, removePropertyChangeListener, setProperty
public IlvWorkspaceDocument()
IlvWorkspaceDocument
document.protected IlvDataContainer createDataContainer(Object userData)
IlvWorkspaceDataContainer
. It can be overridden to create
other data container types.createDataContainer
in class IlvProjectDocument
userData
- The user data parameter of the IlvDataContainerDocument.initializeDocument(java.lang.Object)
method or null
.IlvWorkspaceDataContainer
instance.protected void initializeDataContainer(IlvDataContainer dataContainer, Object userData)
dataContainer
.
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.initializeDataContainer
in class IlvProjectDocument
dataContainer
- The data container to initialize.userData
- The user data parameter of the IlvDataContainerDocument.initializeDocument(java.lang.Object)
method or null
.IlvDataContainerDocument.endInitializeDataContainer(ilog.views.appframe.docview.project.IlvDataContainer)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.