[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: transforming a tree-like model to a"flat" editpart hierachy

What do you mean by not clean? It does not look good, or that the code does not seem well written?

It does not seem to be well writen, I think.

how are you providing information for your models to be layed out? Is there a layout manager that positions them by simple index number, or are they evenly distributed within their parent?

Later I will try to layout it with Draw2D graph layout algorithm like in the flow example. Currently I have a representation object that holds the objects constraints. This object is create in the EditPartFactory and is then set as the model of the editpart. any model changes or operations are forwarded. with the use a graph layout algorithm I hope, I can remove it later...


Andreas