ilog.views.appframe.docview.project
Class IlvWorkspaceDataContainer

java.lang.Object
  extended by ilog.views.appframe.docview.project.IlvDefaultDataContainer
      extended by ilog.views.appframe.docview.project.IlvProjectDataContainer
          extended by ilog.views.appframe.docview.project.IlvWorkspaceDataContainer
All Implemented Interfaces:
IlvDataContainer

public class IlvWorkspaceDataContainer
extends IlvProjectDataContainer

Defines a data container that manages file references, folders, and project references.


Nested Class Summary
 
Nested classes/interfaces inherited from class ilog.views.appframe.docview.project.IlvDefaultDataContainer
IlvDefaultDataContainer.AbstractNode, IlvDefaultDataContainer.Node
 
Field Summary
static String WORKSPACE_FILE_CATEGORY
          Constant for the category of workspace file reference nodes.
 
Fields inherited from class ilog.views.appframe.docview.project.IlvProjectDataContainer
FILE_CATEGORY, FOLDER_CATEGORY, PROJECT_FILE_CATEGORY
 
Fields inherited from interface ilog.views.appframe.docview.project.IlvDataContainer
NODE_TITLE_PROPERTY
 
Constructor Summary
IlvWorkspaceDataContainer()
          Constructs an empty IlvWorkspaceDataContainer.
 
Method Summary
 Object addFileProjectReference(Object parent, String filename, int index)
          Adds a file project reference node for the specified filename.
 
Methods inherited from class ilog.views.appframe.docview.project.IlvProjectDataContainer
canRemove, getApplication, getFileReference, getFileReferenceURL, getFolderName, insertFileReference, insertFileReference, insertFolder, isFileReference, setApplication
 
Methods inherited from class ilog.views.appframe.docview.project.IlvDefaultDataContainer
acceptChild, addDataContainerListener, fireNodeAdditionEvent, fireNodeRemovalEvent, firePropertyChangeEvent, getCategory, getChildAt, getChildCount, getIndexOfChild, getNodeProperty, getParent, getTitle, insertNode, removeDataContainerListener, removeNode, setNodeProperty, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORKSPACE_FILE_CATEGORY

public static String WORKSPACE_FILE_CATEGORY
Constant for the category of workspace file reference nodes.

Constructor Detail

IlvWorkspaceDataContainer

public IlvWorkspaceDataContainer()
Constructs an empty IlvWorkspaceDataContainer.

Method Detail

addFileProjectReference

public Object addFileProjectReference(Object parent,
                                      String filename,
                                      int index)
Adds a file project reference node for the specified filename.

Parameters:
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.
Returns:
The newly created file reference node.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.