Custom mouse listener for model visualization

0 votes
asked Nov 16, 2015 in Wanted features by anonymous
edited Nov 24, 2015
Is it possible to set custom mouse listeners on the model visualization? I've been using plantuml to visualize a Xtext language and I'm thinking about adding extra funcionalities to the visualization - like focusing on an element declaration when clicking on its class on visualization, for example.

EDIT: I found a way to add the listener by cloning the code at https://github.com/hallvard/plantuml.git, but I don't have a clue how to detect which element is being pressed. The jar the repository (version 1.1.10) uses has no code attached and I couldn't find the 1.1.10 source. Can anyone help me?

EDIT 2: updated the jar to latest version and attached the source code to it. But after searching the code I still have no clue of how to get elements with position.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...