Skip to main content



      Home
Home » Eclipse Projects » Sirius » Table column derivation and if else(Table column derivation and ( if else))
Table column derivation and if else [message #1802151] Fri, 01 February 2019 22:52 Go to next message
Eclipse UserFriend
Hi,
When declaring derived attributes in my table it is working
and even when I'm using derived values whith (if else if else) the value computed is correcte but not displayed

What is the problem? :'(
should I use conditional background even if all is defined in the meta-model??????

Thanks in advance

[Updated on: Sat, 02 February 2019 21:13] by Moderator

Re: Table column derivation and if else [message #1802214 is a reply to message #1802151] Mon, 04 February 2019 05:57 Go to previous messageGo to next message
Eclipse UserFriend
Hello

I can't seem to understand your issue.
Do you intend to display the value of aderived attribute(declared so in your meta-model) in a cell of a Sirius Table or Cross-table.
Please provide a scenario with detailed steps and extracts of your odesign if necessary

regards
Laurent
Re: Table column derivation and if else [message #1802218 is a reply to message #1802214] Mon, 04 February 2019 08:37 Go to previous message
Eclipse UserFriend
Hi,
yeah exactly

I declared for a class a derived value in the form:
if else if else endif endif;

that means three cases
in the table of sirius, It displays the correct values but hidden
I have to clic on each cell to see the value

(class test
{
attribute derivedValue: String
{ derivation: if(cond1) then value 1 else (if(cond2) then value 2 else value3) endif) endif;}
}
)

In sirius I just used derivedValue as the table is defined for the class test

[Updated on: Mon, 04 February 2019 08:38] by Moderator

Previous Topic:How to enable and disable Node from Palette
Next Topic:"diagram" variable is gone
Goto Forum:
  


Current Time: Wed Jul 23 13:46:28 EDT 2025

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

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

Back to the top