Class RasterImageLayerPropertiesPlugIn
- java.lang.Object
-
- com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
-
- org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn
-
- All Implemented Interfaces:
EnableChecked,Iconified,PlugIn,Recordable,ShortcutEnabled
public class RasterImageLayerPropertiesPlugIn extends AbstractPlugIn
- Version:
- 0.1 - 2013_05_27 (Giuseppe Aruta) Simple plugin that allows to view some properties of Sextante Raster Layer: name, file location, raster dimension (in cell), raster extension, X cell size, numbers of bands, min-max-mean of 1st band value (if the raster is monoband), 0.2 - 2015_01_02 (Giuseppe Aruta) Advanced plugin. Displays File, Raster and cells data properties of Sextante Raster Layer and allows to save those information as TXT file, 0.3 - 2015_01_31. (Giuseppe Aruta) Used HTML instead of TXT frame. Info can be saved as HTML file, 0.4 - 2015_03_27. (Giuseppe Aruta) Added Raster Layer statistics tab with several info about cell values, 0.5 - 2016_03_23 (Giuseppe Aruta) Enhenced version. It uses basic GvSIG table format for data display. Added Transparency panel. Remove statistic panel as already implemented as in the Raster Statistics plugin. Added a minimal raster projection display: currently it only displays simple project definition (not EPSG)., 0.6 2018_01_19 (Giuseppe Aruta) added Valid/nodata cell number to grid section
- Author:
- Giuseppe Aruta (giuseppe_aruta[AT]yahoo.it)
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description RasterImageLayerPropertiesPlugIn()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MultiEnableCheckcreateEnableCheck(WorkbenchContext workbenchContext)booleanexecute(PlugInContext context)Execute the PlugIn.IcongetIcon()Plugin icon assumed to be 16x16 by defaultStringgetName()Returns a very brief description of this PlugIn e.g.Stringheader(String textA, String textB)StringinfoText(RasterImageLayer rLayer)Stringproperty(String textA, String textB, String color)Stringtitle(String textA, String textB)-
Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, initialize, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
-
-
-
Method Detail
-
createEnableCheck
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
-
getIcon
public Icon getIcon()
Description copied from class:AbstractPlugInPlugin icon assumed to be 16x16 by default- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractPlugIn
-
getName
public String getName()
Description copied from interface:PlugInReturns a very brief description of this PlugIn e.g. for display as a menu item- Specified by:
getNamein interfacePlugIn- Overrides:
getNamein classAbstractPlugIn- Returns:
- the class name, minus "PlugIn", with spaces inserted at the appropriate point before each uppercase+lowercase and lowercase+uppercase combination.
-
infoText
public String infoText(RasterImageLayer rLayer) throws Exception
- Throws:
Exception
-
execute
public boolean execute(PlugInContext context) throws Exception
Description copied from class:AbstractPlugInExecute the PlugIn.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractPlugIn- Parameters:
context- context of this PlugIn- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
ThreadedPlugIn
-
-