com.ibm.jdg2e.extensionpoint
Class HelloWorldToolAction

java.lang.Object
  extended bycom.ibm.jdg2e.extensionpoint.HelloWorldToolAction
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, IToolAction

public class HelloWorldToolAction
extends java.lang.Object
implements IToolAction

Example contributed action to the common toolbar action. Displays a message when selected.


Constructor Summary
HelloWorldToolAction()
           
 
Method Summary
 void run()
           
 void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorldToolAction

public HelloWorldToolAction()
Method Detail

run

public void run()
Specified by:
run in interface IToolAction

setInitializationData

public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtension
Throws:
org.eclipse.core.runtime.CoreException