com.javapathfinder.vjp.delegates
Class VJPButtonActionDelegate

java.lang.Object
  extended by com.javapathfinder.vjp.delegates.VJPButtonActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

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

This class is called by the plugin manifest to be activated when the verify button on the workspace dialog is clicked.

Author:
Sandro Badame

Constructor Summary
VJPButtonActionDelegate()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 void run()
           
 void run(org.eclipse.jface.action.IAction action)
          Performs the task of opening the LaunchDialog.
 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

VJPButtonActionDelegate

public VJPButtonActionDelegate()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Performs the task of opening the LaunchDialog. (non-Javadoc)

Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

run

public void run()

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

dispose

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

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate