public class FilterRowComboBoxCellEditor extends ComboBoxCellEditor
FilterRowComboBoxDataProvider
freeEdit, iconImage, maxVisibleItems, multiselect, multiselectTextPrefix, multiselectTextSuffix, multiselectValueSeparator, useCheckbox
cellStyle, configRegistry, conversionEditErrorHandler, dataValidator, displayConverter, editMode, labelStack, layerCell, validationEditErrorHandler
Constructor and Description |
---|
FilterRowComboBoxCellEditor(IComboBoxDataProvider dataProvider)
Create a new
FilterRowComboBoxCellEditor based on the given IComboBoxDataProvider ,
showing the default number of items in the dropdown of the combo. |
FilterRowComboBoxCellEditor(IComboBoxDataProvider dataProvider,
int maxVisibleItems)
Create a new
FilterRowComboBoxCellEditor based on the given IComboBoxDataProvider . |
Modifier and Type | Method and Description |
---|---|
NatCombo |
createEditorControl(org.eclipse.swt.widgets.Composite parent)
Creates the editor control that is wrapped by this ICellEditor.
|
activateCell, addNatComboListener, getCanonicalValue, getEditorControl, getEditorValue, getIconImage, isFreeEdit, isMultiselect, isUseCheckbox, select, select, setCanonicalValue, setEditorValue, setFreeEdit, setIconImage, setMultiselect, setMultiselectTextBracket, setMultiselectValueSeparator, setUseCheckbox
activateAtAnyPosition, activateCell, addEditorControlListeners, close, commit, commit, commit, getCanonicalValue, getColumnIndex, getColumnPosition, getRowIndex, getRowPosition, handleConversion, isClosed, openAdjacentEditor, openInline, removeEditorControlListeners, setDataValidator, supportMultiEdit, validateCanonicalValue, validateCanonicalValue
public FilterRowComboBoxCellEditor(IComboBoxDataProvider dataProvider)
FilterRowComboBoxCellEditor
based on the given IComboBoxDataProvider
,
showing the default number of items in the dropdown of the combo.dataProvider
- The IComboBoxDataProvider
that is responsible for populating the
items to the dropdown box.public FilterRowComboBoxCellEditor(IComboBoxDataProvider dataProvider, int maxVisibleItems)
FilterRowComboBoxCellEditor
based on the given IComboBoxDataProvider
.dataProvider
- The IComboBoxDataProvider
that is responsible for populating the
items to the dropdown box.maxVisibleItems
- The maximum number of items the drop down will show before introducing
a scroll bar.public NatCombo createEditorControl(org.eclipse.swt.widgets.Composite parent)
ICellEditor
createEditorControl
in interface ICellEditor
createEditorControl
in class ComboBoxCellEditor
parent
- The Composite that will be the parent of the new editor control.
Can not be null
Copyright © 2013. All Rights Reserved.