I would like to know how to create and implement a custom hyperlink in the Eclipse UI - I do not want to make a complete custom editor, if at all possible - just add to my current ability to ctrl+click on an series of characters and automatically navigate straight to a matching reference.

I am not incredibly familiar with making Eclipse plugins, but I'm guessing that will be required.

I am good with regular expressions, if that helps.

I imagine it would be possible with some sort of declarative syntax (text that matches this pattern links to any lines that look like this in these files, or something)

Two of the things I've wanted to do are find a jsp file based upon a function that returns a string that matches one of those jsp files OR find one or more JavaScript functions in source code that use a particular name (these seem like they might be more complex than a declarative syntax would support)

If there are already one or more plugins that allow me to declare a "rule" like that, that would also work, but one or more tutorials on the topic would be excellent - Thanks!