View Question

add listener to diagram

Hi, I would like to add a listener to my diagram so I can see whenever an element is selected and show the following taggedvalues of these elements?

How can I achieve this and do you have an example? Thanks in advance

Product: Astah Professional

Hi Daniel,

Thanks for your post.

First register ProjectEventListener as a listener.

And the source code in the repository here should help as a sample. Bookmark Plug-in repository

This sample is for a program called "Bookmark Plug-in" which you can install to Astah (free). Take a look and see what it does and how it works with the source code.



Answer Question

This content has the following tags: