Class WorkbenchContext
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.WorkbenchContext
-
- All Implemented Interfaces:
LayerManagerProxy
,LayerNamePanelProxy
,LayerViewPanelProxy
- Direct Known Subclasses:
JUMPWorkbenchContext
public abstract class WorkbenchContext extends Object implements LayerViewPanelProxy, LayerNamePanelProxy, LayerManagerProxy
Convenience methods for accessing the various elements in the Workbench structure. Some getters return null -- subclasses may choose to override them or leave them unimplemented, depending on their needs.
-
-
Constructor Summary
Constructors Constructor Description WorkbenchContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlugInContext
createPlugInContext()
Creates a snapshot of the system for use by plug-ins.Blackboard
getBlackboard()
DriverManager
getDriverManager()
ErrorHandler
getErrorHandler()
FeatureTextWriterRegistry
getFeatureTextWriterRegistry()
LayerManager
getLayerManager()
LayerNamePanel
getLayerNamePanel()
LayerViewPanel
getLayerViewPanel()
Task
getTask()
JUMPWorkbench
getWorkbench()
-
-
-
Method Detail
-
getDriverManager
public DriverManager getDriverManager()
-
getWorkbench
public JUMPWorkbench getWorkbench()
-
getErrorHandler
public ErrorHandler getErrorHandler()
-
getBlackboard
public Blackboard getBlackboard()
-
getLayerNamePanel
public LayerNamePanel getLayerNamePanel()
- Specified by:
getLayerNamePanel
in interfaceLayerNamePanelProxy
- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
-
getLayerViewPanel
public LayerViewPanel getLayerViewPanel()
- Specified by:
getLayerViewPanel
in interfaceLayerViewPanelProxy
- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
-
getLayerManager
public LayerManager getLayerManager()
- Specified by:
getLayerManager
in interfaceLayerManagerProxy
-
getTask
public Task getTask()
-
createPlugInContext
public PlugInContext createPlugInContext()
Creates a snapshot of the system for use by plug-ins.
-
getFeatureTextWriterRegistry
public FeatureTextWriterRegistry getFeatureTextWriterRegistry()
-
-