ca.aura.ui.swt.actions
Class AbstractAction

java.lang.Object
  |
  +--ca.aura.ui.swt.actions.AbstractAction
All Implemented Interfaces:
Action

public abstract class AbstractAction
extends java.lang.Object
implements Action

Author:
Andrew

Constructor Summary
AbstractAction(java.lang.Object obj, IPresenter controller)
          default
 
Method Summary
abstract  java.lang.Object copyObject(java.lang.Object o)
          copy the object
 boolean execute()
          do it
protected  boolean isIndexOkay(int index)
          is the index okay?
 boolean redoo()
          redo it
protected  boolean setCurrentObject()
          set the current object
protected  boolean setCurrentObject(int index)
          set the object
 boolean undoo()
          undo it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAction

public AbstractAction(java.lang.Object obj,
                      IPresenter controller)
default

Method Detail

copyObject

public abstract java.lang.Object copyObject(java.lang.Object o)
copy the object


execute

public boolean execute()
do it

Specified by:
execute in interface Action

redoo

public boolean redoo()
redo it


undoo

public boolean undoo()
undo it


setCurrentObject

protected boolean setCurrentObject()
set the current object


setCurrentObject

protected boolean setCurrentObject(int index)
set the object


isIndexOkay

protected boolean isIndexOkay(int index)
is the index okay?



Copyright © 2002 University of Ottawa. All Rights Reserved.