[EMF Forms] Show Rule not working if condition is an Enum Feature [message #1440255] |
Wed, 08 October 2014 02:00  |
Eclipse User |
|
|
|
Hi
I have 2 Groups in a form. 1st group has a Enum Combo.
Based on the value in the Combo, i need to decide to show or not show the 2nd Group.
So on the 2nd Group, i created a Show Rule, Enabled the Rule and in the Leaf Condition i added the Feature Reference to the Enum Variable in my Model. then on the leaf condition if i click on select object to get the popup to mention the Enum Value, i see nothing really happening.
therefore doubt if enum is supported in the Leaf Condition of Show Rule or Enable Rule. not sure if i am making a mistake. But if i put an integer or boolean as Feature Reference then Select Object is opening up the dialog.
Regards
Malai
|
|
|
|
Re: [EMF Forms] Show Rule not working if condition is an Enum Feature [message #1440338 is a reply to message #1440255] |
Wed, 08 October 2014 04:26   |
Eclipse User |
|
|
|
Hi,
Enum is definitly supported, I would say 90% of the use cases are Enums.
I am not sure, what is wrong here, which version do you use?
Can you reproduce this with an example model?
Best regards
Jonas
Am 08.10.2014 08:00, schrieb Annamalai Chockalingam:
> Hi
>
> I have 2 Groups in a form. 1st group has a Enum Combo.
> Based on the value in the Combo, i need to decide to show or not show
> the 2nd Group.
> So on the 2nd Group, i created a Show Rule, Enabled the Rule and in the
> Leaf Condition i added the Feature Reference to the Enum Variable in my
> Model. then on the leaf condition if i click on select object to get the
> popup to mention the Enum Value, i see nothing really happening.
>
> therefore doubt if enum is supported in the Leaf Condition of Show Rule
> or Enable Rule. not sure if i am making a mistake. But if i put an
> integer or boolean as Feature Reference then Select Object is opening up
> the dialog.
>
> Regards
> Malai
|
|
|
|
|
Re: [EMF Forms] Show Rule not working if condition is an Enum Feature [message #1441787 is a reply to message #1440955] |
Fri, 10 October 2014 03:19  |
Eclipse User |
|
|
|
Did test it on 1.4.1 and it is working. On clicking on the Select Object button, i get a dialog with Enum List.
But now when i work with Direct Controls, refresh is awesome. But if i apply visibility to Group, then the refresh is bad. It doesnt expand the group. I need to maximise the editor and then the group appears.
This looks like a SWT Pack issue that we generally face during inserting new widgets or making their visibility true. Will try to attach a screenshot soon for better understanding.
|
|
|
Powered by
FUDForum. Page generated in 0.03638 seconds