test_class.declarator: dataSetClientServices
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetClientServices dataSetClientServices;
test_class.type: DataSetClientServices
test_class.var_name: dataSetClientServices
test_class.declarator: fileURL
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<String> fileURL;
test_class.type: ValueBoxEditor<String>
test_class.var_name: fileURL
test_class.declarator: filePath
test_class.modifier: @Mock
test_class.original_string: @Mock FileUploadEditor filePath;
test_class.type: FileUploadEditor
test_class.var_name: filePath
test_class.declarator: separatorChar
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<Character> separatorChar;
test_class.type: ValueBoxEditor<Character>
test_class.var_name: separatorChar
test_class.declarator: quoteChar
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<Character> quoteChar;
test_class.type: ValueBoxEditor<Character>
test_class.var_name: quoteChar
test_class.declarator: escapeChar
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<Character> escapeChar;
test_class.type: ValueBoxEditor<Character>
test_class.var_name: escapeChar
test_class.declarator: datePattern
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<String> datePattern;
test_class.type: ValueBoxEditor<String>
test_class.var_name: datePattern
test_class.declarator: numberPattern
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<String> numberPattern;
test_class.type: ValueBoxEditor<String>
test_class.var_name: numberPattern
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock CSVDataSetDefAttributesEditor.View view;
test_class.type: CSVDataSetDefAttributesEditor.View
test_class.var_name: view
test_class.declarator: presenter
test_class.modifier: private
test_class.original_string: private CSVDataSetDefAttributesEditor presenter;
test_class.type: CSVDataSetDefAttributesEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-widgets/src/test/java/org/dashbuilder/client/widgets/dataset/editor/csv/CSVDataSetDefAttributesEditorTest.java
test_class.identifier: CSVDataSetDefAttributesEditorTest
test_case.body: @Test
      public void testInit() {
          presenter.init();
          verify(view, times(1)).init(presenter);
          verify(view, times(1)).initWidgets(any(ValueBoxEditor.View.class), any(IsWidget.class),any(ValueBoxEditor.View.class), 
                  any(ValueBoxEditor.View.class), any(ValueBoxEditor.View.class), any(ValueBoxEditor.View.class), any(ValueBoxEditor.View.class));
          verify(fileURL, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(filePath, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(separatorChar, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(quoteChar, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(escapeChar, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(datePattern, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(numberPattern, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(filePath, times(1)).configure(anyString(), any(FileUploadEditor.FileUploadEditorCallback.class));
          verify(view, times(1)).showFilePathInput();
          verify(view, times(0)).showFileURLInput();
      }
test_case.class_method_signature: CSVDataSetDefAttributesEditorTest.testInit()
test_case.full_signature: @Test public void testInit()
test_case.identifier: testInit
test_case.invocations: init init verify times initWidgets verify times any any any any any any any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any addHelpContent verify times anyString anyString any configure verify times anyString any showFilePathInput verify times showFileURLInput verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInit()
focal_class.declarator: dataSetClientServices
focal_class.original_string: DataSetClientServices dataSetClientServices;
focal_class.type: DataSetClientServices
focal_class.var_name: dataSetClientServices
focal_class.declarator: fileURL
focal_class.original_string: ValueBoxEditor<String> fileURL;
focal_class.type: ValueBoxEditor<String>
focal_class.var_name: fileURL
focal_class.declarator: filePath
focal_class.original_string: FileUploadEditor filePath;
focal_class.type: FileUploadEditor
focal_class.var_name: filePath
focal_class.declarator: separatorChar
focal_class.original_string: ValueBoxEditor<Character> separatorChar;
focal_class.type: ValueBoxEditor<Character>
focal_class.var_name: separatorChar
focal_class.declarator: quoteChar
focal_class.original_string: ValueBoxEditor<Character> quoteChar;
focal_class.type: ValueBoxEditor<Character>
focal_class.var_name: quoteChar
focal_class.declarator: escapeChar
focal_class.original_string: ValueBoxEditor<Character> escapeChar;
focal_class.type: ValueBoxEditor<Character>
focal_class.var_name: escapeChar
focal_class.declarator: datePattern
focal_class.original_string: ValueBoxEditor<String> datePattern;
focal_class.type: ValueBoxEditor<String>
focal_class.var_name: datePattern
focal_class.declarator: numberPattern
focal_class.original_string: ValueBoxEditor<String> numberPattern;
focal_class.type: ValueBoxEditor<String>
focal_class.var_name: numberPattern
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: CSVDataSetDef value;
focal_class.type: CSVDataSetDef
focal_class.var_name: value
focal_class.declarator: isUsingFilePath = true
focal_class.original_string: boolean isUsingFilePath = true;
focal_class.type: boolean
focal_class.var_name: isUsingFilePath
focal_class.file: dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/csv/CSVDataSetDefAttributesEditor.java
focal_class.identifier: CSVDataSetDefAttributesEditor
focal_class.interfaces: implements IsWidget, org.dashbuilder.dataset.client.editor.CSVDataSetDefAttributesEditor
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.CSVDataSetDefAttributesEditor(final DataSetClientServices dataSetClientServices,
                                           final ValueBoxEditor<String> fileURL,
                                           final FileUploadEditor filePath,
                                           final ValueBoxEditor<Character> separatorChar,
                                           final ValueBoxEditor<Character> quoteChar,
                                           final ValueBoxEditor<Character> escapeChar,
                                           final ValueBoxEditor<String> datePattern,
                                           final ValueBoxEditor<String> numberPattern,
                                           final View view)
focal_class.full_signature: @Inject public  CSVDataSetDefAttributesEditor(final DataSetClientServices dataSetClientServices,
                                           final ValueBoxEditor<String> fileURL,
                                           final FileUploadEditor filePath,
                                           final ValueBoxEditor<Character> separatorChar,
                                           final ValueBoxEditor<Character> quoteChar,
                                           final ValueBoxEditor<Character> escapeChar,
                                           final ValueBoxEditor<String> datePattern,
                                           final ValueBoxEditor<String> numberPattern,
                                           final View view)
focal_class.identifier: CSVDataSetDefAttributesEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (final DataSetClientServices dataSetClientServices,
                                           final ValueBoxEditor<String> fileURL,
                                           final FileUploadEditor filePath,
                                           final ValueBoxEditor<Character> separatorChar,
                                           final ValueBoxEditor<Character> quoteChar,
                                           final ValueBoxEditor<Character> escapeChar,
                                           final ValueBoxEditor<String> datePattern,
                                           final ValueBoxEditor<String> numberPattern,
                                           final View view)
focal_class.signature:  CSVDataSetDefAttributesEditor(final DataSetClientServices dataSetClientServices,
                                           final ValueBoxEditor<String> fileURL,
                                           final FileUploadEditor filePath,
                                           final ValueBoxEditor<Character> separatorChar,
                                           final ValueBoxEditor<Character> quoteChar,
                                           final ValueBoxEditor<Character> escapeChar,
                                           final ValueBoxEditor<String> datePattern,
                                           final ValueBoxEditor<String> numberPattern,
                                           final View view)
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.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: CSVDataSetDefAttributesEditor.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: CSVDataSetDefAttributesEditor.fileURL()
focal_class.full_signature: @Override public ValueBoxEditor<String> fileURL()
focal_class.identifier: fileURL
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<String>
focal_class.signature: ValueBoxEditor<String> fileURL()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.filePath()
focal_class.full_signature: @Override public FileUploadEditor filePath()
focal_class.identifier: filePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: FileUploadEditor
focal_class.signature: FileUploadEditor filePath()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.separatorChar()
focal_class.full_signature: @Override public ValueBoxEditor<Character> separatorChar()
focal_class.identifier: separatorChar
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<Character>
focal_class.signature: ValueBoxEditor<Character> separatorChar()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.quoteChar()
focal_class.full_signature: @Override public ValueBoxEditor<Character> quoteChar()
focal_class.identifier: quoteChar
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<Character>
focal_class.signature: ValueBoxEditor<Character> quoteChar()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.escapeChar()
focal_class.full_signature: @Override public ValueBoxEditor<Character> escapeChar()
focal_class.identifier: escapeChar
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<Character>
focal_class.signature: ValueBoxEditor<Character> escapeChar()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.datePattern()
focal_class.full_signature: @Override public ValueBoxEditor<String> datePattern()
focal_class.identifier: datePattern
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<String>
focal_class.signature: ValueBoxEditor<String> datePattern()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.numberPattern()
focal_class.full_signature: @Override public ValueBoxEditor<String> numberPattern()
focal_class.identifier: numberPattern
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<String>
focal_class.signature: ValueBoxEditor<String> numberPattern()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.isUsingFilePath()
focal_class.full_signature: @Override public boolean isUsingFilePath()
focal_class.identifier: isUsingFilePath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUsingFilePath()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.onPropertyChange(final String... paths)
focal_class.full_signature: @Override public void onPropertyChange(final String... paths)
focal_class.identifier: onPropertyChange
focal_class.modifiers: @Override public
focal_class.parameters: (final String... paths)
focal_class.return: void
focal_class.signature: void onPropertyChange(final String... paths)
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.setValue(final CSVDataSetDef value)
focal_class.full_signature: @Override public void setValue(final CSVDataSetDef value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (final CSVDataSetDef value)
focal_class.return: void
focal_class.signature: void setValue(final CSVDataSetDef value)
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.setDelegate(final EditorDelegate<CSVDataSetDef> delegate)
focal_class.full_signature: @Override public void setDelegate(final EditorDelegate<CSVDataSetDef> delegate)
focal_class.identifier: setDelegate
focal_class.modifiers: @Override public
focal_class.parameters: (final EditorDelegate<CSVDataSetDef> delegate)
focal_class.return: void
focal_class.signature: void setDelegate(final EditorDelegate<CSVDataSetDef> delegate)
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.onUseFilePathButtonClick()
focal_class.full_signature:  void onUseFilePathButtonClick()
focal_class.identifier: onUseFilePathButtonClick
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onUseFilePathButtonClick()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.onUseFileURLButtonClick()
focal_class.full_signature:  void onUseFileURLButtonClick()
focal_class.identifier: onUseFileURLButtonClick
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onUseFileURLButtonClick()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.useFilePath()
focal_class.full_signature:  void useFilePath()
focal_class.identifier: useFilePath
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void useFilePath()
focal_class.class_method_signature: CSVDataSetDefAttributesEditor.useFileURL()
focal_class.full_signature:  void useFileURL()
focal_class.identifier: useFileURL
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void useFileURL()
focal_method.body: @PostConstruct
      public void init() {
          // Initialize the Bean specific attributes editor view.
          view.init(this);
          view.initWidgets(fileURL.view, filePath.view, separatorChar.view, quoteChar.view,
                  escapeChar.view, datePattern.view, numberPattern.view);
          fileURL.addHelpContent(DataSetEditorConstants.INSTANCE.csv_URL(),
                  DataSetEditorConstants.INSTANCE.csv_URL_description(),
                  Placement.BOTTOM);
          filePath.addHelpContent(DataSetEditorConstants.INSTANCE.csv_filePath(),
                  DataSetEditorConstants.INSTANCE.csv_filePath_description(),
                  Placement.BOTTOM);
          separatorChar.addHelpContent(DataSetEditorConstants.INSTANCE.csv_sepChar(),
                  DataSetEditorConstants.INSTANCE.csv_sepChar_description(),
                  Placement.BOTTOM);
          quoteChar.addHelpContent(DataSetEditorConstants.INSTANCE.csv_quoteChar(),
                  DataSetEditorConstants.INSTANCE.csv_quoteChar_description(),
                  Placement.BOTTOM);
          escapeChar.addHelpContent(DataSetEditorConstants.INSTANCE.csv_escapeChar(),
                  DataSetEditorConstants.INSTANCE.csv_escapeChar_description(),
                  Placement.BOTTOM);
          datePattern.addHelpContent(DataSetEditorConstants.INSTANCE.csv_datePattern(),
                  DataSetEditorConstants.INSTANCE.csv_datePattern_description(),
                  Placement.BOTTOM);
          numberPattern.addHelpContent(DataSetEditorConstants.INSTANCE.csv_numberPattern(),
                  DataSetEditorConstants.INSTANCE.csv_numberPattern_description(),
                  Placement.BOTTOM);
  
          // Configure file upload component.
          filePath.configure("csvFileUpload", new FileUploadEditor.FileUploadEditorCallback() {
              @Override
              public String getUploadFileName() {
                  return value.getUUID() + ".csv";
              }
  
              @Override
              public String getUploadFileUrl() {
                  String csvPath = "default://master@datasets/tmp/" + value.getUUID() + ".csv";
                  return dataSetClientServices.getUploadFileUrl(csvPath);
              }
          });
          
          // By default, show the file path input.
          view.showFilePathInput();
      }
focal_method.class_method_signature: CSVDataSetDefAttributesEditor.init()
focal_method.full_signature: @PostConstruct public void init()
focal_method.identifier: init
focal_method.invocations: init initWidgets addHelpContent csv_URL csv_URL_description addHelpContent csv_filePath csv_filePath_description addHelpContent csv_sepChar csv_sepChar_description addHelpContent csv_quoteChar csv_quoteChar_description addHelpContent csv_escapeChar csv_escapeChar_description addHelpContent csv_datePattern csv_datePattern_description addHelpContent csv_numberPattern csv_numberPattern_description configure getUUID getUUID getUploadFileUrl showFilePathInput
focal_method.modifiers: @PostConstruct public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void init()