Class EMFDynamicAutoCompleteComboBoxEditingSupport<T,V>

Type Parameters:
T - type of row value
V - type of column value (cell value)

public class EMFDynamicAutoCompleteComboBoxEditingSupport<T,V> extends DynamicAutoCompleteComboBoxEditingSupport<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. If the value of maxComboBoxElementsCount exceeds the number of elements in the combo box, the cell is edited by auto complete and the combo box. If the value of maxComboBoxElementsCount is less the number of elements in the combo box, the cell is edited only by auto complete. Used only with EMF (EObject).
Author:
Ionov Ivan
  • Constructor Details

    • EMFDynamicAutoCompleteComboBoxEditingSupport

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

    • editedFeature

      public EMFDynamicAutoCompleteComboBoxEditingSupport<T,V> editedFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
      Set up the feature
      Parameters:
      feature - container reference to value
      Returns:
      this object
    • nameFeature

      public EMFDynamicAutoCompleteComboBoxEditingSupport<T,V> nameFeature(org.eclipse.emf.ecore.EStructuralFeature nameFeature)
      Set up the combo box elements naming. The structural feature value is used.
      Parameters:
      nameFeature - feature of the combo box elements whose value will be displayed in the combo box
      Returns:
      this object