openlcb / OpenLCB_Java

A git-managed copy of the SVN-based Java prototype implementation of OpenLCB. This implementation operates inside JMRI.
6 stars 9 forks source link

Adds popup menu to Event Pane with "Make Sensor" and "Trigger" actions #194

Closed dpharris closed 2 years ago

dpharris commented 2 years ago

Added a "More..." button to EventID-items in CDI, which, on click, creates a dropdown, with:
-- "Trigger" item, which, on click, sends a PCER message to the bus; -- "Make Sensor" item, which, on click, creates a Sensor in JMRI with the single eventID, and a description (generated if no formal associated description field).

These require support functions in JMRI, and there is am associated "morebutton" change set that needs to incorporated into JMRI.