com.ibm.jdg2e.msseditor.extras
Class IncrementRowValuesObjectActionDelegate
java.lang.Object
com.ibm.jdg2e.msseditor.extras.IncrementRowValuesObjectActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
- public class IncrementRowValuesObjectActionDelegate
- extends java.lang.Object
- implements org.eclipse.ui.IObjectActionDelegate
Contributed action to increment the selected row(s) from the mini-spreadsheet.
|
Method Summary |
void |
run(org.eclipse.jface.action.IAction action)
Increment each cell containing an integer. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Enable the action if there is at least one cell containing an
integer. |
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 |
IncrementRowValuesObjectActionDelegate
public IncrementRowValuesObjectActionDelegate()
run
public void run(org.eclipse.jface.action.IAction action)
- Increment each cell containing an integer.
- Specified by:
run in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.run(IAction)
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Enable the action if there is at least one cell containing an
integer.
- Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.selectionChanged(IAction, ISelection)
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart in interface org.eclipse.ui.IObjectActionDelegate