edu.colby.cs.JeSS.actions
Class ShowPreferenceAction

java.lang.Object
  extended byedu.colby.cs.JeSS.actions.ShowPreferenceAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

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


Field Summary
private  org.eclipse.ui.IWorkbenchWindow window
           
 
Constructor Summary
ShowPreferenceAction()
          The constructor.
 
Method Summary
 void dispose()
          Eclipse Generated Code - Does Nothing
private  org.eclipse.swt.widgets.Shell getShell()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
          Store the Workbench window for later use
 void run(org.eclipse.jface.action.IAction action)
          Create a new Preference Manager showing the JeSSPreferencePage
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          Eclipse Generated Code - Does Nothing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

window

private org.eclipse.ui.IWorkbenchWindow window
Constructor Detail

ShowPreferenceAction

public ShowPreferenceAction()
The constructor.

Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Create a new Preference Manager showing the JeSSPreferencePage

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

getShell

private org.eclipse.swt.widgets.Shell getShell()
Returns:
Shell

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Store the Workbench window for later use

Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
Parameters:
window - - the current workbench window
See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Eclipse Generated Code - Does Nothing

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)

dispose

public void dispose()
Eclipse Generated Code - Does Nothing

Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.dispose()