Class WorkbenchContext
- java.lang.Object
-
- com.vividsolutions.jump.workbench.WorkbenchContext
-
- All Implemented Interfaces:
LayerManagerProxy,LayerableNamePanelProxy,LayerNamePanelProxy,LayerViewPanelProxy
- Direct Known Subclasses:
JUMPWorkbenchContext
public abstract class WorkbenchContext extends Object implements LayerViewPanelProxy, LayerNamePanelProxy, LayerableNamePanelProxy, 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 Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PlugInContextcreatePlugInContext()Creates a snapshot of the system for use by plug-ins.abstract BlackboardgetBlackboard()DriverManagergetDriverManager()abstract ErrorHandlergetErrorHandler()FeatureTextWriterRegistrygetFeatureTextWriterRegistry()abstract LayerableNamePanelgetLayerableNamePanel()LayerManagergetLayerManager()abstract LayerNamePanelgetLayerNamePanel()Deprecated.in favor of getLayerableNamePanel()LayerViewPanelgetLayerViewPanel()RegistrygetRegistry()TaskgetTask()abstract JUMPWorkbenchgetWorkbench()
-
-
-
Method Detail
-
getDriverManager
public DriverManager getDriverManager()
-
getWorkbench
public abstract JUMPWorkbench getWorkbench()
-
getErrorHandler
public abstract ErrorHandler getErrorHandler()
-
getBlackboard
public abstract Blackboard getBlackboard()
-
getLayerNamePanel
@Deprecated public abstract LayerNamePanel getLayerNamePanel()
Deprecated.in favor of getLayerableNamePanel()- Specified by:
getLayerNamePanelin interfaceLayerNamePanelProxy- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
-
getLayerableNamePanel
public abstract LayerableNamePanel getLayerableNamePanel()
- Specified by:
getLayerableNamePanelin interfaceLayerableNamePanelProxy- Returns:
- null if the LayerableViewPanelProxy currently has no associated LayerViewPanel
-
getLayerViewPanel
public LayerViewPanel getLayerViewPanel()
- Specified by:
getLayerViewPanelin interfaceLayerViewPanelProxy- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
-
getLayerManager
public LayerManager getLayerManager()
- Specified by:
getLayerManagerin interfaceLayerManagerProxy
-
getTask
public Task getTask()
-
createPlugInContext
public PlugInContext createPlugInContext()
Creates a snapshot of the system for use by plug-ins.
-
getFeatureTextWriterRegistry
public FeatureTextWriterRegistry getFeatureTextWriterRegistry()
-
getRegistry
public Registry getRegistry()
-
-