public class CGridPerspective.CommonSplitDockPerspective extends SplitDockPerspective implements CommonDockStationPerspective
CGridPerspective
as intern representation.SplitDockPerspective.Entry, SplitDockPerspective.EntryListener, SplitDockPerspective.Leaf, SplitDockPerspective.Node, SplitDockPerspective.Root
Constructor and Description |
---|
CommonSplitDockPerspective() |
Modifier and Type | Method and Description |
---|---|
protected PerspectiveDockable |
combine(PerspectiveDockable[] dockables,
PerspectiveDockable selection)
Combines several
dockables to one dockable. |
java.lang.String |
getConverterID()
Gets the unique identifier of the
DockFactory that is actually used to layout this perspective. |
PerspectiveDockable |
getDockable(int index)
Gets the index'th child of this station.
|
int |
getDockableCount()
Gets the number of children this station has.
|
CElementPerspective |
getElement()
Gets the element that is represented by this
PerspectiveElement . |
java.lang.String |
getFactoryID()
Gets the identifier of the
DockFactory that will be able to
understand the layout information this element generates. |
Path |
getPlaceholder()
Gets the placeholder which is associated with this
Dockable . |
SplitDockPerspective.Root |
getRoot()
Gets the root of the tree that is the layout of this station.
|
void |
read(PerspectiveSplitDockTree tree,
PerspectiveDockable fullscreen)
Reads the contents of
tree and replaces any content of this perspective |
addListener, addPlaceholder, asDockable, asStation, fireAdded, fireRemoved, getDockablePathProperty, getDockableProperty, getFullscreen, getLeaf, getParent, getPlaceholders, hasFullscreenAction, listeners, remove, removeListener, replace, setFullscreen, setHasFullscreenAction, setParent, setPlaceholders
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asDockable, asStation
public CElementPerspective getElement()
CommonElementPerspective
PerspectiveElement
.getElement
in interface CommonElementPerspective
null
public java.lang.String getFactoryID()
PerspectiveElement
DockFactory
that will be able to
understand the layout information this element generates.getFactoryID
in interface CommonDockStationPerspective
getFactoryID
in interface PerspectiveElement
getFactoryID
in class SplitDockPerspective
public java.lang.String getConverterID()
CommonDockStationPerspective
DockFactory
that is actually used to layout this perspective.getConverterID
in interface CommonDockStationPerspective
CommonDockStation.getConverterID()
public void read(PerspectiveSplitDockTree tree, PerspectiveDockable fullscreen)
SplitDockPerspective
tree
and replaces any content of this perspectiveread
in class SplitDockPerspective
tree
- the tree that represents this perspectivefullscreen
- the one child that is currently in fullscreen-mode, can be null
protected PerspectiveDockable combine(PerspectiveDockable[] dockables, PerspectiveDockable selection)
SplitDockPerspective
dockables
to one dockable.combine
in class SplitDockPerspective
dockables
- the element to combineselection
- the selected element, can be null
public Path getPlaceholder()
PerspectiveDockable
Dockable
.getPlaceholder
in interface PerspectiveDockable
getPlaceholder
in class SplitDockPerspective
null
public SplitDockPerspective.Root getRoot()
SplitDockPerspective
getRoot
in class SplitDockPerspective
null
public int getDockableCount()
PerspectiveStation
getDockableCount
in interface PerspectiveStation
getDockableCount
in class SplitDockPerspective
public PerspectiveDockable getDockable(int index)
PerspectiveStation
getDockable
in interface PerspectiveStation
getDockable
in class SplitDockPerspective
index
- the index of a childnull