Skip to main content



      Home
Home » Modeling » TMF (Xtext) » HyperlinkHelper and proxy resolution
HyperlinkHelper and proxy resolution [message #1784260] Sun, 25 March 2018 09:00 Go to next message
Eclipse UserFriend
Hi,

The "HyperlinkHelper" expects all the cross-references to be resolved (PS - createHyperlinksByOffset(..)). Is this correct behavior?

The method createHyperlinksTo() merely uses the resolved object to get its URI (EcoreUtil.getURI(target)), which can be obtained from a proxy too.

I hope I am not missing something here. Tx in advance.



Re: HyperlinkHelper and proxy resolution [message #1784261 is a reply to message #1784260] Sun, 25 March 2018 09:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi can you be a bit more specific on what you want to achieve.
You can customize HyperlinkHelper if you want
Re: HyperlinkHelper and proxy resolution [message #1784262 is a reply to message #1784261] Sun, 25 March 2018 10:05 Go to previous message
Eclipse UserFriend
Hi Christian, Tx for your reply. I have customized the HyperlinkHelper and it works for me.
I was thinking about the original implementation. I initially thought that it should NOT expect all the objects to be resolved, but after thinking a bit more I realized that the behavior is correct. Neither the HyperlinkHelper nor the URIEditorInput does the resolution.

Tx
Previous Topic:Serializing model
Next Topic:Rename element gives NPE
Goto Forum:
  


Current Time: Fri Jun 20 18:53:47 EDT 2025

Powered by FUDForum. Page generated in 0.04702 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top