Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Beginner-Unable to show Viewpoint in Viewpoints Selection(Beginner-Unable to show Viewpoint in Viewpoints Selection)
Beginner-Unable to show Viewpoint in Viewpoints Selection [message #1489607] Thu, 27 November 2014 14:17 Go to next message
jack reacher is currently offline jack reacherFriend
Messages: 5
Registered: May 2013
Junior Member
Hi all,

I am new to Sirius. I tried to create a new model designer from scratch but to no avail. Here is what I did.

-Downloaded Eclipse modeling for Luna.

-Installed "Sirius Specification Environment" from Luna update site.

-Created a blank workspace

-Created a new "Ecore Modeling Project" called "test.mymodel" and in "Design" Viewpoint draw a model called "mymodel". Mymodel has 3 classes "Model", "Entity" and "Field". Each one has a "name" attribute which is EString. Model has Entities and Entities have Fields. At this point I have mymodel.ecore and mymodel.genmodel.

-Created a new "Viewpoint Specification Project" called "test.designer" with "mymodel.odesign" file.

-Created a new "Viewpoint" under mymodel with id "My Viewpoint" and "mymodel" file extension.

-Created a new "Diagram Description" under "My Viewpoint" with id "My Diagram". At this point I couldn't see any of my ecore classes under "Domain Class". So I closed and re-opened eclipse.

-I could see "mymodel.Model" with auto-completion and assigned "mymodel.Model" to "Domain Class" field of "My Diagram" diagram description.

-Created a blank "Modeling Project" named "test.mymodel.testing" and I right clicked to project and selected "Viewpoint Selection" but Viewpoint Selection was empty.

Now at this point shouldn't I see the newly created "My Viewpoint"?

Thanks in advance for any help.

Edit: Typo

[Updated on: Thu, 27 November 2014 14:18]

Report message to a moderator

Re: Beginner-Unable to show Viewpoint in Viewpoints Selection [message #1490939 is a reply to message #1489607] Fri, 28 November 2014 15:20 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 236
Registered: August 2010
Senior Member
On 11/27/2014 03:17 PM, jack reacher wrote:
> Hi all,

Hi,

Comment below
>
> I am new to Sirius. I tried to create a new model designer from scratch
> but to no avail. Here is what I did.
>
> -Downloaded Eclipse modeling for Luna.
> -Installed "Sirius Specification Environment" from Luna update site.
>
> -Created a blank workspace
>
> -Created a new "Ecore Modeling Project" called "test.mymodel" and in
> "Design" Viewpoint draw a model called "mymodel". Mymodel has 3 classes
> "Model", "Entity" and "Field". Each one has a "name" attribute which is
> EString. Mode has Entities and Entities have Fields. At this point I
> have mymodel.ecore and mymodel.genmodel.
>
> -Created a new "Viewpoint Specification Project" called "test.designer"
> with "mymodel.odesign" file.
>
> -Created a new "Viewpoint" under mymodel with id "My Viewpoint" and
> "mymodel" file extension.
>
> -Created a new "Diagram Description" under "My Viewpoint" with id "My
> Diagram". At this point I couldn't see any of my ecore classes under
> "Domain Class". So I closed and re-opened eclipse.


You have to first generate your meta-model ("Entity" Field" etc.) and
deploy it within your environment. Your model is currently a simple
model based on ecore, Diagram Descriptions and all other mappings like
container mappings, node mappings are defined over a meta-model. You
will express that an Entity, for instance, is represented by a
container. Each entity instances will next be visible as a container in
your diagram.

I suggest you to take a look on this tutorial:
http://eclipse.org/sirius/getstarted.html
>
> -I could see "mymodel.Model" with auto-completion and assigned
> "mymodel.Model" to "Domain Class" field of "My Diagram" diagram
> description.
>
> -Created a blank "Modeling Project" named "test.mymodel.testing" and I
> right clicked to project and selected "Viewpoint Selection" but
> Viewpoint Selection was empty.
> Now at this point shouldn't I see the newly created "My Viewpoint"?
>
> Thanks in advance for any help.
>


--
Florian - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Beginner-Unable to show Viewpoint in Viewpoints Selection [message #1494304 is a reply to message #1490939] Mon, 01 December 2014 10:56 Go to previous message
jack reacher is currently offline jack reacherFriend
Messages: 5
Registered: May 2013
Junior Member
Hi,

Thank you for your support. I resolved the problem by generating edit and editor plug-in projects and deploying the generated edit and editor plug-in projects to host repository.

Thank you...
Previous Topic:How to apply layout when creating new presentation
Next Topic:Add properties to the relational based edge
Goto Forum:
  


Current Time: Sun Apr 05 23:36:16 GMT 2020

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

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

Back to the top