public class IlvWorkspaceDataContainer extends IlvProjectDataContainer
IlvDefaultDataContainer.AbstractNode, IlvDefaultDataContainer.Node
Modifier and Type | Field and Description |
---|---|
static String |
WORKSPACE_FILE_CATEGORY
Constant for the category of workspace file reference nodes.
|
FILE_CATEGORY, FOLDER_CATEGORY, PROJECT_FILE_CATEGORY
NODE_TITLE_PROPERTY
Constructor and Description |
---|
IlvWorkspaceDataContainer()
Constructs an empty
IlvWorkspaceDataContainer . |
Modifier and Type | Method and Description |
---|---|
Object |
addFileProjectReference(Object parent,
String filename,
int index)
Adds a file project reference node for the specified
filename . |
canRemove, getApplication, getFileReference, getFileReferenceURL, getFolderName, insertFileReference, insertFileReference, insertFolder, isFileReference, setApplication
acceptChild, addDataContainerListener, fireNodeAdditionEvent, fireNodeRemovalEvent, firePropertyChangeEvent, getCategory, getChildAt, getChildCount, getIndexOfChild, getNodeProperty, getParent, getTitle, insertNode, removeDataContainerListener, removeNode, setNodeProperty, setTitle
public static String WORKSPACE_FILE_CATEGORY
public IlvWorkspaceDataContainer()
IlvWorkspaceDataContainer
.public Object addFileProjectReference(Object parent, String filename, int index)
filename
.parent
- The parent node of the newly created project reference.filename
- The filename of the project to create a reference node from.index
- The insertion index of the newly created file reference node
in the child array of the parent
node. If equal to
-1
, the file node will be added at the end of the child array of the
parent
node.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.