com.opnworks.timesheet.client.popup.actions
Class NewAction

java.lang.Object
  extended bycom.opnworks.timesheet.client.popup.actions.NewAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class NewAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate

Description of the Class

Author:
Mirasol OpnWorks

Constructor Summary
NewAction()
          Constructor for Action1.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewAction

public NewAction()
Constructor for Action1.

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
Parameters:
action - The new ActivePart value
targetPart - The new ActivePart value
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
Parameters:
action - Description of Parameter
See Also:
IActionDelegate#run(IAction)

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
Parameters:
action - Description of Parameter
selection - Description of Parameter
See Also:
IActionDelegate#selectionChanged(IAction, ISelection)