Class EMFColorAWTDialog<T extends org.eclipse.emf.ecore.EObject>

java.lang.Object
com.amalgamasimulation.desktop.binding.dialogs.ContainerColorAWTDialog<T>
com.amalgamasimulation.desktop.binding.dialogs.EMFColorAWTDialog<T>
Type Parameters:
T - the type of object in which the color is stored

public class EMFColorAWTDialog<T extends org.eclipse.emf.ecore.EObject> extends ContainerColorAWTDialog<T>
This class creates and opens a dialog for editing a color. Used only with EMF (EObject)
Author:
Ionov Ivan
  • Field Details

    • parentShell

      protected org.eclipse.swt.widgets.Shell parentShell
  • Constructor Details

    • EMFColorAWTDialog

      public EMFColorAWTDialog(org.eclipse.swt.widgets.Shell parentShell, T owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
  • Method Details

    • open

      public org.eclipse.swt.graphics.RGB open()
      Opens a dialog with the color editor.
      Returns:
      RGB object with data about edit color.