code: void onDataSetDefRegisteredEvent(@Observes DataSetDefRegisteredEvent event) {
          checkNotNull("event",
                       event);
  
          final DataSetDef def = event.getDataSetDef();
          if (def != null && def.isPublic() && isSupported(def)) {
              // Reload the whole data set panels list.
              show();
          }
      }
docs: Be aware of data set lifecycle events