Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311149 - [General] Manage several strategies for model loading
Summary: [General] Manage several strategies for model loading
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Emilien Perico CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 316101 318279
Blocks:
  Show dependency tree
 
Reported: 2010-04-30 05:37 EDT by Emilien Perico CLA
Modified: 2013-06-25 10:45 EDT (History)
2 users (show)

See Also:


Attachments

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