Class ValidationUtil


  • public final class ValidationUtil
    extends java.lang.Object
    • Method Detail

      • getAdapterMap

        public static java.util.Map<org.eclipse.ui.IEditorPart,​ConstraintAdapter> getAdapterMap()
      • addNotifier

        public static void addNotifier​(org.eclipse.ui.IEditorPart editorPart,
                                       org.eclipse.emf.common.notify.Notifier notifier)
      • addConstraintAdapter

        public static void addConstraintAdapter​(org.eclipse.ui.IEditorPart editorPart,
                                                ConstraintAdapter adapter)
        Since:
        2.1
      • registerEditorPart

        public static void registerEditorPart​(org.eclipse.ui.IEditorPart editorPart)
      • unregisterEditorPart

        public static void unregisterEditorPart​(org.eclipse.ui.IEditorPart editorPart)
      • isConstraintsRegisteredForEditorId

        public static boolean isConstraintsRegisteredForEditorId​(java.lang.String editorId)
        Returns whether there are constraint specifications registered for an editor Id.
        Parameters:
        editorId - The editor Id which should be checked
        Returns:
        true if there are registered constraint specifications