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.

3 comments

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.

0

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) 

0

Sanjit: what is the context of that code? You can access styles using EditorCell#getStyle(), modify them using Style#set(), Style#putAll(), etc.

0

Please sign in to leave a comment.