sk.uniba.euromath.editor.xmlEditor.commands
Class DeleteSelectionCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by sk.uniba.euromath.editor.xmlEditor.commands.DeleteDOMIntervalSetCommand
          extended by sk.uniba.euromath.editor.xmlEditor.commands.DeleteSelectionCommand

public class DeleteSelectionCommand
extends DeleteDOMIntervalSetCommand

Author:
Tomáš Studva 21.8.2006

Field Summary
 
Fields inherited from class sk.uniba.euromath.editor.xmlEditor.commands.DeleteDOMIntervalSetCommand
caretManager, caretMovement, direction, toDelete, xmlAccess
 
Constructor Summary
DeleteSelectionCommand(XMLAccess xmlAccess, CaretManager caretManager, Direction direction, int caretMovement, IDOMSelectionProvider selectionProvider)
          Constructor.
DeleteSelectionCommand(XMLAccess xmlAccess, CaretManager caretManager, IDOMSelectionProvider selectionProvider)
          Constructor.
 
Method Summary
 void execute()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class sk.uniba.euromath.editor.xmlEditor.commands.DeleteDOMIntervalSetCommand
canExecute
 
Methods inherited from class org.eclipse.gef.commands.Command
canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSelectionCommand

public DeleteSelectionCommand(XMLAccess xmlAccess,
                              CaretManager caretManager,
                              Direction direction,
                              int caretMovement,
                              IDOMSelectionProvider selectionProvider)
Constructor.


DeleteSelectionCommand

public DeleteSelectionCommand(XMLAccess xmlAccess,
                              CaretManager caretManager,
                              IDOMSelectionProvider selectionProvider)
Constructor.

Method Detail

execute

public void execute()
Overrides:
execute in class DeleteDOMIntervalSetCommand

undo

public void undo()
Overrides:
undo in class DeleteDOMIntervalSetCommand

redo

public void redo()
Overrides:
redo in class DeleteDOMIntervalSetCommand


Copyright © 2003-2006 null. All Rights Reserved.