net.sf.tm.plugin.actions
Class ReloadContextAction
java.lang.Object
org.eclipse.jface.action.Action
net.sf.tm.plugin.actions.AbstractAction
net.sf.tm.plugin.actions.AbstractBackgroundAction
net.sf.tm.plugin.actions.ReloadContextAction
- All Implemented Interfaces:
- IAction, IActionDelegate, IWorkbenchWindowActionDelegate
- public class ReloadContextAction
- extends AbstractBackgroundAction
- implements IWorkbenchWindowActionDelegate
Action for reloading a context on a server. The context has to be started
to be reloaded.
- Version:
- $Id: ReloadContextAction.java,v 1.10 2004/02/23 19:19:35 apataki Exp $
- Author:
- Andreas Pataki
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 |
ReloadContextAction
public ReloadContextAction(WebContextView parentView)
- Constructor for this action. The text and image settings are initialized.
- Parameters:
parentView
- Parent view which created this action.
run
public void run()
- On excecution the run method changes the icon state, then splits of
another thread to do the actual excecution with a busy indicator.
- Specified by:
run
in interface IAction
- See Also:
IAction.run()
dispose
public void dispose()
- Specified by:
dispose
in interface IWorkbenchWindowActionDelegate
- See Also:
IWorkbenchWindowActionDelegate.dispose()
init
public void init(IWorkbenchWindow window)
- Specified by:
init
in interface IWorkbenchWindowActionDelegate
- See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)
run
public void run(IAction action)
- Specified by:
run
in interface IActionDelegate
- See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)
selectionChanged
public void selectionChanged(IAction action,
ISelection selection)
- Specified by:
selectionChanged
in interface IActionDelegate
- See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
Copyright © 2003-2004 Andreas Pataki. All Rights Reserved.