|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerItemBase
uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerFavGroupItem
provides the model object for the Favourites (now called 'Bookmarks')
list. Tracks the creation and removal of
Favourite items so that its list is
kept up-to-date.
| Field Summary |
| Fields inherited from class uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerItemBase |
myChildren, myView |
| Constructor Summary | |
ResourceExplorerFavGroupItem(IResourceTreeView myView,
ResourceExplorerRoot parent,
String name)
|
|
| Method Summary | |
boolean |
canModify()
return true if this item's name can be edited within
the Resource Explorer. |
Iterator |
createListIterator()
|
void |
dispose()
performs data cleanup. |
Object |
getAssociatedObject()
returns the Pliny model object associated with 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. |
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. |
IResourceExplorerItem |
makeChild(Object item)
|
void |
propertyChange(PropertyChangeEvent arg0)
|
void |
setText(String name)
changes text to be displayed as the label to the given text. |
| Methods inherited from class uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerItemBase |
getBaseObject, getChildren, getChildrenList, getMyView, getPageNumber, setBaseObject, updateMyChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceExplorerFavGroupItem(IResourceTreeView myView,
ResourceExplorerRoot parent,
String name)
| Method Detail |
public void dispose()
IResourceExplorerItem
dispose in interface IResourceExplorerItemdispose in class ResourceExplorerItemBasepublic String getText()
IResourceExplorerItem
getText in interface IResourceExplorerItemgetText in class ResourceExplorerItemBasepublic void setText(String name)
IResourceExplorerItem
setText in interface IResourceExplorerItemsetText in class ResourceExplorerItemBasepublic boolean canModify()
IResourceExplorerItemtrue if this item's name can be edited within
the Resource Explorer.
canModify in interface IResourceExplorerItemcanModify in class ResourceExplorerItemBasepublic Object getAssociatedObject()
IResourceExplorerItemnull if there is not Pliny model object.
getAssociatedObject in interface IResourceExplorerItemgetAssociatedObject in class ResourceExplorerItemBasepublic org.eclipse.swt.graphics.Image getIcon()
IResourceExplorerItem
getIcon in interface IResourceExplorerItemgetIcon in class ResourceExplorerItemBasepublic IResourceExplorerItem getParent()
IResourceExplorerItem
getParent in interface IResourceExplorerItemgetParent in class ResourceExplorerItemBasepublic boolean hasChildren()
IResourceExplorerItemtrue if this item has children items.
hasChildren in interface IResourceExplorerItemhasChildren in class ResourceExplorerItemBasepublic int getNumberChildren()
IResourceExplorerItem
getNumberChildren in interface IResourceExplorerItemgetNumberChildren in class ResourceExplorerItemBasepublic void propertyChange(PropertyChangeEvent arg0)
propertyChange in interface PropertyChangeListenerpropertyChange in class ResourceExplorerItemBasepublic Iterator createListIterator()
createListIterator in class ResourceExplorerItemBasepublic IResourceExplorerItem makeChild(Object item)
makeChild in class ResourceExplorerItemBase
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||