Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:19
David Scott is currently offline David ScottFriend
Messages: 19
Registered: July 2009
Junior Member
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: Sat Apr 20 08:16:45 GMT 2024

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

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

Back to the top