Take a statechart. Color a state. See that the state is colored and changes the color.
Simulate the statechart.
Color another state. See that the properties are changed, but the color of the state does not change visually.
After closing an reopening the sct file is visible.
Detailed analysis:
After setting the background color the following classes are involved:
-> ResizeableCompartmentEditPart (gmf.runtime..) line 323 'scrollPane.setBackgroundColor()' --> Figure (draw2d) line 1478 repaint() ... line 1423 getUpdateManager() -> DeferredUpdateManager queueWork() variable updateQueued should be FALSE, but is TRUE after simulation. Because of this it is not visualized. Somehow the variable was set but no performUpdate() called afterwards.
Solution Idea: Class DefaultDynamicNotationHandler.terminate() -> clean up more...
This is a BUG: How to reproduce:
Detailed analysis: After setting the background color the following classes are involved: -> ResizeableCompartmentEditPart (gmf.runtime..) line 323 'scrollPane.setBackgroundColor()' --> Figure (draw2d) line 1478 repaint() ... line 1423 getUpdateManager() -> DeferredUpdateManager queueWork() variable updateQueued should be FALSE, but is TRUE after simulation. Because of this it is not visualized. Somehow the variable was set but no performUpdate() called afterwards.
Solution Idea: Class DefaultDynamicNotationHandler.terminate() -> clean up more...