public class Add3DGeometryAttributesPlugIn extends AbstractThreadedUiPlugIn
Modifier and Type | Class and Description |
---|---|
static class |
Add3DGeometryAttributesPlugIn.ZBoundedSubLineString
Inner Class representing a sub-linestring where each end points is either
an endpoint of the main LineString
an interior point with a z value
Z characteristics as 3D length or slopes are computed on
ZBoundedSubLineString
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_END_Z |
static java.lang.String |
ADD_LENGTH_3D |
static java.lang.String |
ADD_MAX_DOWNSLOPE |
static java.lang.String |
ADD_MAX_SLOPE |
static java.lang.String |
ADD_MAX_UPSLOPE |
static java.lang.String |
ADD_MAX_Z |
static java.lang.String |
ADD_MIN_Z |
static java.lang.String |
ADD_NB_0_Z |
static java.lang.String |
ADD_NB_NAN_Z |
static java.lang.String |
ADD_NB_NEGATIVE_Z |
static java.lang.String |
ADD_NB_POSITIVE_Z |
static java.lang.String |
ADD_START_Z |
static java.lang.String |
ADD_WEIGHTED_MEAN_Z |
static java.lang.String |
COMPUTE_ATTRIBUTES |
static java.lang.String |
END_Z |
static java.lang.String |
GEOM_ATTRIBUTES |
static java.lang.String |
LAYER |
static java.lang.String |
LENGTH_3D |
static java.lang.String |
MAX_DOWN_SLOPE |
static java.lang.String |
MAX_SLOPE |
static java.lang.String |
MAX_UPSLOPE |
static java.lang.String |
MAX_Z |
static java.lang.String |
MIN_Z |
static java.lang.String |
NB_0_Z |
static java.lang.String |
NB_NAN_Z |
static java.lang.String |
NB_NEGATIVE_Z |
static java.lang.String |
NB_POSITIVE_Z |
static java.lang.String |
START_Z |
static java.lang.String |
WEIGHTED_MEAN_Z |
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
Add3DGeometryAttributesPlugIn() |
Modifier and Type | Method and Description |
---|---|
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Method to be overridden by implementations to execute the plug-in.
|
void |
initialize(PlugInContext context)
Method to be overridden by implementations to initialize the plug-in.
|
void |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task.
|
void |
setAddEndZ(boolean addEndZ) |
void |
setAddLength3d(boolean addLength3d) |
void |
setAddMaxDownSlope(boolean addMaxDownslope) |
void |
setAddMaxSlope(boolean addMaxSlope) |
void |
setAddMaxUpslope(boolean addMaxUpslope) |
void |
setAddMaxZ(boolean addMaxZ) |
void |
setAddMinZ(boolean addMinZ) |
void |
setAddNb0Z(boolean addNb0Z) |
void |
setAddNbNaNZ(boolean addNbNaNZ) |
void |
setAddNbNegativeZ(boolean addNbNegativeZ) |
void |
setAddNbPositiveZ(boolean addNbPositiveZ) |
void |
setAddStartZ(boolean addStartZ) |
void |
setAddWeightedMeanZ(boolean addWeightedMeanZ) |
void |
setLayer(java.lang.String sitesLayer) |
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static java.lang.String LAYER
public static java.lang.String GEOM_ATTRIBUTES
public static java.lang.String COMPUTE_ATTRIBUTES
public static java.lang.String START_Z
public static java.lang.String ADD_START_Z
public static java.lang.String END_Z
public static java.lang.String ADD_END_Z
public static java.lang.String MIN_Z
public static java.lang.String ADD_MIN_Z
public static java.lang.String MAX_Z
public static java.lang.String ADD_MAX_Z
public static java.lang.String WEIGHTED_MEAN_Z
public static java.lang.String ADD_WEIGHTED_MEAN_Z
public static java.lang.String LENGTH_3D
public static java.lang.String ADD_LENGTH_3D
public static java.lang.String MAX_DOWN_SLOPE
public static java.lang.String ADD_MAX_DOWNSLOPE
public static java.lang.String MAX_UPSLOPE
public static java.lang.String ADD_MAX_UPSLOPE
public static java.lang.String MAX_SLOPE
public static java.lang.String ADD_MAX_SLOPE
public static java.lang.String NB_NAN_Z
public static java.lang.String ADD_NB_NAN_Z
public static java.lang.String NB_NEGATIVE_Z
public static java.lang.String ADD_NB_NEGATIVE_Z
public static java.lang.String NB_0_Z
public static java.lang.String ADD_NB_0_Z
public static java.lang.String NB_POSITIVE_Z
public static java.lang.String ADD_NB_POSITIVE_Z
public void initialize(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIn
initialize
in interface PlugIn
initialize
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public boolean execute(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIn
execute
in interface PlugIn
execute
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public void setLayer(java.lang.String sitesLayer)
public void setAddStartZ(boolean addStartZ)
public void setAddEndZ(boolean addEndZ)
public void setAddMinZ(boolean addMinZ)
public void setAddMaxZ(boolean addMaxZ)
public void setAddWeightedMeanZ(boolean addWeightedMeanZ)
public void setAddLength3d(boolean addLength3d)
public void setAddMaxDownSlope(boolean addMaxDownslope)
public void setAddMaxUpslope(boolean addMaxUpslope)
public void setAddMaxSlope(boolean addMaxSlope)
public void setAddNbNaNZ(boolean addNbNaNZ)
public void setAddNbNegativeZ(boolean addNbNegativeZ)
public void setAddNb0Z(boolean addNb0Z)
public void setAddNbPositiveZ(boolean addNbPositiveZ)
public void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugIn
monitor
- context to which this task can report its progress and
check whether a party has requested its cancellationjava.lang.Exception