|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uky.rch.ept.projectexplorer.model.ProjectItem
edu.uky.rch.ept.projectexplorer.model.Resource
edu.uky.rch.ept.projectexplorer.model.Collection
This class represents a collection. A collection can contain a list of subcollections and resources thus allowing a hierarchical structure similar to most file systems.
| Constructor Summary | |
Collection(IProjectItem parent,
String name,
String address)
Creates a new collection under the given parent with the specified name and address |
|
Collection(Project parent,
String name,
String address)
Creates a new collection under the given project with the specified name and address |
|
| Method Summary | |
Object[] |
getChildren()
Returns the children of this item. |
org.eclipse.jface.resource.ImageDescriptor |
getLabelImage()
Returns an ImageDescriptor specifying the icon to be used for this item in the UI. |
boolean |
hasChildren()
Checks if the item has any children. |
| Methods inherited from class edu.uky.rch.ept.projectexplorer.model.Resource |
getAddress, getLabelText, getName |
| Methods inherited from class edu.uky.rch.ept.projectexplorer.model.ProjectItem |
getEditorId, getEditorInput, getParent, getProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Collection(IProjectItem parent,
String name,
String address)
parent - the parent of the new collectionname - name of the new collectionaddress - address of the new collection
public Collection(Project parent,
String name,
String address)
parent - the project under which to create the new collectionname - name of the new collectionaddress - address of the new collection| Method Detail |
public org.eclipse.jface.resource.ImageDescriptor getLabelImage()
IProjectItem
getLabelImage in interface IProjectItemgetLabelImage in class Resourcepublic boolean hasChildren()
IProjectItem
hasChildren in interface IProjectItemhasChildren in class Resourcepublic Object[] getChildren()
IProjectItem
getChildren in interface IProjectItemgetChildren in class Resource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||