Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Papyrus/Neon Work Description/Improvements/Model Refactoring
Contents
Overview
This tool should allow the user to easily refactor a created model by applying a transformation on the model's selected elements previously requiring the user to edit them each by hand.
User perspective
- The user should have the possibility to visualize, without modification of the model, the changes brought by the refactoring; i.e. display the model should the refactoring be accepted.
- Once this is done the user should be able to accept the refactoring or cancel it, retrieving its pristine model.
- During this visualization the user should be able to decide which elements should be affected by the transformation
- The user should be warned if the refactoring should corrupt its model. As a rule of thumb a model is considered corrupted if it does not respect the constraints of the metamodel or applied profiles.
- Once the refactoring is accepted the user should be able to undo all of it, returning to the initial state of the model.
- The user should be able to launch the refactoring from Papyrus's added interfaces such as a menu items.
Done
The tool can be used to achieve the goals from 1, 2, 4, 5 (partially), 6
Todo
The tool still has problems dealing with selective transformations through the compare interface (3) and undo the transformations done on elements present in a diagram.
Traceability
Bugzilla
The ralated Bug can be found here
Gerrit
The related gerrit contribution can be found here