net.sf.tm.plugin.actions
Class AbstractBusyAction
java.lang.Object
org.eclipse.jface.action.Action
net.sf.tm.plugin.actions.AbstractAction
net.sf.tm.plugin.actions.AbstractBusyAction
- All Implemented Interfaces:
- IAction
- Direct Known Subclasses:
- RefreshAction
- public abstract class AbstractBusyAction
- extends AbstractAction
Abstract base class for all actions which must provide a busy indicator
during there run operation.
- Version:
- $Id: AbstractBusyAction.java,v 1.4 2004/02/10 20:11:25 apataki Exp $
- Author:
- Andreas Pataki
Method Summary |
void |
run()
Don't overwrite the run method in the actual action implementation.
|
protected abstract void |
runWithBusyIndicator()
In the actual action implementation all stuff which should be excecuted
with a busy indicator must be placed in this method. |
Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBusyAction
public AbstractBusyAction()
run
public void run()
- Don't overwrite the run method in the actual action implementation.
The run method will do a call to the
runWithBusyIndicator()
method using a BusyIndicator.
- See Also:
Action.run()
runWithBusyIndicator
protected abstract void runWithBusyIndicator()
- In the actual action implementation all stuff which should be excecuted
with a busy indicator must be placed in this method.
Copyright © 2003-2004 Andreas Pataki. All Rights Reserved.