com.exadel.vpe.editor.toolbar.format
Class ComboFormatController

java.lang.Object
  extended bycom.exadel.vpe.editor.toolbar.format.FormatController
      extended bycom.exadel.vpe.editor.toolbar.format.AttributeFormatController
          extended bycom.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

Constructor Summary
ComboFormatController(FormatControllerManager manager, org.eclipse.swt.widgets.Combo comboBlockFormat)
           
 
Method Summary
 org.eclipse.swt.widgets.Combo getComboBlockFormat()
           
 int getSelectionIndex()
           
 java.lang.String getSelectionText()
           
 void handleEvent(org.eclipse.swt.widgets.Event event)
           
 void setToolbarItemEnabled(boolean enabled)
           
 
Methods inherited from class com.exadel.vpe.editor.toolbar.format.AttributeFormatController
setToolbarItemSelection
 
Methods inherited from class com.exadel.vpe.editor.toolbar.format.FormatController
getManager, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.exadel.vpe.editor.toolbar.format.IFormatController
getType
 

Constructor Detail

ComboFormatController

public ComboFormatController(FormatControllerManager manager,
                             org.eclipse.swt.widgets.Combo comboBlockFormat)
Method Detail

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.