ptolemy.backtrack.eclipse.plugin.actions
Class AboutAction

java.lang.Object
  extended by ptolemy.backtrack.eclipse.plugin.actions.AboutAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

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

Action to trigger the About dialog of the Eclipse backtracking plugin.

Since:
Ptolemy II 5.1
Version:
$Id: AboutAction.java 47512 2007-12-07 06:21:57Z cxh $
Author:
Thomas Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Red (tfeng)

Field Summary
private  org.eclipse.ui.IWorkbenchWindow _window
          The parent window.
 
Constructor Summary
AboutAction()
           
 
Method Summary
 void dispose()
          Dispose of system resources allocated for this actions.
 void init(org.eclipse.ui.IWorkbenchWindow window)
          Initialize the action with a window as its parent.
 void run(org.eclipse.jface.action.IAction action)
          Activate the action and pop up the About dialog.
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          Handle the change of selection.
 
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
The parent window.

Constructor Detail

AboutAction

public AboutAction()
Method Detail

dispose

public void dispose()
Dispose of system resources allocated for this actions.

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

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Initialize the action with a window as its parent.

Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
Parameters:
window - The parent window.

run

public void run(org.eclipse.jface.action.IAction action)
Activate the action and pop up the About dialog.

Specified by:
run in interface org.eclipse.ui.IActionDelegate
Parameters:
action - The action proxy (not used in this method).

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Handle the change of selection.

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
Parameters:
action - The action proxy (not used in this method).
selection - The new selection (not used in this method).