kasemir / org.csstudio.display.builder

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

Added D&D of .plt files in DB editor. #550

Closed claudio-rosati closed 5 years ago

claudio-rosati commented 5 years ago

It uses partial knowledge (the "databrowser" type) and introspection to add the DataBrowser widget.

kasemir commented 5 years ago

You could move

final Widget widget = WidgetFactory.getInstance().getWidgetDescriptor("databrowser").createWidget(); 

into the try block and catch a potential NPE if the data browser widget type is not known.

claudio-rosati commented 5 years ago

I've added and committed... but it doesn't appear here

claudio-rosati commented 5 years ago

Ho, you merged it.