public class DefaultFeatureCommandsStack extends DefaultUndoRedoCommandStack implements FeatureCommandsStack
Constructor and Description |
---|
DefaultFeatureCommandsStack(DefaultFeatureStore featureStore,
FeatureManager expansionManager,
SpatialManager spatialManager,
FeatureTypeManager featureTypeManager) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
delete(Feature feature) |
void |
deselect(DefaultFeatureReferenceSelection selection,
FeatureReference reference) |
void |
deselectAll(DefaultFeatureReferenceSelection selection) |
void |
insert(EditableFeature feature) |
void |
select(DefaultFeatureReferenceSelection selection,
FeatureReference reference) |
void |
selectAll(DefaultFeatureReferenceSelection selection) |
void |
selectionReverse(DefaultFeatureReferenceSelection selection) |
void |
selectionSet(DefaultFeatureStore store,
FeatureSelection oldSelection,
FeatureSelection newSelection) |
void |
update(EditableFeature feature,
Feature oldFeature) |
void |
update(FeatureType featureType,
FeatureType oldFeatureType) |
add, addObserver, canRedo, canUndo, deleteObserver, deleteObservers, endComplex, getNextRedoCommand, getNextUndoCommand, getRedoInfos, getUndoInfos, inComplex, redo, redo, size, startComplex, undo, undo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, endComplex, getNextRedoCommand, getNextUndoCommand, inComplex, size, startComplex
canRedo, canUndo, getRedoInfos, getUndoInfos, redo, redo, undo, undo
addObserver, deleteObserver, deleteObservers
public DefaultFeatureCommandsStack(DefaultFeatureStore featureStore, FeatureManager expansionManager, SpatialManager spatialManager, FeatureTypeManager featureTypeManager)
public void clear()
clear
in interface UndoRedoCommandStack
clear
in class DefaultUndoRedoCommandStack
public void deselect(DefaultFeatureReferenceSelection selection, FeatureReference reference)
deselect
in interface FeatureCommandsStack
public void deselectAll(DefaultFeatureReferenceSelection selection) throws DataException
deselectAll
in interface FeatureCommandsStack
DataException
public void select(DefaultFeatureReferenceSelection selection, FeatureReference reference)
select
in interface FeatureCommandsStack
public void selectAll(DefaultFeatureReferenceSelection selection) throws DataException
selectAll
in interface FeatureCommandsStack
DataException
public void selectionReverse(DefaultFeatureReferenceSelection selection)
selectionReverse
in interface FeatureCommandsStack
public void selectionSet(DefaultFeatureStore store, FeatureSelection oldSelection, FeatureSelection newSelection)
selectionSet
in interface FeatureCommandsStack
public void delete(Feature feature) throws DataException
delete
in interface FeatureCommandsStack
DataException
public void insert(EditableFeature feature) throws DataException
insert
in interface FeatureCommandsStack
DataException
public void update(EditableFeature feature, Feature oldFeature) throws DataException
update
in interface FeatureCommandsStack
DataException
public void update(FeatureType featureType, FeatureType oldFeatureType)
update
in interface FeatureCommandsStack