Class EnumComboBoxEditingSupport<T,V>

java.lang.Object
org.eclipse.jface.viewers.EditingSupport
Type Parameters:
T - type of row value
V - type of column value (cell value)
Direct Known Subclasses:
EMFEnumComboBoxEditingSupport

public class EnumComboBoxEditingSupport<T,V> extends ComboBoxEditingSupport<T,V>
Class is used to select from a enum of values ​​in a cell. Creates a combo box in the cell where a new cell value can be selected
Author:
Ionov Ivan
  • Constructor Details

    • EnumComboBoxEditingSupport

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

    • setElements

      public EnumComboBoxEditingSupport<T,V> setElements(V[] enums)
      Set up the value elements
      Parameters:
      enums - Array of elements to be shown in the combo box
      Returns:
      this object