Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » bring to front
bring to front [message #205029] Sat, 10 December 2005 11:47 Go to next message
Eclipse UserFriend
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 Go to previous message
kiril mitov is currently offline kiril mitovFriend
Messages: 128
Registered: July 2009
Senior Member
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...
Previous Topic:XYLayoutPolicy Ignores Position of Nodes
Next Topic:recording anchor point position changes
Goto Forum:
  


Current Time: Wed Jan 22 09:06:53 GMT 2025

Powered by FUDForum. Page generated in 0.03503 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top