| Summary: | Reorganize VSM context menus to put most common actions/items first | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Core | Assignee: | Benjamin Grouhan <benjamin.grouhan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cedric.brun, laurent.redor |
| Version: | 1.0.0 | Keywords: | triaged |
| Target Milestone: | 3.0.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/47320 https://git.eclipse.org/r/47321 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1ac4ac9dbd7c64b754b6dc5478a86bb4bddef96c https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1fbed5da54c01c9279bf2e4ff358aa0574613f9f https://git.eclipse.org/r/48290 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=375829e6316493659fdcf770f1fedd5f19d6128f https://git.eclipse.org/r/48797 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7fc40e9e70cb4cdb00a16b2616df845aa3065aa2 |
||
| Whiteboard: | |||
|
Description
Pierre-Charles David
Indeed there is some subjectivity the goal is mostly to fix cases which are getting into the way when one starts and discover the tooling. Right now the tool drives you toward mistakes. From a quick survey : on a Group : Palette,Viewpoint => we are expected to create a Viewpoint first, the palette is quite optional. on a Viewpoint : Extension, Import, Representation, Template, Validation whereas we should have : Representation, Template, Validation, Import, Extension on a DiagramDescription : "Additional Layers, Default Layer" should be the other way around. on a Layer : Customization, Diagram Element , Import , Tool whereas Diagram Element, Tool, Customization, Import would be more suitable. on a Diagram Mapping : Conditional Style/ Diagram Element / Import / Style whereas Style/ Diagram Element / Conditional Style/ Import would be more consistent with the frequency we tend to use these tools. on a TableDescription : Navigation, Representation Creation, Table Element, Tool whereas the Table Element should be first, and then Tools, and then the other menus. All in all, ordering the submenus would probably be enough for a first change. AbstractMenuBuilder could be a good spot to do such a modification and allow subclasses to specify a prefered position which could be used to sort the menus accordingly. The initial bugzilla referenced by Pierre-Charles is bug #436343 (and not bug #436643). This will have to wait for the next version. New Gerrit change created: https://git.eclipse.org/r/47320 New Gerrit change created: https://git.eclipse.org/r/47321 Gerrit change https://git.eclipse.org/r/47320 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1ac4ac9dbd7c64b754b6dc5478a86bb4bddef96c Gerrit change https://git.eclipse.org/r/47321 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1fbed5da54c01c9279bf2e4ff358aa0574613f9f The infrastructure is now in place, the only thing left is to actually define the relative order of the menu items. It should not be difficult (though maybe a little cumbersome) if we use Obeo Designer 6.2 as a reference. New Gerrit change created: https://git.eclipse.org/r/48290 Gerrit change https://git.eclipse.org/r/48290 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=375829e6316493659fdcf770f1fedd5f19d6128f New Gerrit change created: https://git.eclipse.org/r/48797 Gerrit change https://git.eclipse.org/r/48797 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7fc40e9e70cb4cdb00a16b2616df845aa3065aa2 I'm closing this even though there may be some improvements/adjustments needed on the concrete ordering, but the majority of the new values have been commited and the new state is much better than what we had before. Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |