Class CDOEditorOpener.Default

    • Constructor Detail

      • Default

        public Default()
      • Default

        public Default​(java.lang.String id,
                       java.lang.String name,
                       ImageDescriptor icon,
                       java.lang.String regex,
                       int priority)
    • Method Detail

      • getPriority

        public final int getPriority()
        Description copied from interface: CDOEditorOpener
        Returns the priority of this editor opener. Usually used to choose between several editor openers that match the same repository URI.
        Specified by:
        getPriority in interface CDOEditorOpener
      • getRegex

        public final java.lang.String getRegex()
        Description copied from interface: CDOEditorOpener
        Returns the regular expression that determines if the editor opener can open a certain URI.
        Specified by:
        getRegex in interface CDOEditorOpener
      • matchesRegex

        public final boolean matchesRegex​(org.eclipse.emf.common.util.URI uri)
        Description copied from interface: CDOEditorOpener
        Checks if the URI matches the regular expression of this editor opener.
        Specified by:
        matchesRegex in interface CDOEditorOpener
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object