public class SingleCDockablePerspective extends AbstractCDockablePerspective
SingleCDockable.| Modifier and Type | Class and Description |
|---|---|
protected class |
SingleCDockablePerspective.Intern
The type of object that is created by the default implementation of
create() |
| Constructor and Description |
|---|
SingleCDockablePerspective(String uniqueId)
Creates a new representation of a
SingleCDockable. |
| Modifier and Type | Method and Description |
|---|---|
CDockablePerspective |
asDockable()
Gets
this as dockable, if this is a dockable. |
CStationPerspective |
asStation()
Gets
this as station, if this is a station. |
protected CommonElementPerspective |
create()
Called the first time
intern() is called, this method creates
the intern representation of this SingleCDockablePerspective. |
String |
getUniqueId()
Gets the unique identifier that is associated with this element.
|
CommonElementPerspective |
intern()
Gets the internal representation for this element.
|
getLocationHistory, getParent, getWorkingArea, remove, setWorkingAreapublic SingleCDockablePerspective(String uniqueId)
SingleCDockable.uniqueId - the unique identifier of this dockable, not nullprotected CommonElementPerspective create()
intern() is called, this method creates
the intern representation of this SingleCDockablePerspective.thispublic CommonElementPerspective intern()
CElementPerspectiveCElementPerspective.asDockable() returns a non-null value, then intern().asDockable() must not
return null either.CElementPerspective.asStation() returns a non-null value, then intern().asStation() must not
return null either.public String getUniqueId()
public CDockablePerspective asDockable()
CElementPerspectivethis as dockable, if this is a dockable.this or nullpublic CStationPerspective asStation()
CElementPerspectivethis as station, if this is a station.this or nullCopyright © 2018. All rights reserved.