public abstract class AbstractDerivedGeometriesProcess extends AbstractMonitorableTask implements DerivedGeometriesProcess
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
DerivedGeometriesProcess.TYPE
taskStatus
cancellationRequested
Constructor and Description |
---|
AbstractDerivedGeometriesProcess(java.lang.String name,
DerivedGeometriesParameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected FeatureStore |
addLayerToMapContex(java.lang.String name,
java.lang.String path,
IProjection projection) |
protected Surface |
closeSurfaceIfNecessary(Surface surface) |
protected void |
createNewFeatureStore(FeatureType sourceFeatureType,
int outputLayerType,
java.lang.String outputLayerPath,
IProjection projection) |
protected void |
endEditingMode(FeatureStore featureStore) |
protected FeatureStore |
getFeatureStore(java.lang.String outputLayerPath,
IProjection projection) |
protected java.util.List<Geometry> |
getGeometries(java.util.List<FeatureReference> selectedFeatures) |
DerivedGeometriesParameters |
getParameters() |
protected void |
insertGeometryIntoFeauteStore(FeatureStore newFeatureStore,
Geometry geometry) |
protected void |
setEditingMode(FeatureStore featureStore) |
void |
setParameters(DerivedGeometriesParameters theParameters) |
cancelRequest, getSimpleTaskStatus, getTaskStatus, setTaskName
isCancellationRequested
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
start
getTaskStatus
cancelRequest, isCancellationRequested
public AbstractDerivedGeometriesProcess(java.lang.String name, DerivedGeometriesParameters parameters)
protected FeatureStore addLayerToMapContex(java.lang.String name, java.lang.String path, IProjection projection) throws java.lang.Exception
java.lang.Exception
protected void createNewFeatureStore(FeatureType sourceFeatureType, int outputLayerType, java.lang.String outputLayerPath, IProjection projection) throws java.lang.Exception
java.lang.Exception
protected void endEditingMode(FeatureStore featureStore) throws java.lang.Exception
java.lang.Exception
protected FeatureStore getFeatureStore(java.lang.String outputLayerPath, IProjection projection) throws java.lang.Exception
java.lang.Exception
protected java.util.List<Geometry> getGeometries(java.util.List<FeatureReference> selectedFeatures) throws java.lang.Exception
java.lang.Exception
public DerivedGeometriesParameters getParameters()
getParameters
in interface DerivedGeometriesProcess
protected void insertGeometryIntoFeauteStore(FeatureStore newFeatureStore, Geometry geometry) throws java.lang.Exception
java.lang.Exception
protected void setEditingMode(FeatureStore featureStore) throws java.lang.Exception
java.lang.Exception
public void setParameters(DerivedGeometriesParameters theParameters)