public class FTypeUpdateCommand extends AbstractFTypeCommand
expansionManager, typeDELETE, INSERT, UPDATE| Constructor and Description |
|---|
FTypeUpdateCommand(FeatureTypeManager expansionManager,
FeatureType type,
FeatureType oldType,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
FeatureType |
getOldFeatureType() |
int |
getType()
Returns the type of action related to data: insertion, deletion or
update.
|
void |
redo()
Re-does the following redoable command.
|
void |
undo()
Undoes the following undoable command.
|
getFeatureTypegetDate, getDescription, toString, updateDatepublic FTypeUpdateCommand(FeatureTypeManager expansionManager, FeatureType type, FeatureType oldType, java.lang.String description)
public void undo()
throws UndoException
CommandUndoException - if there is an error performing de undo actionpublic void redo()
throws RedoException
CommandRedoException - if there is an error performing de redo actionpublic int getType()
UndoRedoInfopublic void execute()
public FeatureType getOldFeatureType()