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

Bug 286175

Summary: [LCA] Pull up renderDispose
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2009-08-10 16:34:46 EDT
As most widget do not need special care during disposal we should think about making renderDispose non-abstract in AbstractWidgetLCA, add the corresponding dispose call and remove it from all LCAs that do not need special care.

According to http://wiki.eclipse.org/Evolving_Java-based_APIs_2#Evolving_API_classes_-_API_methods_and_constructors this change would even be binary compatible.
Comment 1 RĂ¼diger Herrmann CLA 2009-10-06 10:24:38 EDT
As there are some widgets that need special treatment, this would violate one of the ideas behind inheritance. The base class represents a general concept, derived classes represent a more specialized concept.