net.sf.commonclipse.popup.actions
Class JavaTypeViewerAction

java.lang.Object
  extended by net.sf.commonclipse.popup.actions.JavaTypeAction
      extended by 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

Field Summary
 
Fields inherited from class net.sf.commonclipse.popup.actions.JavaTypeAction
ACTION_COMPARETO, ACTION_EQUALS, ACTION_HASHCODE, ACTION_TOSTRING
 
Constructor Summary
JavaTypeViewerAction()
           
 
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 net.sf.commonclipse.popup.actions.JavaTypeAction
runAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTypeViewerAction

public JavaTypeViewerAction()
Method Detail

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.