Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Resolved] - [EMF] - Customize URIHandlerImpl(How to replace the default implementation of URIHandlerImpl)
[Resolved] - [EMF] - Customize URIHandlerImpl [message #1063841] Fri, 14 June 2013 12:45 Go to next message
Philippe EUGENE is currently offline Philippe EUGENEFriend
Messages: 28
Registered: January 2011
Junior Member
My goal is to replaced the default implementation of URIHandlerImpl.
I was convinced that there was an extension point that allowed to do that.
I can not find it.
I seem to have seen there is not very long (it was just a dream?)

Is that the only soluion is through this method?
EList uriHandlers resourceSet.getURIConverter = () getURIHandlers. ();
uriHandlers.add (0, new CustomURIHandlerImpl ());

[Updated on: Fri, 14 June 2013 15:16]

Report message to a moderator

Re: customize URIHandlerImpl [message #1063852 is a reply to message #1063841] Fri, 14 June 2013 13:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26223
Registered: July 2009
Senior Member
Philippe,

Comments below.

On 14/06/2013 2:45 PM, Philippe EUGENE wrote:
> My goal is to replaced the default implementation of URIHandlerImpl.
> I was convinced that there was an extension point that allowed to do
> that.
> I can not find it.
No, there isn't one.
> I seem to have seen there is not very long (it was just a dream?)
Yes, just wishful thinking...
>
> Is that the only soluion is through this method?
> EList uriHandlers resourceSet.getURIConverter = () getURIHandlers. ();
> uriHandlers.add (0, new CustomURIHandlerImpl ());
Yes, that's the only way. Does it need to be first? Are you trying to
augment one of the existing ones from
org.eclipse.emf.ecore.resource.URIHandler.DEFAULT_HANDLERS?
Re: customize URIHandlerImpl [message #1063866 is a reply to message #1063852] Fri, 14 June 2013 15:15 Go to previous message
Philippe EUGENE is currently offline Philippe EUGENEFriend
Messages: 28
Registered: January 2011
Junior Member
Ok, thank you for the answer.
In reality my real problem is a performance issue. I resolve this post and open an other one.
Previous Topic:[CDO] Security model
Next Topic:Cross-reference persistency
Goto Forum:
  


Current Time: Wed Nov 26 07:01:40 GMT 2014

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

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