How to Get Notified of Changes in a Graph2D
Questions & AnswersSummary
Description
Getting notified of property changes for the displayed graph elements of a Graph2D can be realized in several ways. Apart from the support through the Graph2DListener interface, further realizer-centric as well as mouse gesture-centric schemes can be used to achieve fine-grained notifications for property changes.
Mouse gesture-centric means that the view mode that is responsible for handling a specific mouse gesture is used to get notifications.
Realizer-centric means that node realizer or edge realizer classes are enhanced to initiate the notification.
Both these schemes are presented in the following Knowledge Base article: Listening to and Efficiently Handling Graphical Property Changes.
(Creating and Firing Additional Event Types is another Knowledge Base article that presents an alternative mouse gesture-centric approach.)