Class EMFColorEditingSupport<T>

java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com.amalgamasimulation.desktop.binding.editingsupports.GenericEditingSupport<T,org.eclipse.swt.graphics.RGB>
com.amalgamasimulation.desktop.binding.editingsupports.ColorEditingSupport<T>
com.amalgamasimulation.desktop.binding.editingsupports.EMFColorEditingSupport<T>
Type Parameters:
T - type of row value

public class EMFColorEditingSupport<T> extends ColorEditingSupport<T>
Class is used to edit the color in a cell. Creates a button on the right side of the cell, which, when clicked, opens a dialog with the ability to edit the color. Used only with EMF (EObject).
Author:
Ionov Ivan
  • Constructor Details

    • EMFColorEditingSupport

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

    • editedFeature

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