Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFStore] and UML2
[EMFStore] and UML2 [message #825005] Tue, 20 March 2012 10:40 Go to next message
Peter Mising name is currently offline Peter Mising nameFriend
Messages: 95
Registered: July 2009
Member
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 #825430 is a reply to message #825005] Tue, 20 March 2012 20:45 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
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 #825816 is a reply to message #825430] Wed, 21 March 2012 09:37 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
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 #825854 is a reply to message #825816] Wed, 21 March 2012 10:36 Go to previous messageGo to next message
Peter Mising name is currently offline Peter Mising nameFriend
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 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
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
>>>
>>
>
Previous Topic:[EEF] Generation of Containment References with upper bound = 1
Next Topic:[EEF] PropertiesEditingSemanticLister usage of setTarget
Goto Forum:
  


Current Time: Thu Sep 26 16:45:36 GMT 2024

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

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

Back to the top