|
Re: ecore design [message #1389241 is a reply to message #1389054] |
Fri, 27 June 2014 14:31 |
|
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
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: ecore design [message #1389242 is a reply to message #1389241] |
Fri, 27 June 2014 14:33 |
|
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
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Re: ecore design [message #1389259 is a reply to message #1389242] |
Fri, 27 June 2014 14:54 |
|
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
>
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03279 seconds