开云体育

Locked Re: java Exception when try to add a second internal sensor


 

Matt H,
I've tried to go through all the Tables 'create' dialogs and have created a pdf with a summary - /g/jmriusers/files/ProblemsBeingWorkedOn/Andy%20Brown%20-%20161045/JMRI%20Tables%20Create%20dialogs.pdf .

You might wish you hadn't asked as there are quite a few inconsistencies! However, it must be added that non are show stoppers, but rather reflect the incremental nature of development.

  • The dialogs that close after create are turnouts, sensors, signal masts, signal group, reporter and section
  • Only the Audio Source and Audio Buffer dialogs follow your suggested behaviour!
  • Audio dialogs provide a suggested system name, others show an empty field or the last used name
  • Some provide Auto system name generation (e.g. route and signal group)
  • Some provide sequential range option (e.g. sensors and turnouts) -
  • Some provide both (e.g. Blocks and memory variables)
  • Some hide the required system prefix (e.g Sensors, Turnouts and Blocks), whereas others show and require it (e.g. Audio Buffers and Audio Sources)
  • I haven't had chance to go through the validation, but I suspect subtle differences - e.g. Audio Buffer throws an exception when no filename provided, but shows no error dialog. However, duplicate ID Tag, for instance, shows an error dialog. I think analysing this would be a task for another day!!

It looks to me like 'fixing' this would be quite a task, not to mention agreeing on what should be provided. If it's any help I usually prefer dialogs to stay open to allow multiple items to be added, but I can live with how things are! Obviously, your suggest of OK/Apply and Cancel gives both options.

Thanks
Andy

Join jmriusers@groups.io to automatically receive all group messages.