net.sf.commonclipse.popup.actions
Class JavaTypeObjectAction

java.lang.Object
  extended by net.sf.commonclipse.popup.actions.JavaTypeAction
      extended by net.sf.commonclipse.popup.actions.JavaTypeObjectAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class JavaTypeObjectAction
extends JavaTypeAction
implements org.eclipse.ui.IObjectActionDelegate

action called from object contribution (right click on navigator). Support multiple selections.

Version:
$Revision: 1.4 $ ($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
JavaTypeObjectAction()
          new JavaTypeObjectAction.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
          file selected from menu.
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
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

JavaTypeObjectAction

public JavaTypeObjectAction()
new JavaTypeObjectAction.

Method Detail

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)

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)
file selected from menu.

Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(IAction, ISelection)


Copyright © 2003-2005 sourceforge. All Rights Reserved.