Closed claudio-rosati closed 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.
I've added and committed... but it doesn't appear here
Ho, you merged it.
It uses partial knowledge (the "databrowser" type) and introspection to add the DataBrowser widget.