de.hunsicker.jalopy.plugin.eclipse
Class EditorPopupAction

java.lang.Object
  |
  +--org.eclipse.ui.actions.ActionDelegate
        |
        +--de.hunsicker.jalopy.plugin.eclipse.EditorPopupAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IEditorActionDelegate

public class EditorPopupAction
extends org.eclipse.ui.actions.ActionDelegate
implements org.eclipse.ui.IEditorActionDelegate

Action to be added to the context menu of the Java editor.

Version:
$Revision: 1.4 $
Author:
Marco Hunsicker

Constructor Summary
EditorPopupAction()
          Create a new EditorPopupAction object.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart targetEditor)
           
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
dispose, init, runWithEvent, selectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
selectionChanged
 

Constructor Detail

EditorPopupAction

public EditorPopupAction()
Create a new EditorPopupAction object.

Method Detail

setActiveEditor

public void setActiveEditor(org.eclipse.jface.action.IAction action,
                            org.eclipse.ui.IEditorPart targetEditor)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegate
See Also:
IEditorActionDelegate.setActiveEditor(IAction, IEditorPart)

run

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


Copyright © 1997-2005 Jalopy. All Rights Reserved.