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/Palette Configuration Edit UI
Contents
New Palette configuration models shall be editable with an advance UI
Context
The documentation describe the work in the Neon release on the improvement of the user interface permitting to edit EMF Palette configuration models.
Requirement
New Palette configuration emf models shall be editable with an advance UI like the actual palette customization available on diagram. For the moment only a standard ecore editor is available.
Index | Status | Description |
---|---|---|
REQ_001 | [done] | New customization SHALL serialize custom palette to palette configuration Ecore models. |
REQ_002 | [in progress] | The editor SHALL be the same than the existing one. |
REQ_002.1 | [done] | Creation of local palette. |
REQ_002.2 | [done] | Edition of palette deployed from plugin(read-only). |
REQ_002.3 | [done] | Edition of palette deployed from workspace. |
REQ_002.4 | [done] | Drop object from UML to the palette to add. |
REQ_002.5 | [in progress] | Drop object from used profiles to the palette to add. |
REQ_003 | [done] | Old XML palette model SHALL work and be editable. |
REQ_004 | [done] | All palette definition from palette configuration model SHALL be exportable. |
REQ_005 | should} be provide to display element descriptors. An import button {{req|should} permits to load elementType model. The add button of element descriptors have to reference to this model's specialized type. | |
REQ_006 | It SHALL be possible to select on option to deploy new tool entry from model to New Child menu. | |
REQ_007 | It SHALL be possible to select on option to deploy new tool entry from model to assistant popup. |
Current state
Done
- Using of palette configuration model for:
- New local palette
- Edit palette from plug in contribution
- Export to workspace of modified palette model of plugin contribution and of local palette.
- Restore default value of palette model of plugin contribution.
- Delete local and deployed palette from Workspace.
- New palette model from File>New>Other...
- ...
Video
TODO
- Take into account of profile/stereotype
- manage linked element type model definition
- custom editor to edit only postaction
- Get element type descriptor from Element type configuration
- Add New palette entry to new child menu
Traceability
Bugzilla
The related bug of this work is the bug 482669.
Gerrit
Here the related gerrit reviews:
- Change 64663 First implementation of the new eidtor UI, as a standalone and in customize dialog. Don't take into account of stereotype, profile and postAction.