Community
Participate
Working Groups
Created attachment 274372 [details] forbiddenCursorOnNode.png Currently, when the tool "Link Note" is activated, if the mouse is over a Node or an Edge, there is a "forbidden" cursor (see forbiddenCursorOnNode.png). But the user can still click on the node. The representation selection dialog is opened but the OK button has no effect. The click must have no effect or be really forbidden. For a simple Note, it has no effect.
I'll submit a patch shortly.
New Gerrit change created: https://git.eclipse.org/r/126088
Laurent, the title indicates that Link Note should also be available on container? I don't think this is correct, at least if the behaviour should be the same as for ordinairy notes: If I use a normal note on a Class (from the 'Design' example viewpoint) (and a class is a container, right?), I get the 'forbidden' mouse pointer. The tool should only work on the diagram canvas, and that is what my patch https://git.eclipse.org/r/#/c/126088/ fixes.
Gerrit change https://git.eclipse.org/r/126088 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2f1703a0f91b79848ecfce6fe752c003bbb9176c
Steps to validate: * Open a diagram containing nodes, containers and edges. * Activate the tool "Representation Link" * Ensure that it is allowed only on diagram (forbidden on containers, nodes and edges)
"Representation Link" is allowed on container. It is possible to click on a container and the note is effectively created inside the container
(In reply to Laurent Fasani from comment #6) > "Representation Link" is allowed on container. It is possible to click on a > container and the note is effectively created inside the container Comment 5 is incorrect. See Comment 10 here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537889#c10
Yes I confirm what is said by Felix. I forgot to write here the new steps to validate from bug 537889 comment 10.
all right. It is verified then ;) with Sirius5.1.420180512
Available in Sirius 5.1.4, see https://wiki.eclipse.org/Sirius/5.1.4 for details.