test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock FileUploadEditor.View view;
test_class.type: FileUploadEditor.View
test_class.var_name: view
test_class.declarator: valueChangeEvent
test_class.modifier: @Mock
test_class.original_string: @Mock EventSourceMock<ValueChangeEvent<String>> valueChangeEvent;
test_class.type: EventSourceMock<ValueChangeEvent<String>>
test_class.var_name: valueChangeEvent
test_class.declarator: workbenchNotificationEvent
test_class.modifier: @Mock
test_class.original_string: @Mock EventSourceMock<NotificationEvent> workbenchNotificationEvent;
test_class.type: EventSourceMock<NotificationEvent>
test_class.var_name: workbenchNotificationEvent
test_class.declarator: presenter
test_class.modifier: private
test_class.original_string: private FileUploadEditor presenter;
test_class.type: FileUploadEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-common-client/src/test/java/org/dashbuilder/common/client/editor/file/FileUploadEditorTest.java
test_class.identifier: FileUploadEditorTest
test_class.superclass: extends AbstractEditorTest
test_case.body: @Test
      public void testGetUploadFileName() throws Exception {
          FileUploadEditor.FileUploadEditorCallback callback = mock(FileUploadEditor.FileUploadEditorCallback.class);
          presenter.callback = callback;
          presenter.getUploadFileName();
          verify(callback, times(1)).getUploadFileName();
          verify(callback, times(0)).getUploadFileUrl();
      }
test_case.class_method_signature: FileUploadEditorTest.testGetUploadFileName()
test_case.full_signature: @Test public void testGetUploadFileName()
test_case.identifier: testGetUploadFileName
test_case.invocations: mock getUploadFileName getUploadFileName verify times getUploadFileUrl verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetUploadFileName()
focal_class.declarator: workbenchNotification
focal_class.original_string: Event<NotificationEvent> workbenchNotification;
focal_class.type: Event<NotificationEvent>
focal_class.var_name: workbenchNotification
focal_class.declarator: valueChangeEvent
focal_class.original_string: Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent;
focal_class.type: Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>>
focal_class.var_name: valueChangeEvent
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: value
focal_class.original_string: String value;
focal_class.type: String
focal_class.var_name: value
focal_class.declarator: callback
focal_class.original_string: FileUploadEditorCallback callback;
focal_class.type: FileUploadEditorCallback
focal_class.var_name: callback
focal_class.file: dashbuilder-client/dashbuilder-common-client/src/main/java/org/dashbuilder/common/client/editor/file/FileUploadEditor.java
focal_class.identifier: FileUploadEditor
focal_class.interfaces: implements IsWidget, LeafAttributeEditor<String>
focal_class.class_method_signature: FileUploadEditor.FileUploadEditor(final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent,
                              final Event<NotificationEvent> workbenchNotification,
                              final View view)
focal_class.full_signature: @Inject public  FileUploadEditor(final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent,
                              final Event<NotificationEvent> workbenchNotification,
                              final View view)
focal_class.identifier: FileUploadEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent,
                              final Event<NotificationEvent> workbenchNotification,
                              final View view)
focal_class.signature:  FileUploadEditor(final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent,
                              final Event<NotificationEvent> workbenchNotification,
                              final View view)
focal_class.class_method_signature: FileUploadEditor.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: FileUploadEditor.configure(final String fileUploadName, final FileUploadEditorCallback callback)
focal_class.full_signature: public void configure(final String fileUploadName, final FileUploadEditorCallback callback)
focal_class.identifier: configure
focal_class.modifiers: public
focal_class.parameters: (final String fileUploadName, final FileUploadEditorCallback callback)
focal_class.return: void
focal_class.signature: void configure(final String fileUploadName, final FileUploadEditorCallback callback)
focal_class.class_method_signature: FileUploadEditor.addHelpContent(final String title, final String content, final Placement placement)
focal_class.full_signature: public void addHelpContent(final String title, final String content, final Placement placement)
focal_class.identifier: addHelpContent
focal_class.modifiers: public
focal_class.parameters: (final String title, final String content, final Placement placement)
focal_class.return: void
focal_class.signature: void addHelpContent(final String title, final String content, final Placement placement)
focal_class.class_method_signature: FileUploadEditor.showErrors(List<EditorError> errors)
focal_class.full_signature: @Override public void showErrors(List<EditorError> errors)
focal_class.identifier: showErrors
focal_class.modifiers: @Override public
focal_class.parameters: (List<EditorError> errors)
focal_class.return: void
focal_class.signature: void showErrors(List<EditorError> errors)
focal_class.class_method_signature: FileUploadEditor.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: FileUploadEditor.setValue(final String value)
focal_class.full_signature: @Override public void setValue(final String value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (final String value)
focal_class.return: void
focal_class.signature: void setValue(final String value)
focal_class.class_method_signature: FileUploadEditor.getValue()
focal_class.full_signature: @Override public String getValue()
focal_class.identifier: getValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getValue()
focal_class.class_method_signature: FileUploadEditor.getUploadFileName()
focal_class.full_signature:  String getUploadFileName()
focal_class.identifier: getUploadFileName
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUploadFileName()
focal_class.class_method_signature: FileUploadEditor.getUploadFileUrl()
focal_class.full_signature:  String getUploadFileUrl()
focal_class.identifier: getUploadFileUrl
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUploadFileUrl()
focal_class.class_method_signature: FileUploadEditor.onSubmit()
focal_class.full_signature:  boolean onSubmit()
focal_class.identifier: onSubmit
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean onSubmit()
focal_class.class_method_signature: FileUploadEditor.onSubmitComplete(final String results)
focal_class.full_signature:  void onSubmitComplete(final String results)
focal_class.identifier: onSubmitComplete
focal_class.parameters: (final String results)
focal_class.return: void
focal_class.signature: void onSubmitComplete(final String results)
focal_class.class_method_signature: FileUploadEditor.fileUploadHandler()
focal_class.full_signature:  void fileUploadHandler()
focal_class.identifier: fileUploadHandler
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void fileUploadHandler()
focal_class.class_method_signature: FileUploadEditor.isNullOrEmpty( final String fileName )
focal_class.full_signature: private boolean isNullOrEmpty( final String fileName )
focal_class.identifier: isNullOrEmpty
focal_class.modifiers: private
focal_class.parameters: ( final String fileName )
focal_class.return: boolean
focal_class.signature: boolean isNullOrEmpty( final String fileName )
focal_class.class_method_signature: FileUploadEditor.onValueChanged(final String value)
focal_class.full_signature:  void onValueChanged(final String value)
focal_class.identifier: onValueChanged
focal_class.parameters: (final String value)
focal_class.return: void
focal_class.signature: void onValueChanged(final String value)
focal_method.body: String getUploadFileName() {
          assert callback != null;
          return callback.getUploadFileName();
      }
focal_method.class_method_signature: FileUploadEditor.getUploadFileName()
focal_method.full_signature:  String getUploadFileName()
focal_method.identifier: getUploadFileName
focal_method.invocations: getUploadFileName
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getUploadFileName()