|
|
|
|
|
Re: File names of all the resources in workspace [message #648217 is a reply to message #648150] |
Tue, 11 January 2011 20:26 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Jake,
sorry, but I have the strong impression that I'm doing your homework ...
Nevertheless:
<copy'n'paste from the documentation which is available as Eclipse help>
Customizing Available Hyperlinks
The hyperlinks are provided by the HyperlinkHelper which will create
links for cross-referenced objects by default. Clients may want to
override createHyperlinksByOffset(XtextResource, int,
IHyperlinkAcceptor) to provide additional links or supersede the default
implementation.
</end>
Create instances of XtextHyperlink, configure their URI and pass them
into the acceptor. Please look at HyperlinkHelper#createHyperlinksTo to
learn more about the API.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 11.01.11 14:49, schrieb Jake:
> Thankyou very much!
>
> with this:
>
> uriEditorOpener.open(description.getURI(), true);
>
> I'm able to open the correct file, but there is just a problem. The file
> is opening without any click! I mean, simple passing with the cursor and
> ctrl/cmd pressed. Any idea?
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03535 seconds