com.vividsolutions.jump.workbench
Class WorkbenchContext
java.lang.Object
com.vividsolutions.jump.workbench.WorkbenchContext
- All Implemented Interfaces:
- LayerManagerProxy, LayerNamePanelProxy, LayerViewPanelProxy
- Direct Known Subclasses:
- JUMPWorkbenchContext
public abstract class WorkbenchContext
- extends java.lang.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkbenchContext
public WorkbenchContext()
getDriverManager
public DriverManager getDriverManager()
getWorkbench
public JUMPWorkbench getWorkbench()
getErrorHandler
public ErrorHandler getErrorHandler()
getBlackboard
public Blackboard getBlackboard()
getLayerNamePanel
public LayerNamePanel getLayerNamePanel()
- Specified by:
getLayerNamePanel in interface LayerNamePanelProxy
- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
getLayerViewPanel
public LayerViewPanel getLayerViewPanel()
- Specified by:
getLayerViewPanel in interface LayerViewPanelProxy
- Returns:
- null if the LayerViewPanelProxy currently has no associated LayerViewPanel
getLayerManager
public LayerManager getLayerManager()
- Specified by:
getLayerManager in interface LayerManagerProxy
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()