HyperlinkHelper and proxy resolution [message #1784260] |
Sun, 25 March 2018 13:00 |
Neeraj Bhusare Messages: 177 Registered: July 2009 Location: Canada |
Senior Member |
|
|
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.
Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
|
|
|
|
Re: HyperlinkHelper and proxy resolution [message #1784262 is a reply to message #1784261] |
Sun, 25 March 2018 14:05 |
Neeraj Bhusare Messages: 177 Registered: July 2009 Location: Canada |
Senior Member |
|
|
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
Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
|
|
|
Powered by
FUDForum. Page generated in 0.03009 seconds