|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ui.actions.ActionDelegate
Abstract base implementation of IActionDelegate and IActionDelegate2 for a client delegate action.
Subclasses should reimplement runWithEvent or run methods to do the action's work, and may reimplement selectionChanged to react to selection changes in the workbench.
Constructor Summary | |
ActionDelegate()
|
Method Summary | |
void | dispose()
The ActionDelegate implementation of this IActionDelegate2 method does nothing. |
void | init(IAction action)
The ActionDelegate implementation of this IActionDelegate2 method does nothing. |
void | run(IAction action)
The ActionDelegate implementation of this IActionDelegate method does nothing. |
void | runWithEvent(IAction action,
Event event)
The ActionDelegate implementation of this IActionDelegate2 method redirects to the run method. |
void | selectionChanged(IAction action,
ISelection selection)
The ActionDelegate implementation of this IActionDelegate method does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionDelegate()
Method Detail |
public void run(IAction action)
Note: This method is not called directly by the proxy action. Only by the default implementation of runWithEvent of this abstract class.
public void selectionChanged(IAction action, ISelection selection)
public void init(IAction action)
public void dispose()
public void runWithEvent(IAction action, Event event)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.