de.hunsicker.jalopy.plugin.eclipse
Class ResourcePopupAction

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

public class ResourcePopupAction
extends org.eclipse.ui.actions.ActionDelegate
implements org.eclipse.ui.IObjectActionDelegate

Action to be added to the context menu of the Navigator or Packages view. Enables the user to format the selected files (the files contained in the selected folders or packages).

Version:
$Revision: 1.5.2.2 $
Author:
Marco Hunsicker

Constructor Summary
ResourcePopupAction()
          Creates a new ResourcePopupAction object.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
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

ResourcePopupAction

public ResourcePopupAction()
Creates a new ResourcePopupAction object.

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
Overrides:
run in class org.eclipse.ui.actions.ActionDelegate
See Also:
ActionDelegate.run(IAction)


Copyright © 1997-2005 Jalopy. All Rights Reserved.