How to control editor properties from the code
We have some editor properties like apply some style-sheet or make is visible etc...
Can i control that from code? Like for one condition apply style1 to the concept DSL and for other condition apply style2 for the concept DSL.
Please sign in to leave a comment.
From which code? Cell styles support 'apply-if' functionality where you specify a style to apply and a condition (query function) when to apply it.
Hi Sergej: From java code i want to change the concept editor style.
I know how to do that using inspector window and customizing the style my question is how we can do that using java code(If there is any programmatic way to do)
Sanjit: what is the context of that code? You can access styles using EditorCell#getStyle(), modify them using Style#set(), Style#putAll(), etc.