| Summary: | Duplicate or badly ordered new child menus in VSM editor | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Maxime Porhel <maxime.porhel> |
| Component: | Core | Assignee: | Maxime Porhel <maxime.porhel> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pierre-charles.david |
| Version: | 1.0.0 | Keywords: | triaged |
| Target Milestone: | 1.0.0 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
| Bug Depends on: | 427803 | ||
| Bug Blocks: | |||
|
Description
Maxime Porhel
Proposed fixes: . https://git.eclipse.org/r/27780: Add RepresentationExtensionDescription creation menu item to the New Extension menu (concrete case: DiagramExtensionDescription) . https://git.eclipse.org/r/27781: Make AbstractMenuBuilder.getLabel() public . https://git.eclipse.org/r/27782: Place refactoring menus after the Edit group . https://git.eclipse.org/r/27783: Rename the refactoring menu into Refactor After the split sevral menu builders have been moved to the org.eclipse.sirius.editor.diagram plugin. They are nos added at the end of the menusBuilders list (see the constructor of org.eclipse.sirius.editor.tools.internal.presentation.CustomSiriusActionBarContributor which calls builders.addAll(MenuBuildersManager.getInstance().getContributedMenuBuilders()); after the add of the core buidlers). We could: . keep the "definition + load" order: core builders, then contributed builders . contributed builders (in the load order) and then the core builders . sort the builders by label See . https://git.eclipse.org/r/27839: add a New Reorder menu for Sequence reorder tools . https://git.eclipse.org/r/27840: complete the existing new child categorized menus . https://git.eclipse.org/r/27841: Introduce CompositeMenuBuilder to avoid duplicate menus . https://git.eclipse.org/r/27842: Sort New child cration menus We have chosen to sort he creation menu by label. We might later introduce some weight capabilities to improve those menus order See also https://git.eclipse.org/r/#/c/27896/: Sort NEw child creation menu items order, sorted by text. Fixed by commits: . 090a9338b2187c80be3dd6c5ad36683b75b30b18 . 436c81c6eab04d675e531b3230ae946625d93ea8 . c7f847b8714cf30318c61bd5e44beb2710ea5f92 . e7a4bc533be313a4e24868aa89f7a771039984b4 . a49ca1eafc515bdd78c494fea6a34963edb5dc75 . a3e6a2a8f1d7a800ac1c6f73de7f14cafb9061cf . 547cf6b32dfe2f7071d859bfdcf3f8ee799a2fb6 . 12564ce0a3a0ec4322d7ebe4aedda49992aa271b Verified on 1.0.0rc3. Available in Sirius 1.0.0. |