|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvocleditor.commands.ClearContextSubCommand
public class ClearContextSubCommand
Clears the Context to "undefined" in an undoable way. This sub command is used by DeleteClassifierRoleCommand and others if their model elements are related to the current constraint context.
Constructor Summary | |
---|---|
ClearContextSubCommand(VOCLModel.Context context)
creates a new ClearContextSubCommand. |
Method Summary | |
---|---|
void |
execute()
command execution, sets context to undefined |
void |
redo()
redoes command execution |
void |
undo()
undoes command execution - resets context |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClearContextSubCommand(VOCLModel.Context context)
context
- the context to be clearedMethod Detail |
---|
public void execute()
public void undo()
public void redo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |