Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 371001 - expand orion.page.links.related to incorporate non-commands
Summary: expand orion.page.links.related to incorporate non-commands
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.5 M1   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 14:59 EST by Susan McCourt CLA
Modified: 2012-04-11 13:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2012-02-08 14:59:55 EST
For 0.4, the orion.page.links.related extension works only with commands.  This is fine for internal hrefs or places where we want to make a command.

But there should be other ways to establish a link:

- if someone has defined a link scanner, they could define an orion.page.links.related extension that points to that link scanner and describes what property in the page target is scanned.  For example, one could add a link scanner for git hub repository names, and then define a related link extension that says "use this scanner on the property GitURL"

- A plugin shouldn't have to first define a navigate.command (which is what happens now) in order to then have a related link.  They should be able to specify validation properties and and href callback as part of the extension.  The command could just be a shortcut when you need the command anyway.

- It might also be nice to let the user specify a related link for a particular page.  We would need UI to determine whether the link should apply to all instances of the page, or just that page+resource, etc.  It's sort of like the user being able to generate the plug-in.
Comment 1 Susan McCourt CLA 2012-04-11 13:56:01 EDT
fixed.  See http://wiki.eclipse.org/Orion/Plugin_API_Changes/R0.5