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

Bug 311149

Summary: [General] Manage several strategies for model loading
Product: [Modeling] Papyrus Reporter: Emilien Perico <emilien.perico>
Component: CoreAssignee: Emilien Perico <emilien.perico>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: faure.tristan, raphael.faudou
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 316101, 318279    
Bug Blocks:    

Description Emilien Perico CLA 2010-04-30 05:37:43 EDT
When you open a model, all the needed resources are loaded too. The process can take a long time and error can occurs if an additional resource if not found.

We should provide several strategies to load a model and avoid loading all the needed resources.
For example, we could have a strategy that loads a model with all the applied profiles only.
Another could load a model without loading the controlled resources.

This behavior implies that we must take care of proxies in a model. A proxy should be well displayed a model explorer, properties view and graphical editor.
Comment 1 Emilien Perico CLA 2010-05-21 11:06:34 EDT
add resource loading mechanism in the core
add plugin core.preferences to manage the loading strategies through the preferences
add plugin resourceloading.umlprofile to manage profile loading

remaining task: set up the resource loading using the historic
Comment 2 Emilien Perico CLA 2010-07-01 08:54:10 EDT
Model Loading is now implemented.
Strategy can be switched through preferences. The default one loads all the resources.
A last strategy has been added, papyrus notification view asks the user which resource must be loaded
Comment 3 Camille Letavernier CLA 2013-06-25 10:45:05 EDT
> Model Loading is now implemented.

I close this task