org.bs.mdi
Interface ActionObserver

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

public interface ActionObserver

An interface for objects that can observe an ActionObservable.


Method Summary
 void actionPerformed(ActionObservable source, Action action)
          Called from the ActionObservable when an action has been performed or redone.
 void actionUndone(ActionObservable source, Action action)
          Called from the ActionObservable when an action has been undone.
 

Method Detail

actionPerformed

public void actionPerformed(ActionObservable source,
                            Action action)
Called from the ActionObservable when an action has been performed or redone.

Parameters:
source - the observable which this notification originated from
action - the action which has been performed

actionUndone

public void actionUndone(ActionObservable source,
                         Action action)
Called from the ActionObservable when an action has been undone.

Parameters:
source - the observable which this notification originated from
action - the action which has been undone