palmed.edit.selection
Interface IAction

All Known Implementing Classes:
AbstractAction, CharacterDeletion, CharacterInsertion, Cut, NewLineInsertion, Paste, SelectionDeletion, SelectionReplacement

public interface IAction

This interface defines an action.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Method Summary
 boolean merge(IAction action)
          Merge another action.
 void perform()
          Perform the operation.
 void redo()
          Redo the operation.
 void undo()
          Undo the operation.
 

Method Detail

perform

void perform()
Perform the operation.


undo

void undo()
Undo the operation.


redo

void redo()
Redo the operation.


merge

boolean merge(IAction action)
Merge another action.

Parameters:
action - the action to merge
Returns:
whether the merging was possible or not


Copyright © 2004-2006 PalmEd. All Rights Reserved.