|
Description
Pierre Guilet
New Gerrit change created: https://git.eclipse.org/r/111554 New Gerrit change created: https://git.eclipse.org/r/111553 New Gerrit change created: https://git.eclipse.org/r/111552 New Gerrit change created: https://git.eclipse.org/r/112875 The current functionality is a POC. The implemented features are the following: - A "Showing mode" button is present next to the "Layouting mode" button and allows to activate a mode to edit visibility status of diagram elements. This button will be available only if the system property "org.eclipse.sirius.ui.activateShowingMode" is set to true. -This mode shows invisible diagram elements with a transparency. -This mode currently allows to change the visibility status of element by using a double click on the elements. -This mode does not restrict actions available on invisible elements. Incomplete features: - The double click actions on diagram elements while in showing mode should not change the general diagram element visibility but should change the user manual hidden status. Current behaviour will not persist visibility changes when saving. - The transparency applied on diagram element does not take in consideration all kind of parts. Features to consider to improve the functionality: -Restriction of actions available while in Showing mode that does not make sense. -Making visible an invisible diagram element should take in consideration the reasons why it is invisible in the first place other than the manual hidden action. If a diagram element is invisible because of a filter activated, the filter should be deactivated when double clicking it. -Double click should change the hidden status and not the visibility one that is caused by several reasons. -Double click on an hidden edge should also reveal source and target node and all hidden parent recursively. -The showing mode button's icon could be improved -Layouting and showing mode should be exclusive. So we should have a drop down menu allowing to select one mode among others. -Transparency on hidden elements should be available for all parts. -Making configurable the elements to make visible with transparency when in showing mode to avoid noise we know we never want to show. Created attachment 271989 [details]
Demo of the POC with a Capella diagram
Capella-showingMode.webm : This video is a demo of the POC in a Capella diagram.
Gerrit change https://git.eclipse.org/r/111553 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=367c0df67bc38d8e458bbc59731cbc01f55f26fe Gerrit change https://git.eclipse.org/r/111552 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=491cd5704e51282f6cb74c8a50380ebf58569df7 Gerrit change https://git.eclipse.org/r/112875 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5f0b59fa8b6d88e0c862bd676c1ae19c378768f6 Gerrit change https://git.eclipse.org/r/111554 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=06a3692998e4dddce596ac45330ebb5d91d413d0 The code corresponding to the POC has been merged on Sirius master branch. This branch currently corresponds to the next Sirius 5.1.1. and will be shortly branched to be the Sirius 6.0.0. To enable this POC, eclipse must be launched with VM argument "-Dorg.eclipse.sirius.ui.activateShowingMode=true" To have a similar video as in comment 6, gerrit must also be merged on Capella side: * branch 1.2.x: https://git.polarsys.org/r/5422 --> [527109] Disable WizardEditPolicy in Showing mode * branch master: https://git.polarsys.org/r/5423 --> [527109] Disable WizardEditPolicy in Showing mode New Gerrit change created: https://git.eclipse.org/r/122967 Gerrit change https://git.eclipse.org/r/122967 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5dee3b0b0f6094d11627d8d7ce6f0439a0572694 New Gerrit change created: https://git.eclipse.org/r/125712 New Gerrit change created: https://git.eclipse.org/r/125711 New Gerrit change created: https://git.eclipse.org/r/125713 New Gerrit change created: https://git.eclipse.org/r/125855 New Gerrit change created: https://git.eclipse.org/r/125914 Created attachment 275041 [details]
Demo of the POC with a Capella diagram
New Gerrit change created: https://git.eclipse.org/r/126538 New Gerrit change created: https://git.eclipse.org/r/127083 Gerrit change https://git.eclipse.org/r/125711 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6e574f4ac213201a87de34334850de01c04a1d76 Gerrit change https://git.eclipse.org/r/125712 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=0e972c80a789f47fc33de935122e9c56dec12aac Gerrit change https://git.eclipse.org/r/125713 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3c77de0e6e1dd01a9887e6b8a6867e4857d49967 Gerrit change https://git.eclipse.org/r/125855 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=254f806c763563051ced8e39ae9defd1c9cb1d10 Gerrit change https://git.eclipse.org/r/125914 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=fc136a892b32a867e75d8e0b218a8c3868d8103a Gerrit change https://git.eclipse.org/r/126538 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8ba161bf7798cdc51b376988297786a5d2605c06 New Gerrit change created: https://git.eclipse.org/r/127284 Gerrit change https://git.eclipse.org/r/127284 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=325ecd1f207849e49f0f29a6d0507934e4be29f1 New Gerrit change created: https://git.eclipse.org/r/127297 Gerrit change https://git.eclipse.org/r/127297 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=92383974fb169a3e7a813fccfd731f11e9157326 A pass will be done later on the icons New Gerrit change created: https://git.eclipse.org/r/127318 Gerrit change https://git.eclipse.org/r/127318 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=cbd5ee41fc97439a1005c49e4f7dc76cbc31308f New Gerrit change created: https://git.eclipse.org/r/127333 Gerrit change https://git.eclipse.org/r/127333 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6f8d5d8c28db47015e64fcde61b09629d44430f1 New Gerrit change created: https://git.eclipse.org/r/127416 Gerrit change https://git.eclipse.org/r/127416 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=abfdd9dc039327b5d19ddf5a133f62b7715d6707 New Gerrit change created: https://git.eclipse.org/r/127762 New Gerrit change created: https://git.eclipse.org/r/127764 Gerrit change https://git.eclipse.org/r/127764 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=439351165960464c8623456e00ba5faff8fa3059 Gerrit change https://git.eclipse.org/r/127762 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=41f2886c98e5ebe12f5ef7ac231b23172403a14d New Gerrit change created: https://git.eclipse.org/r/128906 Gerrit change https://git.eclipse.org/r/128906 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5f1e77d9139b091d8c142e228a6248ecc89af78f New Gerrit change created: https://git.eclipse.org/r/129614 Gerrit change https://git.eclipse.org/r/129614 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8ceee4b2baf6d0422b58f40084b721a0bb7dd5f4 Created attachment 276003 [details]
project to test visibility
Created attachment 276004 [details]
project to test visibility
To validate this issue you should:
- Import the attached project and open the available representation.
- Read the documentation Sirius>Diagrams>Edit modes. This should allows you to understand how to:
- activate/deactivate the visibility mode
- how to make visible/invisible any diagram element
- Try to make visible/invisible all available diagram elements (label, edges, containers, nodes) This should work.
- The action hide should not be visible in the contextual menu of an hidden diagram element.
- The tooltip of the edit mode menu should be "Change Diagram edition mode"
- You should be able to switch edit mode with the dropwdown menu whether a diagram element is selected or not.
- The right active mode should be selected in the dropdown menu.
The hide element and label buttons are available in tabbar for an invisible selected element whereas they should not. New Gerrit change created: https://git.eclipse.org/r/130029 Validation: See https://bugs.eclipse.org/bugs/show_bug.cgi?id=527109#c49 Also make sure the hide action for invisible diagram element is disabled Gerrit change https://git.eclipse.org/r/130029 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ee17eaffb672a7f85ad90dc5e0a4fbe9a0a3c32f New Gerrit change created: https://git.eclipse.org/r/130056 Gerrit change https://git.eclipse.org/r/130056 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d295b3b13c50df14cbec3595dfddb042a4570f2c New Gerrit change created: https://git.eclipse.org/r/130757 New Gerrit change created: https://git.eclipse.org/r/130756 New Gerrit change created: https://git.eclipse.org/r/130762 Several new changes have been pushed to gerrit to improve this new feature. New Gerrit change created: https://git.eclipse.org/r/130790 Gerrit change https://git.eclipse.org/r/130790 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=192174084189f754c76328383d4e08dfcb1e4ea8 Gerrit change https://git.eclipse.org/r/130756 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=26225147878aee3e6b7eee3cece7c736bc400d1b Gerrit change https://git.eclipse.org/r/130757 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9dd89d7bb5fa5acc51722c8c6ebf0156e9506e9f Gerrit change https://git.eclipse.org/r/130762 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=aae93420a53352b578ed63d2544b0d6a091198bd New Gerrit change created: https://git.eclipse.org/r/130939 Bug 540188 has been created to handle the issue corrected by https://git.eclipse.org/r/130939 As 6.1.0 is planned for tomorrow, new tickets will be created if additional issues are found instead of reopening this one. Available in Sirius 6.1.0, see https://wiki.eclipse.org/Sirius/6.1.0 |