Class HyperlinkDetectorTargetDescriptor


  • public final class HyperlinkDetectorTargetDescriptor
    extends java.lang.Object
    Describes a contribution to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets' extension point.
    Since:
    3.3
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • getContributedHyperlinkDetectorTargets

        public static HyperlinkDetectorTargetDescriptor[] getContributedHyperlinkDetectorTargets()
        Returns descriptors for all hyperlink detector extensions.
        Returns:
        an array with the contributed hyperlink detectors
      • getId

        public java.lang.String getId()
        Returns the hyperlink detector target's id.
        Returns:
        the hyperlink detector target's id
      • getName

        public java.lang.String getName()
        Returns the hyperlink detector target's name.
        Returns:
        the hyperlink detector target's name
      • getTypes

        public java.lang.String[] getTypes()
        Returns the types that the context of this hyperlink detector target supports.
        Returns:
        an array with type names that this target's context supports
      • getDescription

        public java.lang.String getDescription()
        Returns the hyperlink detector target's description.
        Returns:
        the hyperlink detector target's description or null if not provided
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object