Class AbstractLinearReferencingPlugIn
java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
org.openjump.core.ui.plugin.AbstractUiPlugIn
org.openjump.core.ui.plugin.AbstractThreadedUiPlugIn
org.openjump.core.ui.plugin.tools.generate.AbstractLinearReferencingPlugIn
- All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled, ThreadedPlugIn, ActionListener, EventListener
- Direct Known Subclasses:
LinearReferencingOnLayerPlugIn, LinearReferencingOnSelectionPlugIn
Common attributes and methods for LinearReferencing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected doubleprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected doubleprotected Stringprotected Stringprotected booleanprotected Stringprotected doubleprotected StringFields inherited from class AbstractUiPlugIn
enableCheck, workbenchContextFields inherited from class AbstractPlugIn
shortcutKeys, shortcutModifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(PlugInContext context) Method to be overridden by implementations to execute the plug-in.protected voidsetPointsAlong(FeatureCollection dataset, String layerName, String path, org.locationtech.jts.geom.Geometry geometry) Methods inherited from class AbstractUiPlugIn
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, initialize, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextMethods inherited from class AbstractPlugIn
addParameter, createName, execute, execute, getBooleanParam, getContext, getDoubleParam, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, getWorkbenchContext, isShortcutEnabled, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface PlugIn
getName, initializeMethods inherited from interface ThreadedPlugIn
run
-
Field Details
-
DESCRIPTION
-
DISTANCE_UNIT
-
MAP_UNIT
-
MAP_UNIT_TOOLTIP
-
LINESTRING_FRACTION
-
LINESTRING_FRACTION_TOOLTIP
-
DISTANCE_AND_OFFSET
-
DISTANCE
-
DISTANCE_TOOLTIP
-
OFFSET
-
OFFSET_TOOLTIP
-
REPEAT
-
REPEAT_DISTANCE
-
ADD_END_POINT
-
EMPTY_RESULT
-
map_unit
protected boolean map_unit -
linestring_fraction
protected boolean linestring_fraction -
distance
protected double distance -
offset
protected double offset -
repeat
protected boolean repeat -
repeat_distance
protected double repeat_distance -
add_end_point
protected boolean add_end_point
-
-
Constructor Details
-
AbstractLinearReferencingPlugIn
-
-
Method Details
-
execute
Description copied from class:AbstractUiPlugInMethod to be overridden by implementations to execute the plug-in.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractUiPlugIn- Parameters:
context- The plug-in context.- Returns:
- true if the PlugIn has been executed
- Throws:
Exception- if an Exception occurs during execution- See Also:
-
setPointsAlong
protected void setPointsAlong(FeatureCollection dataset, String layerName, String path, org.locationtech.jts.geom.Geometry geometry)
-