[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Repainting Variable Custom Figures

Hello Jose,

But how to create the figure with an url that is not constant?I mean,
You can define as many subclasses of ScalableImageFigure as URIs in your configuration or you can just use proper URI ans pass it to the constructor on ScalableImageFigure creation time.

Other question is, to replace the old figure should i just replace
primaryShape with the new figure?What method should I call to repaint
the figure?
I think you have to just remove old image figure from it's parent and put new one there instead - the rest will be done by GEF for you.

-----------------
Alex Shatalin