Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » What's happening when closing a CTabItem?
What's happening when closing a CTabItem? [message #439679] Wed, 14 July 2004 16:41 Go to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hi,

I am using a CTabFolder with a listener to listen for the Close event that
is fired when the user closes a tab by pressing on the small cross. I am
listening for the event, because I am performing some ops that need to be
done before the tab is closed.

My questions:

1.) Is the tabitem already closed when the event is fired, or will it get
closed after the close() method in the listener was left?

2.) Is the tabfolder doing a simple tabitem.dispose() when closing a tab
or is it more? I implemented that a doubleclick on a tab closes it, by
disposing it. But maybe disposing it is not the same way the tabfolder is
doing it?

Thanks for help,
Ben
Re: What's happening when closing a CTabItem? [message #439736 is a reply to message #439679] Thu, 15 July 2004 11:08 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Ok I got it out.
Previous Topic:Table Alignment problem ...possible SWT bug?
Next Topic:Standalone JFace wizards don't work
Goto Forum:
  


Current Time: Fri Apr 26 18:45:40 GMT 2024

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

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

Back to the top