Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how does a composite tell if it is visible?
how does a composite tell if it is visible? [message #443363] Thu, 23 September 2004 13:19
Eclipse UserFriend
if a composite is embedded in a layout somewhere in a parent chain - how
can the composite track if it is visible or not? the composite is an
observer and it would like to switch its observing behavior depending on
whether it is visible or not.

i see that:
o setVisible sends put a "show" event - slthough it is not clear to me
which kind of listener to add - but this would require a listener to
every parent on the chain.
o if i listen to every parent - how would i notice a new setParent
somewhere in the chain - i don't see setParent sending out an event.

thanks-
Previous Topic:Using a Composite within a JFace Application Window
Next Topic:Table UI artifacts with ProgressBar
Goto Forum:
  


Current Time: Wed Jul 16 18:47:18 EDT 2025

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

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

Back to the top