[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: Background color of nodes lost when converting to GMF 2.2
|
Hello Peter,
Code generation was changed and I configm that diagram node color will be
reset if you are trying to open diagrams created by prev. version of diagram
editor using newly generated code.
If you need to store diagram node color you can change generated ???EditPart.setBackgroundColor()
method to:
protected void setBackgroundColor(Color color) {
super.setBackgroundColor(color);
}
The best solution will be: remove "FillStyle" (super-class of "ShapeStyle")
from such an elements on diagram openning.
-----------------
Alex Shatalin