|
|
|
Re: xmi:id get lost when saving Resource [message #953485 is a reply to message #953471] |
Mon, 22 October 2012 09:27 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Jens,
Comments below.
On 22/10/2012 11:15 AM, Jens Bürger wrote:
> Am 19.10.2012 17:16, schrieb Ed Merks:
>> Is this running stand alone in an Eclipse application?
>
> I'm not 100% sure what you mean by this. The code is part of an
> Eclipse plug-in project. It has a main-method and run via the
> "Run As -> Java Application"-command.
So you're running it stand alone. No plugin.xml registrations will kick in.
>
>> What resource
>> implementation is resource2?
>
> It's an implementation of
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
No, a resource is not a resource set.
>> I.e., is it's UML2's specialized resource
>> implementation?
>
> Apparently not :)
So you need to be sure to register the necessary UML2 things. They have
some UMLUtil thingy that you can use to initialize a resource set. Ask
questions about UML2 on eclipse.modeling.mdt.uml2.
>
> Thanks,
>
> Jens
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03693 seconds