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

Difference between revisions of "Papyrus/Neon Work Description/Improvements/Palette Configuration Edit UI"

(Requirement)
 
(2 intermediate revisions by one other user not shown)
Line 23: Line 23:
 
|'''REQ_002.4'''||{{task-done}}||Drop object from UML to the palette to add.
 
|'''REQ_002.4'''||{{task-done}}||Drop object from UML to the palette to add.
 
|-  
 
|-  
|'''REQ_002.5'''||{{task-inprogress}}||Drop object from used profiles to the palette to add.
+
|'''REQ_002.5'''||{{task-done}}||Drop object from used profiles to the palette to add.
 
|-  
 
|-  
 
|'''REQ_003'''||{{task-done}}||Old XML palette model {{req|shall}} work and be editable.
 
|'''REQ_003'''||{{task-done}}||Old XML palette model {{req|shall}} work and be editable.
Line 29: Line 29:
 
|'''REQ_004'''||{{task-done}}||All palette definition from palette configuration model {{req|shall}} be exportable.
 
|'''REQ_004'''||{{task-done}}||All palette definition from palette configuration model {{req|shall}} be exportable.
 
|-  
 
|-  
|'''REQ_005'''|| ||In a standalone editor mode an advance tab {{req|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_005'''|| ||In a standalone editor mode an advance tab {{req|should}} be provide to display element descriptors.  
 
|-  
 
|-  
|'''REQ_006'''|| ||It {{req|shall}} be possible to select on option to deploy new tool entry from model to New Child menu.
+
|'''REQ_006'''|| ||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_007'''|| ||It {{req|shall}} be possible to select on option to deploy new tool entry from model to assistant popup.
+
|'''REQ_007'''|| ||It {{req|shall}} be possible to select on option to deploy new tool entry from model to New Child menu.
 +
|-
 +
|'''REQ_008'''||{{task-done}}||It {{req|shall}} be possible to select on option to deploy new tool entry from model to assistant popup.
 +
|-
 +
|'''REQ_009'''||{{task-inprogress}}||Post action {{req|shall}} be available on the palette customization dialog.
 
|}
 
|}
  
Line 51: Line 55:
  
 
====Video====
 
====Video====
[https://drive.google.com/file/d/0By-aX2Q5Px9dbEJQd3lhTi1RVXM/view?usp=sharing Click here]
+
A video of the work progression is available [https://drive.google.com/file/d/0By-aX2Q5Px9dbEJQd3lhTi1RVXM/view?usp=sharing here].
  
 
===TODO===
 
===TODO===
*Take into account of profile/stereotype
 
 
*manage linked element type model definition
 
*manage linked element type model definition
**custom editor to edit only postaction
+
*custom editor to edit only postaction
*Get element type descriptor from Element type configuration
+
 
*Add New palette entry to new child menu
 
*Add New palette entry to new child menu
  
Line 66: Line 68:
 
The related bug of this work is the {{bug|482669}}.
 
The related bug of this work is the {{bug|482669}}.
  
=== Gerrit ===
+
=== Git/Gerrit ===
 +
A specific branch is used:
 +
[https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/log/?h=committers/madam/PaletteConfigurationUI. committers/madam/PaletteConfigurationUI].
  
 
Here the related gerrit reviews:
 
Here the related gerrit reviews:
  
 
* [https://git.eclipse.org/r/64663 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.
 
* [https://git.eclipse.org/r/64663 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.

Latest revision as of 06:06, 8 March 2016

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 [done] 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 In a standalone editor mode an advance tab SHOULD be provide to display element descriptors.
REQ_006 An import button SHOULD permits to load elementType model. The add button of element descriptors have to reference to this model's specialized type.
REQ_007 It SHALL be possible to select on option to deploy new tool entry from model to New Child menu.
REQ_008 [done] It SHALL be possible to select on option to deploy new tool entry from model to assistant popup.
REQ_009 [in progress] Post action SHALL be available on the palette customization dialog.

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

A video of the work progression is available here.

TODO

  • manage linked element type model definition
  • custom editor to edit only postaction
  • Add New palette entry to new child menu

Traceability

Bugzilla

The related bug of this work is the bug 482669.

Git/Gerrit

A specific branch is used: committers/madam/PaletteConfigurationUI.

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