|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Tree data source editor interface Provides methods to request a tree data
source to update its back-end. This class is a companion to
IlTreeDataSource. The execution of all the methods
prefixed with ds may be asynchronous and, therefore, may not
be immediately reflected in the local model. Each method has a version that
takes an AsyncInvocationListener. Use this to track the
progress of the asynchronous method call.
IlTreeDataSource| Method Summary | |
abstract java.lang.Object |
dsAddItem(java.lang.Object parent,
java.util.Map properties)
Creates a new item in the tree. |
abstract void |
dsMoveItem(java.lang.Object item,
java.lang.Object newParent)
Moves an existing item to a new position in the tree. |
abstract void |
dsRemoveItem(java.lang.Object item)
Removes an item from the tree. |
abstract void |
dsUpdateItem(java.lang.Object item,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a tree item. |
abstract boolean |
isItemEditable(java.lang.Object obj)
Checks whether the item is editable or not. |
| Methods inherited from interface ilog.ds.IlDataSourceEditor |
dsEndBatch, dsStartBatch, dsUpdateProperty, getDSBatchLevel, isEditable |
| Method Detail |
public boolean isItemEditable(java.lang.Object obj)
obj - The item to test.false if the item is not editable.
public java.lang.Object dsAddItem(java.lang.Object parent,
java.util.Map properties)
parent - item The owner of the new item. Cannot be null.properties - The properties of the node to createnull if the item takes a long
time to be created.public void dsRemoveItem(java.lang.Object item)
item - The item to be removed
public void dsMoveItem(java.lang.Object item,
java.lang.Object newParent)
item - The item to movenewParent - The new parent item. Cannot be null.
public void dsUpdateItem(java.lang.Object item,
java.lang.String propertyName,
java.lang.Object propertyValue)
item - The item to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||