Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Papyrus/Neon Work Description/Improvements/Palette Configuration Edit UI

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 Description Status
REQ_001 New customization SHALL serialize custom palette to palette configuration Ecore models. [done]
REQ_002 The editor SHALL be the same than the existing one. [in progress]
REQ_002.1 :Creation of local palette. [done]
REQ_002.2 :Edition of palette deployed from plugin(read-only). [done]
REQ_002.3 :Edition of palette deployed from workspace. [done]
REQ_002.4 :Drop object from UML to the palette to add. [done]
REQ_002.5 :Drop object from used profiles to the palette to add. [in progress]
REQ_003 Old XML palette model SHALL work and be editable. [done]
REQ_004 All palette definition from palette configuration model SHALL be exportable. [done]
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

Click here

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.

Back to the top