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

Bug 458603

Summary: Ensure adaptable scope is cleared when disposing adaptable.
Product: [Tools] GEF Reporter: Alexander Nyßen <nyssen>
Component: GEF MVCAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 3.10.0 (Mars) M5   
Hardware: All   
OS: All   
Whiteboard:

Description Alexander Nyßen CLA 2015-01-28 00:24:39 EST
We should add a dispose operation to all relevant adaptables (IDomain, IViewer, IVisualPart) to ensure the related adaptable scopes get cleared properly. Up to now, the scope will continue to hold references to all instances created within the scope of a respective adaptable.
Comment 1 Alexander Nyßen CLA 2015-01-28 07:16:24 EST
Performed the following changes (pushed to origin/master):
- Added IDisposable interface within GEF4 Common.
- Implemented interface within AbstractDomain, AbstractViewer, and AbstractVisualPart to properly clear the scopes and remove a
- Changed FXView and FXEditor to dispose the created domain.

Resolving as fixed in 3.10.0M5.