Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Viewpoint selection is empty with an XText DSL instance.
Viewpoint selection is empty with an XText DSL instance. [message #1738059] Fri, 15 July 2016 13:22 Go to next message
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 81
Registered: June 2016
Member
Hi all,

Using the last version of Sirius, I am trying to integrate an Xtext DSL with Sirius. More specifically, there is one part of meta-model instance that I would like to create using Sirius (table design).

The file-extension of my DSL is *.foo
The DSL instances files are of the form bar-1.0.0.foo

I do have a metamodel in my registry called foo.ecore I created two projects :
- foo.design that is a viewpoint specification project in which I configured the extension to be the same as the DSL one (foo)
- foo.model that is a modelling project containing a simple model (bar-1.0.0.foo)

Now the problem is that the view selection on the modelling project is empty. Whenever I had ecore in the list of supported extension and I had an ecore file to the modelling project then I can select the view.

At a certain point I got it working but honestly I do not know how. Deleting and starting over does not help.

Any clue on this?
thanks for your help

[Updated on: Fri, 15 July 2016 13:31]

Report message to a moderator

Re: Viewpoint selection is empty with an XText DSL instance. [message #1738064 is a reply to message #1738059] Fri, 15 July 2016 13:35 Go to previous messageGo to next message
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 81
Registered: June 2016
Member
I got it working .... by renaming the DSL instance from bar1.0.0.foo to bar2.0.0.foo
It seems to be a problem with the detection of semantic resources but I cannot reproduce it.
Re: Viewpoint selection is empty with an XText DSL instance. [message #1738238 is a reply to message #1738064] Mon, 18 July 2016 10:43 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

There was probably an issue when the model was initially added to the
session and that was updated correctly when you renamed the file. You
can tell us if you manage to reproduce.

Regards,
Steve

Le 15/07/2016 à 15:35, Steve Hostettler a écrit :
> I got it working .... by renaming the DSL instance from bar1.0.0.foo to
> bar2.0.0.foo
> It seems to be a problem with the detection of semantic resources but I
> cannot reproduce it.


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Set the attribute value through java method call
Next Topic:Saving a second (and third) model loaded into one diagram
Goto Forum:
  


Current Time: Tue Apr 23 10:08:00 GMT 2024

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

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

Back to the top