|
|||||||||||
| 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
Workspace analog of the file system filedescriptor. Resources are identified by their path they refer to which is similar to a URI, the name of a resource is the last segment of its path.
| Constructor Summary | |
Resource(IProjectItem parent,
String name,
String address)
Creates a new resource with the given project item as the parent and the specified name and address. |
|
Resource(Project parent,
String name,
String address)
Creates a new Resource with the given project as the parent and the specified name and address. |
|
| Method Summary | |
String |
getAddress()
Returns the address of this resource |
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. |
String |
getLabelText()
Returns the label to be used for this item in the UI. |
String |
getName()
Returns the name of this resource |
boolean |
hasChildren()
Checks if the item has any children. |
| 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 Resource(IProjectItem parent,
String name,
String address)
parent - project Itemname - name of the new resourceaddress - address of the new resource
public Resource(Project parent,
String name,
String address)
parent - projectname - name of the new resourceaddress - address of the new resource| Method Detail |
public boolean hasChildren()
IProjectItem
hasChildren in interface IProjectItemhasChildren in class ProjectItempublic Object[] getChildren()
IProjectItem
getChildren in interface IProjectItemgetChildren in class ProjectItempublic String getLabelText()
IProjectItem
getLabelText in interface IProjectItemgetLabelText in class ProjectItempublic org.eclipse.jface.resource.ImageDescriptor getLabelImage()
IProjectItem
getLabelImage in interface IProjectItemgetLabelImage in class ProjectItempublic String getAddress()
public String getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||