Community
Participate
Working Groups
Created attachment 248666 [details] Example Modeling Project to show the issue on tree and table On table representation when only one line tool creation is available, the "create root lines" button should trigger the creation of the line. In attachement a Modeling Project example to see that. In addition when a single creation tool is available to create root line/tree item the button should have label of tool.
I think it would be preferable to take the first "line creation tool" as the default one. If there is only one "line creation tool", it will be the default one. The button should have the label of the last used tool. At the creation, the default tool label should be used. A better enhancement will be to allow the specifier to choose the default tool directly in the VSM. This will be probably another issue.
currently working on it
the fix cover the dropdown toolbar either for tree and table representation editor https://git.eclipse.org/r/38812
Created attachment 249650 [details] New test project Slightly improved test project, with 2 different tools for each of the table/tree editors. Needed to see that with the change, the menu remembers which of the available tools was called last, and invoke that one by default.
Fixed by d193dc855364792cff84b6acc12649e49e3e36b9.
Verified on Sirius 3.0.0M6
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.