Class DefaultMissingPerspectiveFactory
java.lang.Object
bibliothek.gui.dock.common.perspective.DefaultMissingPerspectiveFactory
- All Implemented Interfaces:
MissingPerspectiveStrategy
This default implementation of a
MissingPerspectiveStrategy creates CStationPerspectives for
the CStations that are already known to the framework.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateStation(String id, Path typeId) Creates the station that representedid.
-
Constructor Details
-
DefaultMissingPerspectiveFactory
public DefaultMissingPerspectiveFactory()
-
-
Method Details
-
createStation
Description copied from interface:MissingPerspectiveStrategyCreates the station that representedid.- Specified by:
createStationin interfaceMissingPerspectiveStrategy- Parameters:
id- the identifier of the stationtypeId- the type of the station, this is the identifier that was returned byCStation.getTypeId(), can benull- Returns:
- the new perspective, can be
null
-