Bug 528002 - Add support for a generic ("magic") edge creation tool
Summary: Add support for a generic ("magic") edge creation tool
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 6.0.0   Edit
Assignee: Florian Barbin CLA
QA Contact: Julien Dupont CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 531260 531261 533083
  Show dependency tree
 
Reported: 2017-12-01 04:26 EST by Pierre-Charles David CLA
Modified: 2020-08-19 04:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2017-12-01 04:26:11 EST
Currently if a diagram defines edge creation tool(s) that can be applied between two diagram elements E1 and E2, the end-user has to decide beforehand which tool to select from the palette to create the edge.

It should be possible to provide a generic edge creation tool which works the other way around:
* select the source;
* select the target;
* if there is a single edge creation tool applicable between those, find it and invoke it;
* if there are multiple possibilities, open a small UI (context menu or text field with completion) directly on the diagram to allow the user to chose which which one to apply.

This already exists in slightly different forms for example in Obeo SmartEA and Talend Studio.
Comment 2 Florian Barbin CLA 2018-03-09 05:25:58 EST
See the related bugzillas about the remaining work.
Comment 3 Pierre-Charles David CLA 2018-03-14 11:43:37 EDT
It seems the tool does not respect the coordinates where the user clicked on the source and edge elements.
Comment 4 Eclipse Genie CLA 2018-03-16 13:06:58 EDT
New Gerrit change created: https://git.eclipse.org/r/119587
Comment 6 Pierre-Charles David CLA 2018-04-12 04:59:29 EDT
The click coordinate issue is fixed by 053f159251ceacaf19318b7adc64da2e3de5c4c4.
Comment 7 Eclipse Genie CLA 2018-04-19 05:49:36 EDT
New Gerrit change created: https://git.eclipse.org/r/121397
Comment 9 Laurent Redor CLA 2018-06-27 11:55:29 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details