com.vividsolutions.jump.workbench.plugin
Class PlugInContext
java.lang.Object
com.vividsolutions.jump.workbench.plugin.PlugInContext
- All Implemented Interfaces:
- com.vividsolutions.jump.workbench.model.LayerManagerProxy
public class PlugInContext
- extends java.lang.Object
- implements com.vividsolutions.jump.workbench.model.LayerManagerProxy
Passed to PlugIns to enable them to access the rest of the JUMP Workbench.
- See Also:
PlugIn
Constructor Summary |
PlugInContext(WorkbenchContext workbenchContext,
com.vividsolutions.jump.workbench.model.Task task,
com.vividsolutions.jump.workbench.model.LayerManagerProxy layerManagerProxy,
com.vividsolutions.jump.workbench.ui.LayerNamePanel layerNamePanel,
com.vividsolutions.jump.workbench.ui.LayerViewPanel layerViewPanel)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlugInContext
public PlugInContext(WorkbenchContext workbenchContext,
com.vividsolutions.jump.workbench.model.Task task,
com.vividsolutions.jump.workbench.model.LayerManagerProxy layerManagerProxy,
com.vividsolutions.jump.workbench.ui.LayerNamePanel layerNamePanel,
com.vividsolutions.jump.workbench.ui.LayerViewPanel layerViewPanel)
getDriverManager
public com.vividsolutions.jump.workbench.driver.DriverManager getDriverManager()
getErrorHandler
public com.vividsolutions.jump.workbench.ui.ErrorHandler getErrorHandler()
getWorkbenchContext
public WorkbenchContext getWorkbenchContext()
getSelectedLayer
public com.vividsolutions.jump.workbench.model.Layer getSelectedLayer(int i)
- Returns:
- the ith layer clicked on the layer-list panel,
or null if the user hasn't clicked an ith layer
getCandidateLayer
public com.vividsolutions.jump.workbench.model.Layer getCandidateLayer(int i)
- Returns:
- the ith selected layer, or if there is none, the ith layer
getSelectedLayers
public com.vividsolutions.jump.workbench.model.Layer[] getSelectedLayers()
getSelectedLayerEnvelope
public com.vividsolutions.jts.geom.Envelope getSelectedLayerEnvelope()
getTask
public com.vividsolutions.jump.workbench.model.Task getTask()
getLayerNamePanel
public com.vividsolutions.jump.workbench.ui.LayerNamePanel getLayerNamePanel()
getLayerManager
public com.vividsolutions.jump.workbench.model.LayerManager getLayerManager()
- Specified by:
getLayerManager
in interface com.vividsolutions.jump.workbench.model.LayerManagerProxy
getLayerViewPanel
public com.vividsolutions.jump.workbench.ui.LayerViewPanel getLayerViewPanel()
getWorkbenchFrame
public com.vividsolutions.jump.workbench.ui.WorkbenchFrame getWorkbenchFrame()
addLayer
public com.vividsolutions.jump.workbench.model.Layer addLayer(java.lang.String categoryName,
java.lang.String layerName,
com.vividsolutions.jump.feature.FeatureCollection featureCollection)
getOutputFrame
public com.vividsolutions.jump.workbench.ui.HTMLFrame getOutputFrame()
getActiveInternalFrame
public javax.swing.JInternalFrame getActiveInternalFrame()
getCheckFactory
public com.vividsolutions.jump.workbench.plugin.EnableCheckFactory getCheckFactory()
getFeatureInstaller
public com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller getFeatureInstaller()
getRendererFactory
public RendererFactory getRendererFactory()
setRendererFactory
public void setRendererFactory(RendererFactory argRendererFactory)