com.exadel.vpe.editor.toolbar.format
Class ComboFormatController
java.lang.Object
com.exadel.vpe.editor.toolbar.format.FormatController
com.exadel.vpe.editor.toolbar.format.AttributeFormatController
com.exadel.vpe.editor.toolbar.format.ComboFormatController
- All Implemented Interfaces:
- IFormatController, org.eclipse.swt.widgets.Listener
- Direct Known Subclasses:
- BlockFormatController, FontNameFormatController, FontSizeFormatController
- public abstract class ComboFormatController
- extends AttributeFormatController
- Author:
- igels@exadel.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboFormatController
public ComboFormatController(FormatControllerManager manager,
org.eclipse.swt.widgets.Combo comboBlockFormat)
getComboBlockFormat
public org.eclipse.swt.widgets.Combo getComboBlockFormat()
handleEvent
public void handleEvent(org.eclipse.swt.widgets.Event event)
- Specified by:
handleEvent in interface org.eclipse.swt.widgets.Listener- Overrides:
handleEvent in class FormatController
setToolbarItemEnabled
public void setToolbarItemEnabled(boolean enabled)
getSelectionIndex
public int getSelectionIndex()
- Returns:
- Returns the selectionIndex.
getSelectionText
public java.lang.String getSelectionText()
- Returns:
- Returns the selectionText.