|
|
|
|
|
Re: EMF Form Editor for a WS-Policy ecore model [message #640590 is a reply to message #640469] |
Mon, 22 November 2010 14:52 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Tom,
Comments below.
Tom Sattler wrote:
> Hi,
>
> I register the created ItemProviderAdapterFactories like done in the
> generated editors. But when I like to create a resource, there is no
> content. The DocumentRootImpl is used in the generated editors to
> provide the 'Policy' element and apears in the content of the resource.
> In my own built editor it still give the error which I already mentioned.
So in each case, you've set a breakpoint in your resource factory to see
that it's really being used to create the resource?
> Where is the content set exactly?
>
> Do I need to register the ResourceFactory more often than only in the
> initializeEditingDomain() ?
Typically, for an Eclipse application, you'd register it in the plugin.xml.
> You said against the extension.
Yes, doing that locally should do the trick to avoid conflicts. Using
the debugger to very it's being used is a good idea.
>
> Thanks for your advices.
> Regards
>
> Tom
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03795 seconds