Class HyperlinkDetectorDescriptor


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

      • getContributedHyperlinkDetectors

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

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

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

        public HyperlinkDetectorTargetDescriptor getTarget()
        Returns the hyperlink detector's target descriptor.
        Returns:
        the hyperlink detector's target descriptor
      • getTargetId

        public String getTargetId()
        Returns the hyperlink detector's target id.
        Returns:
        the hyperlink detector's target id
      • getDescription

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

        public String getModifierKeys()
        Returns the hyperlink detector's modifier keys that need to be pressed for this hyperlink detector.
        Returns:
        the hyperlink detector's description or null if not provided
      • canActivatePlugIn

        public boolean canActivatePlugIn()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object