edu.uky.rch.ept.projectexplorer.scan
Class ScanResource
java.lang.Object
edu.uky.rch.ept.projectexplorer.model.ProjectItem
edu.uky.rch.ept.projectexplorer.model.Resource
edu.uky.rch.ept.projectexplorer.scan.ScanResource
- All Implemented Interfaces:
- IProjectItem
- public final class ScanResource
- extends Resource
Project item representing a resource displayed as part of a scan.
The primary differences between this class and
Resource are that the
item's label contains the project-relative path to the resource; and
that the parent is required to be a ScanListItem.
- Author:
- neil
|
Constructor Summary |
ScanResource(ScanListItem parent,
String address)
Create a new scan resource belonging to a given scan, pointing
to the resource with the specified data layer address. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScanResource
public ScanResource(ScanListItem parent,
String address)
- Create a new scan resource belonging to a given scan, pointing
to the resource with the specified data layer address.
- Parameters:
parent - the parent of this item in the project explorer hierarchy.
Usually a ScanListItem.address - the (absolute) data-layer address of the resource.- See Also:
Resource.Resource(IProjectItem, String, String)
getScanList
public ScanListItem getScanList()
- Return the ScanListItem to which this resource belongs.
- Returns:
- the parent of this ScanResource, as a ScanListItem.