public abstract class AbstractCDockablePerspective extends Object implements CDockablePerspective
CDockablePerspective
providing some general methods.Constructor and Description |
---|
AbstractCDockablePerspective() |
Modifier and Type | Method and Description |
---|---|
LocationHistory |
getLocationHistory()
Gets information about the locations this dockable had in the past.
|
CStationPerspective |
getParent()
Gets the next parent of this perspective that represents a
CStation . |
CStationPerspective |
getWorkingArea()
Gets the working-area of this element
|
void |
remove()
Removes this dockable from its parent (if there is a parent).
|
void |
setWorkingArea(CStationPerspective workingArea)
Sets the working-area of this element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asDockable, asStation, intern
public CStationPerspective getParent()
CDockablePerspective
CStation
. This method
may jump over some parents to get to the next station.getParent
in interface CDockablePerspective
null
public void setWorkingArea(CStationPerspective workingArea)
CDockablePerspective
setWorkingArea
in interface CDockablePerspective
workingArea
- the working-area, can be null
public CStationPerspective getWorkingArea()
CDockablePerspective
getWorkingArea
in interface CDockablePerspective
null
CDockablePerspective.setWorkingArea(CStationPerspective)
public LocationHistory getLocationHistory()
CDockablePerspective
getLocationHistory
in interface CDockablePerspective
null
public void remove()
CPerspective.storeLocation(CDockablePerspective)
which will
allow the dockable to store its last location, leave a placeholder, and make the
perspective remember that there is an invisible dockable.