|
|
|
Re: [EMFStore] and UML2 [message #825854 is a reply to message #825816] |
Wed, 21 March 2012 10:36 |
Peter Mising name Messages: 95 Registered: July 2009 |
Member |
|
|
Hi Jonas and Maximilian,
works well but it seems like that stereotypes are not supported and the
ECP approach is quite different...
I will look at it.
Thanks for you help!
Cheers
Peter
Am 21.03.2012 10:37, schrieb Jonas Helming:
> Hi,
> I would like to add the EMF Client Platform is probably not the best way
> to modify UML models, as it is very much focused on form-based editing.
> There are probably some parts which cannot be edited such as diagrams.
> Best Regards
> Jonas
>
>
> Am 20.03.2012 21:45, schrieb Maximilian Koegel:
>> Hi Peter,
>>
>> EMFStore uses EMF Client Platform (ECP) to provide editors for the
>> model. ECP has an extension point to allow to point to the model
>> packages that should be displayed in the new dialog. If no packages are
>> registered it tries to "guess" the right package by excluding all model
>> packages that ship with the Eclipse Modeling Tools including the UML2
>> package. Adding this extension will solve the problem:
>> <extension
>> point="org.eclipse.emf.ecp.model.ecppackage">
>> <modelPackage
>> modelPackage="http://www.eclipse.org/uml2/3.0.0/UML">
>> </modelPackage>
>> </extension>
>>
>> Cheers,
>> Maximilian
>>
>> Am 20.03.2012 11:40, schrieb Peter:
>>> Hi,
>>> I am interested to store my UML2 Models in an EMFStore Repository. As
>>> far as I understand the mechanism a model must be generated with the
>>> Containment Proxies option set to true. The UML2 Model is generated with
>>> the option set to true but it does not appear when I want to create a
>>> new model element. Does anybody know the problem? Because of the own
>>> GenModel?
>>> Thanks in advance
>>> Cheers Peter
>>
>
|
|
|
Re: [EMFStore] and UML2 [message #826646 is a reply to message #825854] |
Thu, 22 March 2012 10:27 |
Maximilian Koegel Messages: 253 Registered: July 2009 |
Senior Member |
|
|
Hi Peter,
you can use EMFStore without ECP with your own editors. A good starting
point to the API is WorkspaceManager.getInstance.getCurrentWorkspace().
Let me know if I can get you any more help!
Cheers,
Maximilian
Am 21.03.2012 11:36, schrieb Peter:
> Hi Jonas and Maximilian,
> works well but it seems like that stereotypes are not supported and the
> ECP approach is quite different...
> I will look at it.
> Thanks for you help!
> Cheers
> Peter
>
> Am 21.03.2012 10:37, schrieb Jonas Helming:
>> Hi,
>> I would like to add the EMF Client Platform is probably not the best way
>> to modify UML models, as it is very much focused on form-based editing.
>> There are probably some parts which cannot be edited such as diagrams.
>> Best Regards
>> Jonas
>>
>>
>> Am 20.03.2012 21:45, schrieb Maximilian Koegel:
>>> Hi Peter,
>>>
>>> EMFStore uses EMF Client Platform (ECP) to provide editors for the
>>> model. ECP has an extension point to allow to point to the model
>>> packages that should be displayed in the new dialog. If no packages are
>>> registered it tries to "guess" the right package by excluding all model
>>> packages that ship with the Eclipse Modeling Tools including the UML2
>>> package. Adding this extension will solve the problem:
>>> <extension
>>> point="org.eclipse.emf.ecp.model.ecppackage">
>>> <modelPackage
>>> modelPackage="http://www.eclipse.org/uml2/3.0.0/UML">
>>> </modelPackage>
>>> </extension>
>>>
>>> Cheers,
>>> Maximilian
>>>
>>> Am 20.03.2012 11:40, schrieb Peter:
>>>> Hi,
>>>> I am interested to store my UML2 Models in an EMFStore Repository. As
>>>> far as I understand the mechanism a model must be generated with the
>>>> Containment Proxies option set to true. The UML2 Model is generated
>>>> with
>>>> the option set to true but it does not appear when I want to create a
>>>> new model element. Does anybody know the problem? Because of the own
>>>> GenModel?
>>>> Thanks in advance
>>>> Cheers Peter
>>>
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04178 seconds