Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367471

Summary: Remove children from composite
Product: [Eclipse Project] PDE Reporter: Brijesh Kumar Gaur <brijeshgaur>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brijesh Kumar Gaur CLA 2011-12-23 01:05:45 EST
Build Identifier: Indigo 3.7 

I'm creating a composite in which i want to add and remove children dynamically. I'm able to add children. For removing children I'm using "dispose()" method but I'm not able to remove the children.

Thanks in Advance.

Reproducible: Always
Comment 1 Curtis Windatt CLA 2011-12-23 09:51:54 EST
This is not a bug and has nothing to do with PDE.  Please direct questions to the forms (www.eclipse.org/forums/) or IRC.

Remember to call layout() on the composite after disposing a control.
http://blog.cypal-solutions.com/2007/10/removing-widgets-from-composite.html