Package org.openjump.core.ui.plugin.task
Class TaskPropertiesPlugIn
- java.lang.Object
-
- com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
-
- org.openjump.core.ui.plugin.task.TaskPropertiesPlugIn
-
- All Implemented Interfaces:
EnableChecked,Iconified,PlugIn,Recordable,ShortcutEnabled
public class TaskPropertiesPlugIn extends AbstractPlugIn
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATASOURCE_CLASSstatic StringEDIT_METADATAstatic StringEXTENTstatic StringFILEstatic StringINFOstatic StringLAST_MODIFICATIONstatic SuggestTreeComboBoxlocalSuggestTreeComboBoxstatic StringMODIFIED_LAYERSstatic StringNAMEstatic StringNOT_SAVEDstatic StringNOT_SETstatic StringNUMBER_LAYERSstatic StringPROJ_DESCRIPTIONstatic StringPROJ_METADATAstatic StringPROJ_STATUSstatic StringSEARCH_SRIDstatic StringSOURCE_PATHstatic StringSRSstatic StringTEMPORARY_LAYERSstatic StringTOOLTIPstatic StringUNITstatic StringXMAXstatic StringXMINstatic StringYMAXstatic StringYMIN-
Fields inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
shortcutKeys, shortcutModifiers
-
-
Constructor Summary
Constructors Constructor Description TaskPropertiesPlugIn()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyModifications(PlugInContext context, MultiInputDialog dialog)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 layer, String type, String path, String proj)voidinitialize(PlugInContext context)Called when Workbench starts up to allow plugins to initialize themselves.Stringtext(String layer, String type, String path, String proj)Stringtext2(String type)protected voidupdateControls(PlugInContext context, MultiInputDialog dialog)-
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, isRollingBackInvalidEdits, isShortcutEnabled, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
-
-
-
-
Field Detail
-
NAME
public static String NAME
-
PROJ_METADATA
public static String PROJ_METADATA
-
PROJ_STATUS
public static String PROJ_STATUS
-
NOT_SAVED
public static String NOT_SAVED
-
NOT_SET
public static String NOT_SET
-
LAST_MODIFICATION
public static String LAST_MODIFICATION
-
PROJ_DESCRIPTION
public static String PROJ_DESCRIPTION
-
SEARCH_SRID
public static String SEARCH_SRID
-
NUMBER_LAYERS
public static String NUMBER_LAYERS
-
EDIT_METADATA
public static String EDIT_METADATA
-
TOOLTIP
public static String TOOLTIP
-
UNIT
public static String UNIT
-
MODIFIED_LAYERS
public static String MODIFIED_LAYERS
-
TEMPORARY_LAYERS
public static String TEMPORARY_LAYERS
-
FILE
public static String FILE
-
INFO
public static String INFO
-
XMIN
public static String XMIN
-
YMIN
public static String YMIN
-
XMAX
public static String XMAX
-
YMAX
public static String YMAX
-
EXTENT
public static String EXTENT
-
SOURCE_PATH
public static String SOURCE_PATH
-
DATASOURCE_CLASS
public static String DATASOURCE_CLASS
-
SRS
public static String SRS
-
localSuggestTreeComboBox
public static SuggestTreeComboBox localSuggestTreeComboBox
-
-
Method Detail
-
initialize
public void initialize(PlugInContext context) throws Exception
Description copied from interface:PlugInCalled when Workbench starts up to allow plugins to initialize themselves.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractPlugIn- Parameters:
context- context of the PlugIn- Throws:
Exception- if an exception occur during initialization
-
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.
-
getIcon
public Icon getIcon()
Description copied from class:AbstractPlugInPlugin icon assumed to be 16x16 by default- Specified by:
getIconin interfaceIconified- Overrides:
getIconin classAbstractPlugIn
-
createEnableCheck
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
-
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
-
updateControls
protected void updateControls(PlugInContext context, MultiInputDialog dialog)
-
applyModifications
protected void applyModifications(PlugInContext context, MultiInputDialog dialog)
-
-