Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Unable to set a viewpoint based on table on existing project
Unable to set a viewpoint based on table on existing project [message #1412126] Mon, 25 August 2014 10:54 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
Hi,

I'm trying to modify an existing project using Sirius to enable graphical feature and to make it more user friendly.

I encounter a problem trying to create a viewpoint based on table.
The table (rows and columns) are always empty.
In fact, a viewpoint based on diagram works well!

I don't know what could be the difference between the two of them...

Thanks for your help

Greetings
Miguel

[Updated on: Mon, 25 August 2014 11:25]

Report message to a moderator

Re: Unable to set a viewpoint based on table on existing project [message #1412170 is a reply to message #1412126] Mon, 25 August 2014 13:14 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 252
Registered: July 2009
Senior Member
Le 25/08/2014 12:54, Miguel Dalcampo a écrit :
> Hi,
>
> I'm trying to modify an existing project using Sirius to enable
> graphical and user friendly.
>
> I encounter a problem trying to create a viewpoint base on table.
> In fact, a viewpoint based on diagram works well!
>
> I don't know what could be the difference between the two of them...
>
> Thanks for your help
>
> Greetings
> Miguel

See response on duplicated post [1] with same subject.

[1] https://www.eclipse.org/forums/index.php/t/802743/

--
Laurent - Obeo

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


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Unable to set a viewpoint based on table on existing project [message #1412176 is a reply to message #1412170] Mon, 25 August 2014 13:30 Go to previous messageGo to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
More information:

I am using Eclipse Kepler with Sirius 1.0

Re: Unable to set a viewpoint based on table on existing project [message #1412846 is a reply to message #1412176] Wed, 27 August 2014 08:14 Go to previous messageGo to next message
Franck MIMET is currently offline Franck MIMETFriend
Messages: 28
Registered: August 2014
Junior Member
My problem is that when I create two representations, one is working (the diagram), whereas the other doesn't...

Domain Class is the same for the two representations.
Domain Class is the same for the Diagram Node and the Line.

And Header Label Expression (Line) and Label Expression (Style) are the same.


Is anyone got an idea?
Is there any restriction for using Table representations?

Miguel
Re: Unable to set a viewpoint based on table on existing project [message #1413269 is a reply to message #1412846] Thu, 28 August 2014 07:13 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 252
Registered: July 2009
Senior Member
Hi,

Le 27/08/2014 15:17, Miguel Dalcampo a écrit :
> My problem is that when I create two representations, one is working
> (the diagram), whereas the other doesn't...
>
> Domain Class is the same for the two representations.
> Domain Class is the same for the Diagram Node and the Line.
>
> And Header Label Expression (Line) and Label Expression (Style) are the
> same.
>
>
> Is anyone got an idea?

Your table is a cross table or an edition table?
Do you have some columns defined in your table?
What do you mean by "the other doesn't working"? Can you give more details?

> Is there any restriction for using Table representations?
>
> Miguel

Regards,

--
Laurent - Obeo

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


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Unable to set a viewpoint based on table on existing project [message #1413275 is a reply to message #1413269] Thu, 28 August 2014 07:33 Go to previous messageGo to next message
Franck MIMET is currently offline Franck MIMETFriend
Messages: 28
Registered: August 2014
Junior Member
Hi,

Laurent, in response to your questions:

My table is an edition table in which I defined only a row and a column at the moment, but more columns will be added.

The table remains empty at runtime, that's why I said that "the other doesn't work" Rolling Eyes

In parallel, I defined an other representation (a diagram with only a node and a style). The nodes appear at runtime.

The provided tutorials are based on diagram, so it is easier to make it works.
Have you got examples for the others representations?


Despite my problem, I am still thinking that Sirius is a great tool.
Congratulations to make it available in open source. Surprised

Regards,
Miguel
Re: Unable to set a viewpoint based on table on existing project [message #1413285 is a reply to message #1413275] Thu, 28 August 2014 07:56 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 252
Registered: July 2009
Senior Member
Le 28/08/2014 09:33, Miguel Dalcampo a écrit :
> Hi,
>

Hi,

> Laurent, in response to your questions:
>
> My table is an edition table in which I defined only a row and a column
> at the moment, but more columns will be added.
>
> The table remains empty at runtime, that's why I said that "the other
> doesn't work" :roll:
> In parallel, I defined an other representation (a diagram with only a
> node and a style). The nodes appear at runtime.
>
> The provided tutorials are based on diagram, so it is easier to make it
> works.
> Have you got examples for the others representations?
>

You can get an example of table at EcoreTools [1] that is based on
Sirius. This is an Eclipse open source project too.
The VSM is here [2].

>
> Despite my problem, I am still thinking that Sirius is a great tool.
> Congratulations to make it available in open source. :o
> Regards,
> Miguel
>

[1] https://www.eclipse.org/ecoretools/
[2]
http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/tree/org.eclipse.emf.ecoretools.design/description/ecore.odesign?id=bbd8f33e8d38664b4f19a3be4f7be0aee0d59e3c

Best regards,

--
Laurent - Obeo

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


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Unable to set a viewpoint based on table on existing project [message #1413289 is a reply to message #1413285] Thu, 28 August 2014 08:08 Go to previous message
Franck MIMET is currently offline Franck MIMETFriend
Messages: 28
Registered: August 2014
Junior Member
Thank you for your help, Laurent.

I gonna have a look on this project.

Previous Topic:EEF Integration
Next Topic: Acceleo queries defined in the .mtl files are not working when the project is deployed as a plug-in
Goto Forum:
  


Current Time: Mon Apr 06 19:12:34 GMT 2020

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

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

Back to the top