bibliothek.gui.dock.common
Class CExternalizeArea

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.AbstractCStation<ScreenDockStation>
      extended by bibliothek.gui.dock.common.CExternalizeArea
All Implemented Interfaces:
CStation<ScreenDockStation>

public class CExternalizeArea
extends AbstractCStation<ScreenDockStation>

This CStation handles those CDockables whose mode is ExtendedMode.EXTERNALIZED.

Author:
Benjamin Sigg

Field Summary
static Path TYPE_ID
          The result of getTypeId()
 
Constructor Summary
CExternalizeArea(CControl control, java.lang.String id)
          Creates a new area.
 
Method Summary
 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.
 
Methods inherited from class bibliothek.gui.dock.common.intern.AbstractCStation
asDockable, getControl, getStation, getStationLocation, getUniqueId, init, isWorkingArea, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ID

public static final Path TYPE_ID
The result of getTypeId()

Constructor Detail

CExternalizeArea

public CExternalizeArea(CControl control,
                        java.lang.String id)
Creates a new area.

Parameters:
control - the owner of this area
id - the unique identifier of this area
Method Detail

install

protected void install(CControlAccess access)
Description copied from class: AbstractCStation
Called when this station is added to a CControl.

Specified by:
install in class AbstractCStation<ScreenDockStation>
Parameters:
access - access to the internals of the new owner

uninstall

protected void uninstall(CControlAccess access)
Description copied from class: AbstractCStation
Called when this station is removed from a CControl.

Specified by:
uninstall in class AbstractCStation<ScreenDockStation>
Parameters:
access - access to the internals of the old owner

createPerspective

public CStationPerspective createPerspective()
Description copied from interface: CStation
Returns a new 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.

Returns:
the new, empty perspective
See Also:
CStation.getTypeId()

getTypeId

public Path getTypeId()
Description copied from interface: CStation
Gets a unique path denoting the type of this station. This path will be given to MissingPerspectiveStrategy.createRoot(String, Path) when loading a layout as a CPerspective.

Returns:
the type of this station. Paths starting with "dock." are reserved for the framework. A value of null will just be ignored.