facebook

Extensible hyperlink detection

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #286782 Reply

    Hi,

    One of the new features in the Eclipse 3.3 platform is extensible hyperlink detection.
    From the help pages:

    “Clients can use the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors extension point to add their own hyperlink detectors and can enable their viewers using the corresponding methods in the source viewer configuration along with the org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets extension point.”

    Is it possible to create my own hyperlink detector on top of the existing editors? I can’t find a good starting point in the help pages to realize this.

    Thanks!

    Teun Hoogendoorn

    #286824 Reply

    Loyal Water
    Member

    Moving to Off topic >> Software Development.

    #287021 Reply

    Hi,

    I’ve figured it out.

    It can be done by writing a plugin that defines an extension for: org.eclipse.ui.workbench.texteditor.hyperlinkDetectors
    with the following targetId: org.eclipse.ui.DefaultTextEditor
    and a class that’s extends: org.eclipse.jface.text.hyperlink.AbstractHyperlinkDetector

    Greetings,

    Teun Hoogendoorn

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Extensible hyperlink detection

You must be logged in to post in the forum log in