Label Expression :: "Unknown EMF Problem" [message #1712258] |
Thu, 22 October 2015 08:51  |
Eclipse User |
|
|
|
I have table with Feature Column that has the following label expression:
aql:if self.oclIsTypeOf(myDsl::SomeType) then self.name endif
I would like to show the name attribute only when the line is of type SomeType.
The above code works well, the table shows what i wanted.
The problem:
when i click the "Validate Model" on the Sirius Specification Editor, I get an Error:
ErrorExpression my.odesign /my.studio/description Unknown EMF Problem
What can cause it? how do I fix it?
Another problem is that if i change the code to be more readable with new lines (\n), then the editor replace everything after the first new line with "...." and the code is gone (I think it's a bug)!
aql:if self.oclIsTypeOf(myDsl::SomeType)
then self.name
endif
The above code is replaced with the following (bad) code.
aql:if self.oclIsTypeOf(myDsl::SomeType) ...
I'm using the latest 3.1.0
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03615 seconds