Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Extending xsd.edit(Extending xsd.edit)
Extending xsd.edit [message #1064792] Fri, 21 June 2013 07:24 Go to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Hi,

I have extended the org.eclipse.xsd module : among others I extended the model class XSDAnnotation.

Next I would like to extend the org.eclipse.xsd.edit module.

I am running now into a problem: the XSDItemProviderAdapter does not use getResourceLocator() to get a ResourceLocator, but uses XSDEditPlugin.INSTANCE (for example in getCreateChildImage).

This does not work for my extended XSDAnnotation class : the resources for the extended XSDAnnotation cannot be found.

Is this a bug, or do I miss something obvious?

Kind Regards,

Arjan Kok

Re: Extending xsd.edit [message #1064804 is a reply to message #1064792] Fri, 21 June 2013 07:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Arjan,

Unfortunately it's not been regenerated in a very long time so isn't
using all the latest patterns so while not a bug, it's certainly
something that could be improved. All the hand written code would have
to be revisited as well. If you open a bugzilla, that's something I
could look into for XSD 2.10.


On 21/06/2013 9:24 AM, Arjan Kok wrote:
> Hi,
> I have extended the org.eclipse.xsd module : among others I extended
> the model class XSDAnnotation.
>
> Next I would like to extend the org.eclipse.xsd.edit module.
>
> I am running now into a problem: the XSDItemProviderAdapter does not
> use getResourceLocator() to get a ResourceLocator, but uses
> XSDEditPlugin.INSTANCE (for example in getCreateChildImage).
>
> This does not work for my extended XSDAnnotation class : the resources
> for the extended XSDAnnotation cannot be found.
>
> Is this a bug, or do I miss something obvious?
>
> Kind Regards,
> Arjan Kok
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Extending xsd.edit [message #1065063 is a reply to message #1064804] Mon, 24 June 2013 08:10 Go to previous messageGo to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Hi Ed,

Thanks. I will enter a bugzilla. Is there a release date for XSD 2.10?

Arjan.
Re: Extending xsd.edit [message #1065068 is a reply to message #1065063] Mon, 24 June 2013 08:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Arjan,

That will be part of the Luna release June of next year. The 2.9
release is completed for this week on the 26th, so it's too late for
that, and it's not a change suitable for a maintenance stream. But
there will be builds for the 2.10 stream you could use.


On 24/06/2013 10:10 AM, Arjan Kok wrote:
> Hi Ed,
>
> Thanks. I will enter a bugzilla. Is there a release date for XSD 2.10?
>
> Arjan.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Extending xsd.edit [message #1065293 is a reply to message #1065068] Tue, 25 June 2013 09:20 Go to previous message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
I created bugzilla 411566 for this issue.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=411566
Previous Topic:Problems with complexType
Next Topic:src-resolve.4.2 error resolving component it was detected that is in namespace
Goto Forum:
  


Current Time: Fri Apr 19 08:57:15 GMT 2024

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

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

Back to the top