public class PlugInContext extends java.lang.Object implements LayerManagerProxy
PlugIn
Constructor and Description |
---|
PlugInContext(WorkbenchContext workbenchContext,
Task task,
LayerManagerProxy layerManagerProxy,
LayerNamePanel layerNamePanel,
LayerViewPanel layerViewPanel) |
Modifier and Type | Method and Description |
---|---|
Layer |
addLayer(java.lang.String categoryName,
java.lang.String layerName,
FeatureCollection featureCollection) |
void |
addLayerSextanteRaster(java.lang.String categoryName,
RasterImageLayer raster) |
javax.swing.JInternalFrame |
getActiveInternalFrame() |
Layer |
getCandidateLayer(int i) |
EnableCheckFactory |
getCheckFactory() |
DriverManager |
getDriverManager() |
ErrorHandler |
getErrorHandler() |
FeatureInstaller |
getFeatureInstaller() |
LayerManager |
getLayerManager() |
LayerNamePanel |
getLayerNamePanel() |
LayerViewPanel |
getLayerViewPanel() |
HTMLFrame |
getOutputFrame() |
Layer |
getSelectedLayer(int i) |
java.util.Collection<Layerable> |
getSelectedLayerables()
this extends getSelectedLayers() as it returns all selected Layerables
e.g.
|
com.vividsolutions.jts.geom.Envelope |
getSelectedLayerEnvelope() |
Layer[] |
getSelectedLayers() |
Task |
getTask() |
WorkbenchContext |
getWorkbenchContext() |
WorkbenchFrame |
getWorkbenchFrame() |
public PlugInContext(WorkbenchContext workbenchContext, Task task, LayerManagerProxy layerManagerProxy, LayerNamePanel layerNamePanel, LayerViewPanel layerViewPanel)
public DriverManager getDriverManager()
public ErrorHandler getErrorHandler()
public WorkbenchContext getWorkbenchContext()
public Layer getSelectedLayer(int i)
public Layer getCandidateLayer(int i)
public Layer[] getSelectedLayers()
public java.util.Collection<Layerable> getSelectedLayerables()
public com.vividsolutions.jts.geom.Envelope getSelectedLayerEnvelope()
public Task getTask()
public LayerNamePanel getLayerNamePanel()
public LayerManager getLayerManager()
getLayerManager
in interface LayerManagerProxy
public LayerViewPanel getLayerViewPanel()
public WorkbenchFrame getWorkbenchFrame()
public Layer addLayer(java.lang.String categoryName, java.lang.String layerName, FeatureCollection featureCollection)
public void addLayerSextanteRaster(java.lang.String categoryName, RasterImageLayer raster)
public HTMLFrame getOutputFrame()
public javax.swing.JInternalFrame getActiveInternalFrame()
public EnableCheckFactory getCheckFactory()
public FeatureInstaller getFeatureInstaller()