Skip to main content



      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 08:45 Go to next message
Eclipse UserFriend
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 11:16] by Moderator

Re: customize URIHandlerImpl [message #1063852 is a reply to message #1063841] Fri, 14 June 2013 09:51 Go to previous messageGo to next message
Eclipse UserFriend
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 11:15 Go to previous message
Eclipse UserFriend
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 Jul 23 18:43:40 EDT 2025

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

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

Back to the top