How to implement scoping and validation for an element at same time [message #1795618] |
Wed, 26 September 2018 05:00  |
Eclipse User |
|
|
|
Hi,
I have Implemented scoping for an element
contentRef<Dropdown list which match some condition >
element in drop down list has implementation with a value for USED as : USED True/False
drop down list will contain elements with USED as True
So in contentRef dropdown it is contain elements with USED as True
Now if in future , if user changes the USED from True to False it should throw error from validation but it is not throwing
Eg :
Correct Example:
abc {
contentRef measureVal
}
measureVal {
USED True
}
measureValue2{
USED False
}
Now user changes the value of USED in measureVal from True to False then contentRef should throw an error from validation but it is not throwing error from validation.Instead it is just throwing a general error as : "Couldn't resolve reference to EObject 'measureVal'."
Wrong example :
abc {
contentRef measureVal //it will throw error as "Couldn't resolve reference to EObject 'measureVal" but I want customized error message
}
measureVal {
USED False
}
measureValue2{
USED False
}
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.26711 seconds