public class RootStationAdjacentFactory extends Object implements AdjacentDockFactory<Path>
CStation.getTypeId() for any
CStation that is found.| Modifier and Type | Field and Description |
|---|---|
static String |
FACTORY_ID
The unique identifier of this factory
|
| Constructor and Description |
|---|
RootStationAdjacentFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getID() |
Path |
getLayout(DockElement element,
Map<Dockable,Integer> children) |
Path |
getPerspectiveLayout(PerspectiveElement element,
Map<PerspectiveDockable,Integer> children) |
boolean |
interested(DockElement element) |
boolean |
interested(PerspectiveElement element) |
Path |
read(DataInputStream in,
PlaceholderStrategy placeholders) |
Path |
read(XElement element,
PlaceholderStrategy placeholders) |
void |
setLayout(DockElement element,
Path layout,
Map<Integer,Dockable> children,
PlaceholderStrategy placeholders) |
void |
setLayout(DockElement element,
Path layout,
PlaceholderStrategy placeholders) |
void |
write(Path layout,
DataOutputStream out) |
void |
write(Path layout,
XElement element) |
public static final String FACTORY_ID
public boolean interested(DockElement element)
interested in interface AdjacentDockFactory<Path>public boolean interested(PerspectiveElement element)
interested in interface AdjacentDockFactory<Path>public String getID()
getID in interface DockConverter<DockElement,PerspectiveElement,Path>public Path getLayout(DockElement element, Map<Dockable,Integer> children)
getLayout in interface DockConverter<DockElement,PerspectiveElement,Path>public Path getPerspectiveLayout(PerspectiveElement element, Map<PerspectiveDockable,Integer> children)
getPerspectiveLayout in interface DockConverter<DockElement,PerspectiveElement,Path>public Path read(DataInputStream in, PlaceholderStrategy placeholders) throws IOException
read in interface DockConverter<DockElement,PerspectiveElement,Path>IOExceptionpublic Path read(XElement element, PlaceholderStrategy placeholders)
read in interface DockConverter<DockElement,PerspectiveElement,Path>public void setLayout(DockElement element, Path layout, Map<Integer,Dockable> children, PlaceholderStrategy placeholders)
setLayout in interface DockConverter<DockElement,PerspectiveElement,Path>public void setLayout(DockElement element, Path layout, PlaceholderStrategy placeholders)
setLayout in interface DockConverter<DockElement,PerspectiveElement,Path>public void write(Path layout, DataOutputStream out) throws IOException
write in interface DockConverter<DockElement,PerspectiveElement,Path>IOExceptionpublic void write(Path layout, XElement element)
write in interface DockConverter<DockElement,PerspectiveElement,Path>Copyright © 2018. All rights reserved.