|
|||||||||||
| 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.scan.ScanListItem
Project item representing a list of results from a file scan.
| Constructor Summary | |
ScanListItem(Project parent,
String pattern)
Create a new scan list item belonging to the specified parent project. |
|
ScanListItem(Project parent,
String pattern,
String label)
Create a new labelled scan list item belonging to the specified parent project. |
|
| Method Summary | |
Object[] |
getChildren()
Returns the children of this item. |
String |
getLabelText()
Returns the label to be used for this item in the UI. |
protected IDoubleClickAction |
getResourceDoubleClickAction()
Get the double-click action associated with resources in this list. |
boolean |
hasChildren()
Checks if the item has any children. |
protected void |
setResourceDoubleClickAction(IDoubleClickAction dca)
Set the double-click action associated with resources in this list. |
| Methods inherited from class edu.uky.rch.ept.projectexplorer.model.ProjectItem |
getEditorId, getEditorInput, getLabelImage, getParent, getProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScanListItem(Project parent,
String pattern,
String label)
parent - the project to which this item belongs; also, the
project to be scanned.pattern - the pattern (a regular expression). Only files
(not directories) matching this pattern will be displayed.label - the label for this item.
PatternSyntaxException - if the pattern was invalid.
public ScanListItem(Project parent,
String pattern)
parent - the project to which this item belongs; also, the
project to be scanned.pattern - the pattern (a regular expression). Only files
(not directories) matching this pattern will be displayed.
PatternSyntaxException - if the pattern was invalid.| Method Detail |
public Object[] getChildren()
IProjectItem
getChildren in interface IProjectItemgetChildren in class ProjectItempublic boolean hasChildren()
IProjectItem
hasChildren in interface IProjectItemhasChildren in class ProjectItempublic String getLabelText()
IProjectItem
getLabelText in interface IProjectItemgetLabelText in class ProjectItemprotected IDoubleClickAction getResourceDoubleClickAction()
IDoubleClickAction, or null if
none are associated with this scan.protected void setResourceDoubleClickAction(IDoubleClickAction dca)
dca - an IDoubleClickAction, which will be called with a
ScanResource argument when a resource in this list is double-
clicked.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||