Adds the actions to execute whenever a popup "Action" menu is pressed.
Adds the actions to execute whenever a popup "Action" menu is pressed.
an instance of GeneralController that will receive and handle most of the events
the popup menu that will fire the events
Adds the actions to execute whenever the appropriate observation event occurs.
Adds the actions to execute whenever the appropriate observation event occurs.
the popup menu that will fire the events
the function to call whenever the event "Toggle Neighbours" occurs
an instance of GeneralController that will receive and handle most of the events
(Since version ) see corresponding Javadoc for more information.
Utility object containing methods that are useful for any class that uses MyPopupMenu.