bibliothek.gui.dock.common.perspective
Interface MissingPerspectiveStrategy

All Known Implementing Classes:
DefaultMissingPerspectiveFactory

public interface MissingPerspectiveStrategy

This strategy is used by a CControl or a CControlPerspective to create CStationPerspectives for root-stations that are not (yet) registered at the CControl.

Author:
Benjamin Sigg

Method Summary
 CStationPerspective createRoot(String id, Path typeId)
          Creates the root station that represented id.
 

Method Detail

createRoot

CStationPerspective createRoot(String id,
                               Path typeId)
Creates the root station that represented id.

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