Unable to set a viewpoint based on table on existing project [message #1412126] |
Mon, 25 August 2014 10:54 |
Eclipse Guest 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 #1413269 is a reply to message #1412846] |
Thu, 28 August 2014 07:13 |
|
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 #1413285 is a reply to message #1413275] |
Thu, 28 August 2014 07:56 |
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.06229 seconds