|
|
|
Re: how to save model file using xmi? [message #635561 is a reply to message #635481] |
Wed, 27 October 2010 10:57 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
It sounds like you'll want to use XMIResource.OPTION_USE_XMI_TYPE.
popjxc wrote:
> Ed Merks wrote on Tue, 26 October 2010 11:44
>> Be sure to use a resource factory that created XMIResourceImpl
>> instances for serializing and deserializing your model.
>
>
> I have already use the extension:
> <extension point="org.eclipse.emf.ecore.extension_parser"
> id="resource-factory">
> <?gmfgen generated="true"?>
> <parser
> type="apj"
>
> class=" org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactor y ">
> </parser>
> </extension>
>
>
> And the GMFResourceFactory is the subclass of XMIResourceFactoryImpl.
> I guess it will use XMIResourceImpl to serialize my model. Need I to
> do something more?
>
> I'm a beginner of GMF, So could you give me a detail explain?
>
> Thanks.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04551 seconds