ecore design [message #1389054] |
Fri, 27 June 2014 05:07  |
Eclipse User |
|
|
|
I have an ecore model with more than 20 packages. I have install Luna 4.4, Sirius today.
I want create a diagram from this ecore file. How can I do. No way to found in the menus of the .ecore file or in the model directory how to do even with the new menu.
|
|
|
|
|
|
Re: ecore design [message #1389259 is a reply to message #1389242] |
Fri, 27 June 2014 10:54   |
Eclipse User |
|
|
|
I am sorry for the three answers (this following text was supposed to be
in the first answer).
Note that you should just have to convert your Plugin project into a
Modeling project, but as mentionned in by Pierre Charles, in the Sirius
1.0.0 release mail, there is a known issue around the detection of
semantic models:
> * #436375: Semantic models not automatically detected when converting
> into a Modeling Project. A workaround is to add them manually to the
> session using the Project Dependencies of the modeling project (see
> [2]).
....
> [2]
https://www.eclipse.org/sirius/doc/user/general/Modeling%20Project.html#ProjectDependencies
Regards
Maxime
Le 27/06/2014 16:33, Maxime Porhel a écrit :
> One forgotten question: did you install Ecore Tools 2 ? It provides the
> Design Viewpoint I referenced in my previous message.
>
> Le 27/06/2014 16:31, Maxime Porhel a écrit :
>> Hi
>>
>> Le 27/06/2014 16:17, guillen antonio a écrit :
>>> I have an ecore model with more than 20 packages. I have install Luna
>>> 4.4, Sirius today.
>>>
>>> I want create a diagram from this ecore file. How can I do. No way to
>>> found in the menus of the .ecore file or in the model directory how to
>>> do even with the new menu.
>>>
>>
>>
>> You have at least two solutions after opening the Modeling perspective:
>>
>> 1. Create a new Modeling Project, then move your ecore in it (if it is a
>> sample) or reference if from the project dependencies item. Then select
>> right clic the project and use the Viewpoint selection menu to select
>> the Design Viewpoint.
>>
>> 2. Right clic on your ecore file and select New > Representation file.
>> Then right clic the created aird file and use the Viewpoint selection
>> menu to activate the Design Viewpoint.
>>
>> Then you should be able to create diagrams on your EPackages. (righ-clic
>> > New Representation > ..)
>>
>>
>> Kind regards,
>>
>> Maxime
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.29166 seconds