Skip to main content



      Home
Home » Eclipse Projects » GEF » Container Highlight edit policy
Container Highlight edit policy [message #45971] Wed, 27 November 2002 10:36
Eclipse UserFriend
I created my own Container Highlight edit policy (based on
ContainerHighlightEditPolicy in logic editor example) so that when my mouse
is over a container, it changes the background color.

However, if the mouse is over a child component of that container, it does
not change the background color.
How can I change my edit policy so that the container will change its
background color even when the mouse is over its children?

I was thinking I add the ContainerHighlight edit policy to every children,
but that won't work because i want the backgound of the whole parent
container changed when the mouse is over the child.

Thanks for any help.
Previous Topic:having problem with mouselistener...
Next Topic:Change the Container Size as the child size changed?
Goto Forum:
  


Current Time: Mon Jul 07 18:36:48 EDT 2025

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

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

Back to the top