Example #1
0
  public SetPluginPathDialog(
      Frame owner, PluginSpecReader pluginSpecReader, PluginSpecReader.Tool tool) {
    super(owner);
    initComponents();

    String toolName = tool.name;
    String title = pluginSpecReader.getName() + ": " + toolName;
    setTitle(title);

    this.pluginId = pluginSpecReader.getId();
    this.toolName = toolName;

    String currentPath = pluginSpecReader.getToolPath(tool);
    pathInput.setText(currentPath);
  }