|
|||||||||||
| 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
Abstract base implementation for a project item.
This class should be subclassed by clients wishing to define new project items.
| Constructor Summary | |
ProjectItem(IProjectItem parent)
Creates a new Project Item with the given project item as the parent. |
|
ProjectItem(Project parent)
Creates a new Project Item with the given Project as the parent. |
|
| Method Summary | |
Object[] |
getChildren()
Returns the children of this item. |
String |
getEditorId()
Returns the ID of the editor to launch if this item is editable, null otherwise. |
org.eclipse.ui.IEditorInput |
getEditorInput()
Returns the EditorInput object for this item, if supported; null otherwise. |
org.eclipse.jface.resource.ImageDescriptor |
getLabelImage()
Returns an ImageDescriptor specifying the icon to be used for this item in the UI. |
abstract String |
getLabelText()
Returns the label to be used for this item in the UI. |
Object |
getParent()
Returns the parent of this item. |
Project |
getProject()
Returns the project to which this item belongs. |
boolean |
hasChildren()
Checks if the item has any children. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProjectItem(IProjectItem parent)
parent - parent project itempublic ProjectItem(Project parent)
parent - parent project| Method Detail |
public abstract String getLabelText()
IProjectItem
getLabelText in interface IProjectItempublic org.eclipse.jface.resource.ImageDescriptor getLabelImage()
IProjectItem
getLabelImage in interface IProjectItempublic Object getParent()
IProjectItem
getParent in interface IProjectItempublic boolean hasChildren()
IProjectItem
hasChildren in interface IProjectItempublic Object[] getChildren()
IProjectItem
getChildren in interface IProjectItempublic Project getProject()
IProjectItem
getProject in interface IProjectItempublic String getEditorId()
IProjectItem
getEditorId in interface IProjectItempublic org.eclipse.ui.IEditorInput getEditorInput()
IProjectItem
getEditorInput in interface IProjectItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||