bibliothek.gui.dock.common.perspective
Class DefaultMissingPerspectiveFactory
java.lang.Object
bibliothek.gui.dock.common.perspective.DefaultMissingPerspectiveFactory
- All Implemented Interfaces:
- MissingPerspectiveStrategy
public class DefaultMissingPerspectiveFactory
- extends Object
- implements MissingPerspectiveStrategy
This default implementation of a MissingPerspectiveStrategy
creates CStationPerspective
s for
the CStation
s that are already known to the framework.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMissingPerspectiveFactory
public DefaultMissingPerspectiveFactory()
createStation
public CStationPerspective createStation(String id,
Path typeId)
- Description copied from interface:
MissingPerspectiveStrategy
- Creates the station that represented
id
.
- Specified by:
createStation
in interface MissingPerspectiveStrategy
- Parameters:
id
- the identifier of the stationtypeId
- 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