test_class.declarator: provider
test_class.modifier: @Mock
test_class.original_string: @Mock HorizImageListEditor<DataSetProviderType> provider;
test_class.type: HorizImageListEditor<DataSetProviderType>
test_class.var_name: provider
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetDefProviderTypeEditor.View view;
test_class.type: DataSetDefProviderTypeEditor.View
test_class.var_name: view
test_class.declarator: createEvent
test_class.modifier: @Mock
test_class.original_string: @Mock EventSourceMock<DataSetDefCreationRequestEvent> createEvent;
test_class.type: EventSourceMock<DataSetDefCreationRequestEvent>
test_class.var_name: createEvent
test_class.declarator: tested
test_class.modifier: private
test_class.original_string: private DataSetDefProviderTypeEditor tested;
test_class.type: DataSetDefProviderTypeEditor
test_class.var_name: tested
test_class.file: dashbuilder-client/dashbuilder-widgets/src/test/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefProviderTypeEditorTest.java
test_class.identifier: DataSetDefProviderTypeEditorTest
test_case.body: @Test
      public void testProviderSelected() throws Exception {
          tested.onItemClicked(new ValueChangeEvent<>(provider, null, DataSetProviderType.BEAN));
          verify(createEvent).fire(any());
      }
test_case.class_method_signature: DataSetDefProviderTypeEditorTest.testProviderSelected()
test_case.full_signature: @Test public void testProviderSelected()
test_case.identifier: testProviderSelected
test_case.invocations: onItemClicked fire verify any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProviderSelected()
focal_class.declarator: provider
focal_class.original_string: HorizImageListEditor<DataSetProviderType> provider;
focal_class.type: HorizImageListEditor<DataSetProviderType>
focal_class.var_name: provider
focal_class.declarator: createEvent
focal_class.original_string: Event<DataSetDefCreationRequestEvent> createEvent;
focal_class.type: Event<DataSetDefCreationRequestEvent>
focal_class.var_name: createEvent
focal_class.declarator: view
focal_class.modifier: public
focal_class.original_string: public View view;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: CORE_TYPES = new DataSetProviderType[]{BEAN, CSV, SQL, ELASTICSEARCH}
focal_class.original_string: DataSetProviderType[] CORE_TYPES = new DataSetProviderType[]{BEAN, CSV, SQL, ELASTICSEARCH};
focal_class.type: DataSetProviderType[]
focal_class.var_name: CORE_TYPES
focal_class.file: dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/DataSetDefProviderTypeEditor.java
focal_class.identifier: DataSetDefProviderTypeEditor
focal_class.interfaces: implements IsWidget,
                                                       org.dashbuilder.dataset.client.editor.DataSetDefProviderTypeEditor
focal_class.class_method_signature: DataSetDefProviderTypeEditor.DataSetDefProviderTypeEditor(final HorizImageListEditor<DataSetProviderType> provider,
                                          final Event<DataSetDefCreationRequestEvent> createEvent,
                                          final View view)
focal_class.full_signature: @Inject public  DataSetDefProviderTypeEditor(final HorizImageListEditor<DataSetProviderType> provider,
                                          final Event<DataSetDefCreationRequestEvent> createEvent,
                                          final View view)
focal_class.identifier: DataSetDefProviderTypeEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (final HorizImageListEditor<DataSetProviderType> provider,
                                          final Event<DataSetDefCreationRequestEvent> createEvent,
                                          final View view)
focal_class.signature:  DataSetDefProviderTypeEditor(final HorizImageListEditor<DataSetProviderType> provider,
                                          final Event<DataSetDefCreationRequestEvent> createEvent,
                                          final View view)
focal_class.class_method_signature: DataSetDefProviderTypeEditor.init()
focal_class.full_signature: @PostConstruct public void init()
focal_class.identifier: init
focal_class.modifiers: @PostConstruct public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: DataSetDefProviderTypeEditor.asWidget()
focal_class.full_signature: @Override public Widget asWidget()
focal_class.identifier: asWidget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Widget
focal_class.signature: Widget asWidget()
focal_class.class_method_signature: DataSetDefProviderTypeEditor.onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)
focal_class.full_signature:  void onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)
focal_class.identifier: onItemClicked
focal_class.parameters: (@Observes ValueChangeEvent<DataSetProviderType> event)
focal_class.return: void
focal_class.signature: void onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)
focal_class.class_method_signature: DataSetDefProviderTypeEditor.showErrors(final List<EditorError> errors)
focal_class.full_signature: @Override public void showErrors(final List<EditorError> errors)
focal_class.identifier: showErrors
focal_class.modifiers: @Override public
focal_class.parameters: (final List<EditorError> errors)
focal_class.return: void
focal_class.signature: void showErrors(final List<EditorError> errors)
focal_class.class_method_signature: DataSetDefProviderTypeEditor.provider()
focal_class.full_signature: @Override public HorizImageListEditor<DataSetProviderType> provider()
focal_class.identifier: provider
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: HorizImageListEditor<DataSetProviderType>
focal_class.signature: HorizImageListEditor<DataSetProviderType> provider()
focal_class.class_method_signature: DataSetDefProviderTypeEditor.getDefaultEntries()
focal_class.full_signature: protected Collection<ImageListEditor<DataSetProviderType>.Entry> getDefaultEntries()
focal_class.identifier: getDefaultEntries
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Collection<ImageListEditor<DataSetProviderType>.Entry>
focal_class.signature: Collection<ImageListEditor<DataSetProviderType>.Entry> getDefaultEntries()
focal_class.class_method_signature: DataSetDefProviderTypeEditor.getTypeSelectorTitle(final DataSetProviderType type)
focal_class.full_signature:  String getTypeSelectorTitle(final DataSetProviderType type)
focal_class.identifier: getTypeSelectorTitle
focal_class.parameters: (final DataSetProviderType type)
focal_class.return: String
focal_class.signature: String getTypeSelectorTitle(final DataSetProviderType type)
focal_class.class_method_signature: DataSetDefProviderTypeEditor.getTypeSelectorText(final DataSetProviderType type)
focal_class.full_signature:  String getTypeSelectorText(final DataSetProviderType type)
focal_class.identifier: getTypeSelectorText
focal_class.parameters: (final DataSetProviderType type)
focal_class.return: String
focal_class.signature: String getTypeSelectorText(final DataSetProviderType type)
focal_class.class_method_signature: DataSetDefProviderTypeEditor.getTypeSelectorImageUri(final DataSetProviderType type)
focal_class.full_signature:  SafeUri getTypeSelectorImageUri(final DataSetProviderType type)
focal_class.identifier: getTypeSelectorImageUri
focal_class.parameters: (final DataSetProviderType type)
focal_class.return: SafeUri
focal_class.signature: SafeUri getTypeSelectorImageUri(final DataSetProviderType type)
focal_method.body: void onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event) {
          PortablePreconditions.checkNotNull("ValueChangeEvent<DataSetProviderType>",
                                             event);
          if (event.getContext().equals(provider)) {
              createEvent.fire(new DataSetDefCreationRequestEvent(this,
                                                                  event.getValue()));
          }
      }
focal_method.class_method_signature: DataSetDefProviderTypeEditor.onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)
focal_method.full_signature:  void onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)
focal_method.identifier: onItemClicked
focal_method.invocations: checkNotNull equals getContext fire getValue
focal_method.parameters: (@Observes ValueChangeEvent<DataSetProviderType> event)
focal_method.return: void
focal_method.signature: void onItemClicked(@Observes ValueChangeEvent<DataSetProviderType> event)