jack.plugin.edit
Class EditAction

java.lang.Object
  extended byjack.plugin.edit.EditAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class EditAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate

Action allowing openning the selection in the Jack PO viewer view.

Author:
L. Burdy

Constructor Summary
EditAction()
           
 
Method Summary
static void edit(org.eclipse.jdt.core.ICompilationUnit cu)
           
static void edit(org.eclipse.core.resources.IFile fi)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection sel)
           
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditAction

public EditAction()
Method Detail

edit

public static void edit(org.eclipse.jdt.core.ICompilationUnit cu)

edit

public static void edit(org.eclipse.core.resources.IFile fi)

run

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

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)

selectionChanged

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