kasemir / org.csstudio.display.builder

Update of org.csstudio.opibuilder.*
Eclipse Public License 1.0
2 stars 10 forks source link

Fix: RadioButton widget not updated if an item's content is changed. #519

Closed claudio-rosati closed 5 years ago

kasemir commented 5 years ago

Only handles the edit-time issue. At runtime, for example when opening the controls_radio.bob example:

org.csstudio.display.builder.model.properties.PropertyChangeHandler (firePropertyChange) - Property update error for 'pv_value' = VString[, 2019/03/25 10:04:27.647]
java.lang.ClassCastException: org.diirt.vtype.IVString cannot be cast to java.util.List
    at org.csstudio.display.builder.representation.javafx.widgets.RadioRepresentation.contentChanged(RadioRepresentation.java:237)

I'll come up with an alternate solution.

claudio-rosati commented 5 years ago

OK, thank you.