Class ModelElementNameComparator

java.lang.Object
org.eclipse.graphiti.ui.internal.util.ModelElementNameComparator
All Implemented Interfaces:
Comparator<org.eclipse.emf.ecore.ENamedElement>

public final class ModelElementNameComparator extends Object implements Comparator<org.eclipse.emf.ecore.ENamedElement>
Compares EMF model elements by their name
  • Field Details

    • INSTANCE

      public static final Comparator<org.eclipse.emf.ecore.ENamedElement> INSTANCE
      A comparator comparing case-sensitively
    • INSTANCE_IGNORING_CASE

      public static final Comparator<org.eclipse.emf.ecore.ENamedElement> INSTANCE_IGNORING_CASE
      A comparator comparing case-insensitively, i.e. ignoring case
  • Method Details