Class HyperlinkDetectorTargetDescriptor

java.lang.Object
org.eclipse.ui.texteditor.HyperlinkDetectorTargetDescriptor

public final class HyperlinkDetectorTargetDescriptor extends 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 Details

    • getContributedHyperlinkDetectorTargets

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

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

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

      public 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 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(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object