bibliothek.gui.dock.common.perspective
Class DefaultMissingPerspectiveFactory

java.lang.Object
  extended by bibliothek.gui.dock.common.perspective.DefaultMissingPerspectiveFactory
All Implemented Interfaces:
MissingPerspectiveStrategy

public class DefaultMissingPerspectiveFactory
extends java.lang.Object
implements MissingPerspectiveStrategy

This default implementation of a MissingPerspectiveStrategy creates CStationPerspectives for the CStations that are already known to the framework.

Author:
Benjamin Sigg

Constructor Summary
DefaultMissingPerspectiveFactory()
           
 
Method Summary
 CStationPerspective createRoot(java.lang.String id, Path typeId)
          Creates the root station that represented id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMissingPerspectiveFactory

public DefaultMissingPerspectiveFactory()
Method Detail

createRoot

public CStationPerspective createRoot(java.lang.String id,
                                      Path typeId)
Description copied from interface: MissingPerspectiveStrategy
Creates the root station that represented id.

Specified by:
createRoot in interface MissingPerspectiveStrategy
Parameters:
id - the root
typeId - the type of the station, this is the identifier that was returned by CStation.getTypeId(), can be null
Returns:
the new perspective, can be null