bring to front [message #205029] |
Sat, 10 December 2005 11:47  |
Eclipse User |
|
|
|
Originally posted by: marguu.libero.it
Hi all! i have a problem working on my own gef editor. I'd like to paint a
new shape in my editor always on top. How Can I obtain it? Thanks
|
|
|
Re: bring to front [message #205036 is a reply to message #205029] |
Sat, 10 December 2005 16:55  |
Eclipse User |
|
|
|
Look at the getModelChildren() method of you container edit part.
The order in which the edit parts will be placed is the order of the
models in the list returned by getModelChildren().
so if yor getModelChildren() method looks like this:
protected List<MyModelChild> getModelChildren() {
return getModel().getChildren();
}
than the edit part of getChildren().get(1) will be placed on top of the
edit part of getChildren().get(0) and etc...
|
|
|
Powered by
FUDForum. Page generated in 0.03599 seconds