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

Bug 286024

Summary: Workbench bundle should not depend on databinding bundles
Product: [RT] RAP Reporter: Frank Appel <fr.appel>
Component: WorkbenchAssignee: Frank Appel <fr.appel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: b.muskalla
Version: 1.2Flags: ruediger.herrmann: review+
Target Milestone: 1.3 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Frank Appel CLA 2009-08-07 14:59:50 EDT
The dependency of the workbench to databinding is a design flaw inherited from RCP. There's no usage of databinding in the workbench itself. The only reason this dependency exists for is the initialization of the default realm. So even if no databinding is used all databinding bundles are activated.
Comment 1 Frank Appel CLA 2009-08-07 15:05:43 EDT
Solved this problem by using reflection for databinding initialization and setting the dependencies to optional. So if databinding is there the default realm will be retrieved otherwise the workbench spins the UI loop without realm. This may not be the most sophisticated approach, but it should allow that existing apps run without any changes.