com.ibm.jdg2e.msseditor.ui.actions
Class ShowTotalAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended bycom.ibm.jdg2e.msseditor.ui.actions.MiniSSEditorAction
          extended bycom.ibm.jdg2e.msseditor.ui.actions.ShowTotalAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ShowTotalAction
extends MiniSSEditorAction

Action to display the sum of all integer cells of the mini-spreadsheet. Invalid cells are treated as zero

Note: The codes intentionally picks such a restrictive example of only integers to better demonstrate the use of action filters; see MiniSSRowActionFilter for more information.


Field Summary
 
Fields inherited from class com.ibm.jdg2e.msseditor.ui.actions.MiniSSEditorAction
editor
 
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, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
ShowTotalAction()
           
 
Method Summary
 void run()
           
 
Methods inherited from class com.ibm.jdg2e.msseditor.ui.actions.MiniSSEditorAction
getMiniSpreadsheet, selectionChanged, setActiveEditor
 
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, 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

ShowTotalAction

public ShowTotalAction()
Method Detail

run

public void run()
See Also:
IAction.run()