Cell alternation
I was trying to define a special editor for a field of a concept that is only visible if another (boolean) property is set to true. Cell alternation component is perhaps what I need. However, its condition is only evaluated when an editor for a concept is opened.
What is needed is the dynamic behaviour: when a boolean property changes from false to true, the new cell appears.
Is it possible to achive with available editor cells?
Please sign in to leave a comment.
Igor Karpov wrote:
I think it is our a bug.
We rebuild editor structure only if something in tree changes (when
property changes we are only resize and update cells in editor), but
when you change proprety tree isn't changed, only property. As a
workaround you can define dummy agregation link with 1:0..1 cardinality,
use null as false and other values as true.
We can't fix this bug right now because it will significantly degrade
editing performance.
Igor Karpov wrote:
Thanks.
Sumbited MPS-333
http://www.jetbrains.net/jira/browse/MPS-333