Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Sat, 02 February 2019 03:52 Go to next message
argaz amazigFriend
Messages: 29
Registered: November 2018
Junior Member
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: Sun, 03 February 2019 02:13]

Report message to a moderator

Re: Table column derivation and if else [message #1802214 is a reply to message #1802151] Mon, 04 February 2019 10:57 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
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


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Table column derivation and if else [message #1802218 is a reply to message #1802214] Mon, 04 February 2019 13:37 Go to previous message
argaz amazigFriend
Messages: 29
Registered: November 2018
Junior Member
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 13:38]

Report message to a moderator

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


Current Time: Fri Mar 29 16:03:21 GMT 2024

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

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

Back to the top