com.ibm.lab.soln.editor.ui.actions
Class ChangeAlignmentAction

java.lang.Object
  |
  +--org.eclipse.jface.action.Action
        |
        +--com.ibm.lab.soln.editor.ui.actions.MiniSpreadsheetEditorAction
              |
              +--com.ibm.lab.soln.editor.ui.actions.ChangeAlignmentAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public class ChangeAlignmentAction
extends MiniSpreadsheetEditorAction

Action to change the column alignment of the mini-spreadsheet editor.


Field Summary
 
Fields inherited from class com.ibm.lab.soln.editor.ui.actions.MiniSpreadsheetEditorAction
editor
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
ChangeAlignmentAction(java.lang.String id, int newAlignment)
           
 
Method Summary
 int getStyle()
           
 void run()
           
 void setActiveEditor(MiniSpreadsheetEditor editor)
           
 void setGroup(ChangeAlignmentAction[] group)
           
 
Methods inherited from class com.ibm.lab.soln.editor.ui.actions.MiniSpreadsheetEditorAction
getMiniSpreadsheet, selectionChanged
 
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, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, 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

ChangeAlignmentAction

public ChangeAlignmentAction(java.lang.String id,
                             int newAlignment)
Method Detail

getStyle

public int getStyle()
Specified by:
getStyle in interface org.eclipse.jface.action.IAction
Overrides:
getStyle in class org.eclipse.jface.action.Action

run

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

setActiveEditor

public void setActiveEditor(MiniSpreadsheetEditor editor)
Overrides:
setActiveEditor in class MiniSpreadsheetEditorAction

setGroup

public void setGroup(ChangeAlignmentAction[] group)