public class CExternalizeArea extends AbstractCStation<CScreenDockStation>
Modifier and Type | Field and Description |
---|---|
static Path |
TYPE_ID
The result of
getTypeId() |
Constructor and Description |
---|
CExternalizeArea(CControl control,
String id)
Creates a new area.
|
Modifier and Type | Method and Description |
---|---|
CStationPerspective |
createPerspective()
Returns a new
CStationPerspective that represents this station. |
Path |
getTypeId()
Gets a unique path denoting the type of this station.
|
protected void |
install(CControlAccess access)
Called when this station is added to a
CControl . |
protected void |
uninstall(CControlAccess access)
Called when this station is removed from a
CControl . |
asDockable, getControl, getDropLocation, getStation, getStationLocation, getUniqueId, init, isWorkingArea, setControlAccess
public static final Path TYPE_ID
getTypeId()
protected void install(CControlAccess access)
AbstractCStation
CControl
.install
in class AbstractCStation<CScreenDockStation>
access
- access to the internals of the new ownerprotected void uninstall(CControlAccess access)
AbstractCStation
CControl
.uninstall
in class AbstractCStation<CScreenDockStation>
access
- access to the internals of the old ownerpublic CStationPerspective createPerspective()
CStation
CStationPerspective
that represents this
station. This method
does not need to set any content of the new perspective. Basically this method just needs to tell
the framework what type of CStationPerspective
is needed, not what its content is.CStation.getTypeId()
public Path getTypeId()
CStation
MissingPerspectiveStrategy.createStation(String, Path)
when loading a layout
as a CPerspective
.null
will just be ignored.