Class EMFAutoCompleteTextEditingSupport<T,V>

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

public class EMFAutoCompleteTextEditingSupport<T,V> extends AutoCompleteTextEditingSupport<T,V>
Class is used to enable editing a table cell via a auto complete with a list of values. After pressing CTRL-Space a combo box with a list of values ​​appears Used only with EMF (EObject).
Author:
Ionov Ivan
  • Constructor Details

    • EMFAutoCompleteTextEditingSupport

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

    • nameFeature

      public EMFAutoCompleteTextEditingSupport<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
    • nameFeatures

      public EMFAutoCompleteTextEditingSupport<T,V> nameFeatures(org.eclipse.emf.ecore.EStructuralFeature idFeature, org.eclipse.emf.ecore.EStructuralFeature nameFeature)
    • editedFeature

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