|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.commands.Command sk.uniba.euromath.editor.xmlEditor.commands.DeleteDOMIntervalSetCommand
public class DeleteDOMIntervalSetCommand
Command to delete DOMIntervalSet from document.
Field Summary | |
---|---|
protected CaretManager |
caretManager
Manager of caret. |
protected int |
caretMovement
|
protected Direction |
direction
|
protected DOMIntervalSet |
toDelete
Set of DOM intervals to delete. |
protected XMLAccess |
xmlAccess
XMLAccess instance. |
Constructor Summary | |
---|---|
DeleteDOMIntervalSetCommand(DOMIntervalSet toDelete,
XMLAccess xmlAccess,
CaretManager caretManager)
Constructor. |
|
DeleteDOMIntervalSetCommand(DOMIntervalSet toDelete,
XMLAccess xmlAccess,
CaretManager caretManager,
Direction direction,
int caretMovement)
Constructor. |
Method Summary | |
---|---|
boolean |
canExecute()
|
void |
execute()
|
void |
redo()
|
void |
undo()
|
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 |
Field Detail |
---|
protected final DOMIntervalSet toDelete
protected final XMLAccess xmlAccess
protected final CaretManager caretManager
protected int caretMovement
protected final Direction direction
Constructor Detail |
---|
public DeleteDOMIntervalSetCommand(DOMIntervalSet toDelete, XMLAccess xmlAccess, CaretManager caretManager, Direction direction, int caretMovement)
toDelete
- DOMintervalSet to delete.public DeleteDOMIntervalSetCommand(DOMIntervalSet toDelete, XMLAccess xmlAccess, CaretManager caretManager)
toDelete
- DOMintervalSet to delete.Method Detail |
---|
public boolean canExecute()
canExecute
in class org.eclipse.gef.commands.Command
public void execute()
execute
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |