public abstract class AbstractDerivedGeometriesProcess extends AbstractMonitorableTask implements DerivedGeometriesProcess
Thread.State, Thread.UncaughtExceptionHandler
DerivedGeometriesProcess.TYPE
taskStatus
cancellationRequested
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AbstractDerivedGeometriesProcess(String name,
DerivedGeometriesParameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected FeatureStore |
addLayerToMapContex(String name,
String path,
IProjection projection) |
protected Surface |
closeSurfaceIfNecessary(Surface surface) |
protected void |
createNewFeatureStore(FeatureType sourceFeatureType,
int outputLayerType,
String outputLayerPath,
IProjection projection) |
protected void |
endEditingMode(FeatureStore featureStore) |
protected FeatureStore |
getFeatureStore(String outputLayerPath,
IProjection projection) |
protected List<Geometry> |
getGeometries(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(String name, DerivedGeometriesParameters parameters)
protected FeatureStore addLayerToMapContex(String name, String path, IProjection projection) throws Exception
Exception
protected void createNewFeatureStore(FeatureType sourceFeatureType, int outputLayerType, String outputLayerPath, IProjection projection) throws Exception
Exception
protected void endEditingMode(FeatureStore featureStore) throws Exception
Exception
protected FeatureStore getFeatureStore(String outputLayerPath, IProjection projection) throws Exception
Exception
protected List<Geometry> getGeometries(List<FeatureReference> selectedFeatures) throws Exception
Exception
public DerivedGeometriesParameters getParameters()
getParameters
in interface DerivedGeometriesProcess
protected void insertGeometryIntoFeauteStore(FeatureStore newFeatureStore, Geometry geometry) throws Exception
Exception
protected void setEditingMode(FeatureStore featureStore) throws Exception
Exception
public void setParameters(DerivedGeometriesParameters theParameters)