Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Disposing a Composite will cause SWT.Activate
Disposing a Composite will cause SWT.Activate [message #1067616] Tue, 09 July 2013 14:59
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
My code is part of Eclipse RCP where I have a ViewPart. When this part is closed, the SWT.Activate event is send and it will cause throwing an exception.

Why is that event send? I'm using Windows 7, SWT v3.7.2.
Here is the stack trace:
Shell.setActiveControl(Control) line: 1447	
PageBook(Control).sendFocusEvent(int) line: 2836	
PageBook(Widget).wmSetFocus(int, int, int) line: 2403	
PageBook(Control).WM_SETFOCUS(int, int) line: 5152	
PageBook(Control).windowProc(int, int, int, int) line: 4598	
Display.windowProc(int, int, int, int) line: 4972	
OS.DestroyWindow(int) line: not available [native method]	
TabbedPropertyComposite(Control).destroyWidget() line: 780	
TabbedPropertyComposite(Widget).release(boolean) line: 818	
TabbedPropertyComposite(Widget).dispose() line: 446	
TabbedPropertyComposite.dispose() line: 195		
Previous Topic:SWT table/column header foreground and background color
Next Topic:Problem TableEditor - Buttons in TableItem
Goto Forum:
  


Current Time: Mon Oct 20 04:42:06 GMT 2014

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

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