Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322985 - MoDisco Browser : resources lazy loading and dynamic type panel completion
Summary: MoDisco Browser : resources lazy loading and dynamic type panel completion
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M1   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 03:53 EDT by Fabien Giquel CLA
Modified: 2013-04-29 07:54 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments
patch (6.30 KB, patch)
2010-08-19 10:59 EDT, Nicolas Bros CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.