Add an element click listener to an SVG container. This listener must track all clicks on any SVG element and check if a ctrlKey modifier is used.
On a ctrl+click event the editor component must:
If the element is described with a lower level diagram of the same namespace (context -> container or container -> sequence, etc..) open source code and render a diagram of the clicked component. A warning must be shown if editor contains modified source. Standard Vaadin navigation should be used to enable a default back browser action.
If the element is described in another namespace open a diagram with the same level as clicked component was imported from
If an element neither imported nor described in lower levels - do nothing
On a regular click event editor must change cursor position to the clicked element declaration using the mapping from issue #52
Depends on #52, #49
Add an element click listener to an SVG container. This listener must track all clicks on any SVG element and check if a ctrlKey modifier is used. On a ctrl+click event the editor component must:
back
browser action.On a regular click event editor must change cursor position to the clicked element declaration using the mapping from issue #52