public class SetVariantOperation extends UndoOperation
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
newValue |
protected java.lang.String |
oldValue |
protected java.util.Set<Locator> |
scope |
protected Locator |
si |
protected TopicMap |
tm |
isMarker, operationNumber| Constructor and Description |
|---|
SetVariantOperation(Topic t,
java.util.Set<Topic> scope,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLabel() |
void |
redo() |
void |
undo() |
canRedo, canUndo, combineWith, getDescription, getOperationNumber, getRedoLabel, getUndoLabel, isMarkerprotected TopicMap tm
protected Locator si
protected java.util.Set<Locator> scope
protected java.lang.String oldValue
protected java.lang.String newValue
public SetVariantOperation(Topic t, java.util.Set<Topic> scope, java.lang.String value) throws TopicMapException, UndoException
TopicMapExceptionUndoExceptionpublic java.lang.String getLabel()
getLabel in class UndoOperationpublic void undo()
throws UndoException
undo in class UndoOperationUndoExceptionpublic void redo()
throws UndoException
redo in class UndoOperationUndoExceptionCopyright 2004-2015 Wandora Team