de.nierbeck.timeTrack.actions
Class DeleteAction

java.lang.Object
  extended by org.eclipse.jface.action.Action
      extended by de.nierbeck.timeTrack.actions.DeleteAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate

public class DeleteAction
extends org.eclipse.jface.action.Action
implements org.eclipse.ui.IObjectActionDelegate

Action Class for Deleting entries from the Table

Author:
Achim

Field Summary
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
DeleteAction(org.eclipse.jface.viewers.TableViewer tableView, Entries entries)
          Constructor for DeleteAction.
 
Method Summary
 void run()
           
 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)
          Does nothing
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteAction

public DeleteAction(org.eclipse.jface.viewers.TableViewer tableView,
                    Entries entries)
Constructor for DeleteAction.

Parameters:
tableView - - Table View on wich it acts
entries - - the Entries on which it acts
Method Detail

setActivePart

public void setActivePart(org.eclipse.jface.action.IAction action,
                          org.eclipse.ui.IWorkbenchPart targetPart)
Does nothing

Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate
Parameters:
action - - given action
targetPart - - targetPart
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 - - run on the given action
See Also:
IActionDelegate#run(IAction)

run

public final void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.jface.action.Action
See Also:
Action.run()

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.