com.ibm.jdg2e.actions
Class HelloAction

java.lang.Object
  |
  +--com.ibm.jdg2e.actions.HelloAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class HelloAction
extends java.lang.Object
implements org.eclipse.ui.IWorkbenchWindowActionDelegate

This generated Eclipse action is used to demonstrate a basic key binding specification. Examine the plug-in manifest file definition of the action extension and its associated command extension.


Constructor Summary
HelloAction()
          The constructor.
 
Method Summary
 void dispose()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
          Cache window object in order to be able to provide parent shell for the message dialog.
 void run(org.eclipse.jface.action.IAction action)
          Display a simple message dialog.
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloAction

public HelloAction()
The constructor.

Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Cache window object in order to be able to provide parent shell for the message dialog.

Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

run

public void run(org.eclipse.jface.action.IAction action)
Display a simple message dialog.

Specified by:
run in interface org.eclipse.ui.IActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate