|
|||||||||||
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.ResourceExplorerInitialLetterItem
represents the Resource Explorer's 2nd level (initial letter of name) level item in its data model. This is a "list" item, and it tracks its ResourceNameManager to watch to see when changes in the count associated with an initial letter, or when an initial letter needs to be created or deleted.
Field Summary |
Fields inherited from class uk.ac.kcl.cch.jb.pliny.views.utils.ResourceExplorerItemBase |
myChildren, myView |
Constructor Summary | |
ResourceExplorerInitialLetterItem(IResourceTreeView myView,
ResourceExplorerObjectTypeItem parent,
ResourceNameInitialLetter ilItem)
|
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. |
String |
getInitialLetter()
|
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. |
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, hasChildren, setBaseObject, updateMyChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceExplorerInitialLetterItem(IResourceTreeView myView, ResourceExplorerObjectTypeItem parent, ResourceNameInitialLetter ilItem)
Method Detail |
public void dispose()
IResourceExplorerItem
dispose
in interface IResourceExplorerItem
dispose
in class ResourceExplorerItemBase
public String getText()
IResourceExplorerItem
getText
in interface IResourceExplorerItem
getText
in class ResourceExplorerItemBase
public void setText(String name)
IResourceExplorerItem
setText
in interface IResourceExplorerItem
setText
in class ResourceExplorerItemBase
public String getInitialLetter()
public boolean canModify()
IResourceExplorerItem
true
if this item's name can be edited within
the Resource Explorer.
canModify
in interface IResourceExplorerItem
canModify
in class ResourceExplorerItemBase
public Object getAssociatedObject()
IResourceExplorerItem
null
if there is not Pliny model object.
getAssociatedObject
in interface IResourceExplorerItem
getAssociatedObject
in class ResourceExplorerItemBase
public org.eclipse.swt.graphics.Image getIcon()
IResourceExplorerItem
getIcon
in interface IResourceExplorerItem
getIcon
in class ResourceExplorerItemBase
public IResourceExplorerItem getParent()
IResourceExplorerItem
getParent
in interface IResourceExplorerItem
getParent
in class ResourceExplorerItemBase
public int getNumberChildren()
IResourceExplorerItem
getNumberChildren
in interface IResourceExplorerItem
getNumberChildren
in class ResourceExplorerItemBase
public Iterator createListIterator()
createListIterator
in class ResourceExplorerItemBase
public IResourceExplorerItem makeChild(Object item)
makeChild
in class ResourceExplorerItemBase
public void propertyChange(PropertyChangeEvent arg0)
propertyChange
in interface PropertyChangeListener
propertyChange
in class ResourceExplorerItemBase
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |