net.sf.commonclipse.popup.actions
Class JavaTypeViewerAction
java.lang.Object
net.sf.commonclipse.popup.actions.JavaTypeAction
net.sf.commonclipse.popup.actions.JavaTypeViewerAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate
public class JavaTypeViewerAction
- extends JavaTypeAction
- implements org.eclipse.ui.IEditorActionDelegate
action called from viewer contribution (right click on editor).
- Version:
- $Revision: 1.3 $ ($Author: fgiust $)
- Author:
- fgiust
Method Summary |
void |
run(org.eclipse.jface.action.IAction action)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selected editor has changed. |
void |
setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart targetEditor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTypeViewerAction
public JavaTypeViewerAction()
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
run
in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- selected editor has changed.
- Specified by:
selectionChanged
in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.selectionChanged(IAction, ISelection)
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)
Copyright © 2003-2005 sourceforge. All Rights Reserved.