de.nierbeck.timeTrack.actions
Class DoubleClickAction

java.lang.Object
  extended by de.nierbeck.timeTrack.actions.DoubleClickAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

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

Action class for DoubleClick Action

Author:
Achim

Constructor Summary
DoubleClickAction()
          Constructor for DoubleClickAction.
DoubleClickAction(org.eclipse.jface.viewers.TableViewer tbv)
          Constructor for DoubleClickAction taking the TableViewer.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
 void run(org.eclipse.jface.viewers.ISelection selection)
           
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleClickAction

public DoubleClickAction()
Constructor for DoubleClickAction.


DoubleClickAction

public DoubleClickAction(org.eclipse.jface.viewers.TableViewer tbv)
Constructor for DoubleClickAction taking the TableViewer.

Parameters:
tbv - - the Tableviewer
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 - - does nothing
targetPart - - does nothing
See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)

run

public final void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
Parameters:
action - - the given Action runing on
See Also:
IActionDelegate#run(IAction)

run

public final void run(org.eclipse.jface.viewers.ISelection selection)
Parameters:
selection - - the Selection on which this method runs

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 - - does nothing
selection - - does nothing
See Also:
IActionDelegate#selectionChanged(IAction, ISelection)


Copyright © 2003-2006 Nierbeck. All Rights Reserved.