| Summary: | When using a Sirius-defined properties view, it should be possible to disable/hide legacy tabs | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Properties | Assignee: | Melanie Bats <melanie.bats> |
| Status: | CLOSED FIXED | QA Contact: | Julien Dupont <julien.dupont> |
| Severity: | normal | ||
| Priority: | P3 | CC: | julien.dupont, stephane.begaudeau, steve.monnier |
| Version: | 3.1.0 | Keywords: | triaged |
| Target Milestone: | 4.1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | https://tuleap.eclipse.org/plugins/tracker/?aid=509 | ||
| See Also: |
https://git.eclipse.org/r/77697 https://git.eclipse.org/c/eef/org.eclipse.eef.git/commit/?id=df41562b4ae396221c11a64d568d1e7636385a52 |
||
| Whiteboard: | needtest | ||
| Bug Depends on: | |||
| Bug Blocks: | 495366 | ||
|
Description
Pierre-Charles David
New Gerrit change created: https://git.eclipse.org/r/77697 Gerrit change https://git.eclipse.org/r/77697 was merged to [master]. Commit: http://git.eclipse.org/c/eef/org.eclipse.eef.git/commit/?id=df41562b4ae396221c11a64d568d1e7636385a52 So, with the patch above, it is now technically possible to hide legacy tabs. However this requires writing an extension point with some Java code. Maybe org.eclipse.siruis.ui.properties should provide an implementation of this extension point, driven by the VSM. The specifier could configure his view/pages to indicate they hide/override legacy tabs depending on their category and/or id. I believe this was fixed by https://git.eclipse.org/r/#/c/81888/, which was associated to bug #496058 instead of this one. Fixed, see the new Sirius > Sirius Properties View preference page to control this. Could you add to this issue the reproducible use case to validate this. There is no particular test case. Steps to validate: 1. Open a session. 2. Expand the semantic model in the model explorer and select a semantic element. 3. In the properties view you should have both the generated tabs (either the ones you defined in your VSM or the ones produced by the default rules), *and* a tab named "Default". 4. Go to "Preferences > Sirius > Sirius Properties View" and un-check "Show Default tab". 5. Repeat step 3, the "Default" tab should not be visible anymore (but the others should still be). Same logic with the "Semantic" tab, except that this one appears when you select and element from a Sirius editor instead of from the Model Explorer, and that it has a separate preference (on the same page) to control its own visibility. Validated. Note that on step 5, the selection must be changed or the properties view will not be refreshed and therefore still displays the tab that should be hidden. Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details. |