org.bs.mdi
Interface ActionProcessor

All Known Subinterfaces:
RootView, View
All Known Implementing Classes:
Data, SwingRootView, SwingView

public interface ActionProcessor

An interface for objects that can apply (redo) or undo an Action. ActionProcessors are usually Data and View objects or their subclasses.


Method Summary
 void applyAction(Action action)
          Applies an action or perform a redo.
 void undoAction(Action action)
          Perform an undo.
 

Method Detail

applyAction

public void applyAction(Action action)
Applies an action or perform a redo.

Parameters:
action - the action to be applied or redone

undoAction

public void undoAction(Action action)
Perform an undo.

Parameters:
action - the action to be undone