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

Bug 322985

Summary: MoDisco Browser : resources lazy loading and dynamic type panel completion
Product: [Modeling] MoDisco Reporter: Fabien Giquel <fabien.giquel>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Fabien Giquel CLA 2010-08-18 03:53:51 EDT
For some models loading, it is a critical need to dispatch model elements on many XMI resources from a memory usage point of view. In such cases, MoDisco browser resources loading depth need to be set to a convenient value.

In such a context, type panel is initialized with metaobjects corresponding to resources initially loaded. When we navigate throug h the model elements, some other resources are loaded.

--> we would like to see dynamically the type panels updated (type presence and objects count), taking in account the additional resources loaded.
Comment 1 Nicolas Bros CLA 2010-08-19 10:59:00 EDT
Created attachment 177005 [details]
patch

Here is a patch that handles the lazy loading of Resources, and refreshes the Types panel with the new elements from this Resource.

Fabien, could you check whether it does what you expect?
Comment 2 Fabien Giquel CLA 2010-08-19 11:33:00 EDT
Yes, it works fine. Thanks a lot.
Comment 3 Nicolas Bros CLA 2010-08-19 12:00:48 EDT
I committed the changes in revision 2951.
Comment 4 Hugo Bruneliere CLA 2010-10-05 04:47:31 EDT
The patch has been successfully applied.