Bug 315300 - [Core] Papyrus shall improved its Public API for managing model set.
Summary: [Core] Papyrus shall improved its Public API for managing model set.
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan
Depends on:
Blocks: 314834
  Show dependency tree
 
Reported: 2010-06-01 16:49 EDT by Cedric Dumoulin CLA
Modified: 2017-09-18 10:42 EDT (History)
3 users (show)

See Also:


Attachments

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