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

Bug 315300

Summary: [Core] Papyrus shall improved its Public API for managing model set.
Product: [Modeling] Papyrus Reporter: Cedric Dumoulin <cedric.dumoulin>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: cletavernier, quentin.lemenez, tatiana.fesenko
Version: 0.8.0Keywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Usability
Bug Depends on:    
Bug Blocks: 314834    

Description Cedric Dumoulin CLA 2010-06-01 16:49:55 EDT
The public API should allow:
 - to load only a specified subset of models 
 - to load a domain model (ex: uml) and then add other models, without erasing the already loaded models
 - to specify model snippets in another project than the one of the model specification
 
 The package should be changed to:
 oep.core.model
Comment 1 Cedric Dumoulin CLA 2010-06-04 04:06:29 EDT
Still need to do:
- Enable definition of well known collection of identifiers called for example an IdentifiersSet: CORE_MODEL_IDENTIFIERS (all models required by core), DOMAIN_MODEL_IDENTIFIER (all models required by the domain), UML_MODEL_IDENTIFIERS, ...
- Allow definition of IdentifiersSet from extension: a model can specify to which IdentifiersSet(s) it want to be associated 
- Allow to get a ModelIdentifiers (a collection of identifiers)  from extension, by using an IdentifiersSet
- complete unimplemented methods in ModelSet
- remove the Snippet mechanism from models : use an intermediate ModelHandler managed by the ModelSet:  [ModelsSet] ---*->[ModelHandler]------1->[IModel]
- Remove references to DiResourceSet and used the new mechanism.
Comment 2 Cedric Dumoulin CLA 2010-09-17 12:02:42 EDT
An enhancement of this API is planned for the next release of Papyrus.
The concept of ModelSet and Model will still exist.
The ModelSet will allow to import resources.
We need to clearly identify the needs in order to provide a Strong API.