Hello all!
I set up in my plugin to create new format styles. However, after I specify the primitive, for example, IStyle.PRIMITIVE_SHAPE_TYPE_RECTANGLE for the style, its setting automatically sets Text: Custom instead of the default Text: Name. Therefore, when I apply this style - the names of the diagram elements are not displayed. I need to manually change the Text parameter and re-save the style. I still do not understand how to switch this property back to Text: Name.
Please help me to solve this problem.