com.vividsolutions.jump.workbench
Class WorkbenchContext

java.lang.Object
  extended bycom.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.


Constructor Summary
WorkbenchContext()
           
 
Method Summary
 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()
           
 Registry getRegistry()
           
 Task getTask()
           
 JUMPWorkbench getWorkbench()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkbenchContext

public WorkbenchContext()
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 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()