i am facing a strange problem, that i can't explain.
I try to implement my first editor for the Ecore-Meta model with Graphiti.
Actually i am able to add rectangle for EClasses. But i have a problem with the name.
I use Text as graphicsalgorithm.
I set explicitly text.setForeground(...(BLACK)), but the name is red.
I change the foreground color to green, it is still red
No matter what color(different from red) i used, the name is still red.
I can not explain this and i also don't know, what is wrong.
If someone can give some tips, i will really appreciate.