|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalmed.edit.selection.AbstractAction
palmed.edit.selection.CharacterDeletion
public final class CharacterDeletion
This class implements an action to delete the previous character from the current insertion point.
Constructor Summary | |
---|---|
CharacterDeletion(ISelection selection)
Create a delete action. |
Method Summary | |
---|---|
boolean |
merge(IAction action)
Merge another action. |
protected void |
onPerform()
Perform the action. |
protected boolean |
onRedo()
Redo the action. |
protected boolean |
onUndo()
Undo the action. |
Methods inherited from class palmed.edit.selection.AbstractAction |
---|
backupData, overwriteFinalState, perform, prependData, redo, restoreData, undo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterDeletion(ISelection selection)
selection
- the selectionMethod Detail |
---|
protected void onPerform()
onPerform
in class AbstractAction
protected boolean onUndo()
onUndo
in class AbstractAction
protected boolean onRedo()
onRedo
in class AbstractAction
public boolean merge(IAction action)
action
- the action to merge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |