java.lang.Object
|
+--org.eclipse.jface.action.Action
|
+--com.ibm.lab.soln.editor.ui.actions.MiniSpreadsheetEditorAction
|
+--com.ibm.lab.soln.editor.ui.actions.ChangeAlignmentAction
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 |
public ChangeAlignmentAction(java.lang.String id,
int newAlignment)
| Method Detail |
public int getStyle()
getStyle in interface org.eclipse.jface.action.IActiongetStyle in class org.eclipse.jface.action.Actionpublic void run()
run in interface org.eclipse.jface.action.IActionrun in class org.eclipse.jface.action.Actionpublic void setActiveEditor(MiniSpreadsheetEditor editor)
setActiveEditor in class MiniSpreadsheetEditorActionpublic void setGroup(ChangeAlignmentAction[] group)