|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
items that participate as model items in the Resource Explorer's tree display should implement this interface.
Method Summary | |
boolean |
canModify()
return true if this item's name can be edited within
the Resource Explorer. |
void |
dispose()
performs data cleanup. |
Object |
getAssociatedObject()
returns the Pliny model object associated with this item. |
List |
getChildren()
returns a list of IResourceExplorerItem items that are children of this item. |
org.eclipse.swt.graphics.Image |
getIcon()
returns the Image to be used as the Icon displayed beside the item in the Resource Explorer tree. |
int |
getNumberChildren()
returns number of children owned by this item. |
int |
getPageNumber()
return the page number data associated with the Pliny model object associated wtih this item. |
IResourceExplorerItem |
getParent()
returns the parent item of this item in the Resource Explorer display tree. |
String |
getText()
returns text to be used as the textual label for the tree item display. |
boolean |
hasChildren()
returns true if this item has children items. |
void |
setText(String name)
changes text to be displayed as the label to the given text. |
Method Detail |
public String getText()
public void setText(String name)
name
- text to be used as the name of this item.public boolean canModify()
true
if this item's name can be edited within
the Resource Explorer.
true
if editable.public Object getAssociatedObject()
null
if there is not Pliny model object.
public int getPageNumber()
public void dispose()
public org.eclipse.swt.graphics.Image getIcon()
public IResourceExplorerItem getParent()
public boolean hasChildren()
true
if this item has children items.
public int getNumberChildren()
public List getChildren()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |