| [news.eclipse.tools.gef] Re: Paintorder of editparts? |
Wow. I hope this is not production-level code. You don't actually expect us to read and make sense of all that you've posted, do you?
I took a quick look and here are a few things that caught my eye: 1) You're setting XYLayout on a Polyline and then adding other figures to that Polyline. Polyline is not meant to be used this way. Look at its Javadoc.
I will check it out.
2) In your post you said you're using a border, but I didn't see one being used anywhere. You're just placing children figures at desired locations, but not actually using a Border.
Actual what i want to to is make a polyline shape, wehre each edge can be moved removed. And what you see was my solution. But any hints on how to do it right are welcome
regards
Max