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

JMRI: Add visual feedback during loading the CDI data #1

Closed balazsracz closed 7 years ago

balazsracz commented 8 years ago

We should have some form of progressbar or at least some feedback for the user that we are loading data and the load is progressing. The base libraries have been extended to provide this feedback information. Now the swing UI in JMRI has to be updated. JMRI/java/src/jmri/jmrix/openlcb/swing/networktree/NetworkTreePane.java : 198 is the rough place.

balazsracz commented 7 years ago

We need to also present information to the user about errors encountered during the load of the CDI and/or parsing of the XML. Currently an XML parse error opens a tiny window with just a "read all" button which is a not a great way to show the user that something's gone wrong.