public class CommonMultipleDockableFactory extends Object implements DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>
CommonDockables. This factory is only
used to create MultipleCDockables because SingleCDockables
are stored by the client.| Constructor and Description |
|---|
CommonMultipleDockableFactory(String id,
MultipleCDockableFactory<?,?> delegate,
CControlAccess access)
Creates a new factory.
|
CommonMultipleDockableFactory(String id,
MultipleCDockableFactory<?,?> delegate,
CControlAccess access,
CPerspective perspective)
Creates a new factory.
|
public CommonMultipleDockableFactory(String id, MultipleCDockableFactory<?,?> delegate, CControlAccess access)
id - the identifier of this factorydelegate - the factory that should be used to load the contents of the
new CommonDockableaccess - access to the internal affairs of a CControlpublic CommonMultipleDockableFactory(String id, MultipleCDockableFactory<?,?> delegate, CControlAccess access, CPerspective perspective)
id - the identifier of this factorydelegate - the factory that should be used to load the contents of the
new CommonDockableaccess - access to the internal affairs of a CControlperspective - the CPerspective for which this factory is going to read and write elementspublic String getID()
getID in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public MultipleCDockableFactory<?,?> getFactory()
nullpublic void estimateLocations(CommonMultipleDockableLayout layout, LocationEstimationMap children)
estimateLocations in interface DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonMultipleDockableLayout getLayout(CommonDockable element, Map<Dockable,Integer> children)
getLayout in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonMultipleDockableLayout getPerspectiveLayout(CommonElementPerspective element, Map<PerspectiveDockable,Integer> children)
getPerspectiveLayout in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public void layoutPerspective(CommonElementPerspective perspective, CommonMultipleDockableLayout layout, Map<Integer,PerspectiveDockable> children)
layoutPerspective in interface DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonElementPerspective layoutPerspective(CommonMultipleDockableLayout layout, Map<Integer,PerspectiveDockable> children)
layoutPerspective in interface DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonDockable layout(CommonMultipleDockableLayout layout, Map<Integer,Dockable> children, PlaceholderStrategy placeholders)
layout in interface DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonDockable layout(CommonMultipleDockableLayout layout, PlaceholderStrategy placeholders)
layout in interface DockFactory<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public void setLayout(CommonDockable element, CommonMultipleDockableLayout layout, Map<Integer,Dockable> children, PlaceholderStrategy placeholders)
setLayout in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public void setLayout(CommonDockable element, CommonMultipleDockableLayout layout, PlaceholderStrategy placeholders)
setLayout in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public CommonMultipleDockableLayout read(DataInputStream in, PlaceholderStrategy placeholders) throws IOException
read in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>IOExceptionpublic CommonMultipleDockableLayout read(XElement element, PlaceholderStrategy placeholders)
read in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>public void write(CommonMultipleDockableLayout layout, DataOutputStream out) throws IOException
write in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>IOExceptionpublic void write(CommonMultipleDockableLayout layout, XElement element)
write in interface DockConverter<CommonDockable,CommonElementPerspective,CommonMultipleDockableLayout>Copyright © 2018. All rights reserved.