public Tool getData() {
    Tool tool = createTool();

    tool.setName(convertString(content.nameField.getText()));
    tool.setDescription(convertString(content.descriptionField.getText()));
    Object selectedItem = content.groupCombo.getSelectedItem();
    tool.setGroup(StringUtil.notNullize(selectedItem != null ? convertString(selectedItem.toString()) : ""));
    tool.setUseConsole(content.useConsoleCheckbox.isSelected());
    tool.setShowConsoleOnStdOut(content.showConsoleOnStdOutCheckbox.isSelected());
    tool.setShowConsoleOnStdErr(content.showConsoleOnStdErrCheckbox.isSelected());
    tool.setFilesSynchronizedAfterRun(content.synchronizedAfterRunCheckbox.isSelected());
    tool.setEnabled(myEnabled);

    tool.setWorkingDirectory(StringUtil.nullize(FileUtil.toSystemIndependentName(content.workingDirField.getText())));
    tool.setProgram(convertString(content.programField.getText()));
    tool.setParameters(convertString(content.argumentsField.getText()));

    final List<String> filterStrings = OUTPUT_FILTERS_SPLITTER.fun(content.outputFilterField.getText().trim());
    final FilterInfo[] filters = ContainerUtil.map2Array(filterStrings, FilterInfo.class, s -> new FilterInfo(s, "", ""));
    tool.setOutputFilters(filters);

    return tool;
  }
public Tool getData()