vocleditor.commands
Class DeleteExpCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by vocleditor.commands.DeleteExpCommand
Direct Known Subclasses:
DeleteBoolExpCommand, DeleteIfExpCommand, DeleteLetExpCommand

public abstract class DeleteExpCommand
extends org.eclipse.gef.commands.Command

Abstract Command for deleting a VOCLExpression. This class cares for - clearing the context if affected - deleting free VariableDeclarations from the constraint

Author:
bjoern

Method Summary
 void execute()
          Entry point for command execution.
 void redo()
          Redo command execution.
 void undo()
          Undo command execution.
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute()
Entry point for command execution.

Overrides:
execute in class org.eclipse.gef.commands.Command

redo

public void redo()
Redo command execution.

Overrides:
redo in class org.eclipse.gef.commands.Command

undo

public void undo()
Undo command execution.

Overrides:
undo in class org.eclipse.gef.commands.Command