Class AutoCompleteComboBoxEditingSupport<T,V>

java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport<T,V>
com.amalgamasimulation.desktop.binding.editingsupports.ComboBoxEditingSupport<T,V>
com.amalgamasimulation.desktop.binding.editingsupports.AutoCompleteComboBoxEditingSupport<T,V>
Type Parameters:
T - type of row value
V - type of column value (cell value)
Direct Known Subclasses:
DynamicAutoCompleteComboBoxEditingSupport, EMFAutoCompleteComboBoxEditingSupport

public class AutoCompleteComboBoxEditingSupport<T,V> extends ComboBoxEditingSupport<T,V>
Class is used to enable editing a table cell via a combo box with a list of values and via a auto complete with a list of values. After pressing CTRL-Space a combo box with a list of values ​​appears
Author:
Ionov Ivan
  • Constructor Details

    • AutoCompleteComboBoxEditingSupport

      public AutoCompleteComboBoxEditingSupport(org.eclipse.jface.viewers.ColumnViewer viewer, org.eclipse.swt.widgets.Composite parent)
  • Method Details

    • getContentAdapter

      protected org.eclipse.jface.fieldassist.IControlContentAdapter getContentAdapter()
    • createAutoCompleteField

      protected void createAutoCompleteField(org.eclipse.swt.widgets.Control control)
    • getCellEditorInternal

      protected org.eclipse.jface.viewers.CellEditor getCellEditorInternal(T element)
      Overrides:
      getCellEditorInternal in class ComboBoxEditingSupport<T,V>