edu.cmu.cs.crystal.internal
Class CrystalUIAction

java.lang.Object
  extended by edu.cmu.cs.crystal.internal.CrystalUIAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class CrystalUIAction
extends Object
implements org.eclipse.ui.IWorkbenchWindowActionDelegate

Begins the execution of the Crystal framework when the corresponding GUI element is triggered. See the "plugin.xml" file for the mapping between GUI element and this class.

Author:
David Dickey

Constructor Summary
CrystalUIAction()
           
 
Method Summary
 void dispose()
          required by the IWorkbenchWindowActionDelegate interface
 void init(org.eclipse.ui.IWorkbenchWindow window)
          required by the IWorkbenchWindowActionDelegate interface
 void run(org.eclipse.jface.action.IAction action)
          required by the IWorkbenchWindowActionDelegate interface
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          required by the IWorkbenchWindowActionDelegate interface
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrystalUIAction

public CrystalUIAction()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
required by the IWorkbenchWindowActionDelegate interface

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)
required by the IWorkbenchWindowActionDelegate interface

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

dispose

public void dispose()
required by the IWorkbenchWindowActionDelegate interface

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

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
required by the IWorkbenchWindowActionDelegate interface

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