File toSave = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, WorkflowDesigner.WORKSPACE_SUFFIX, "Workspace Files");
File toSave = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, WorkflowDesigner.WORKSPACE_SUFFIX, ResourceManager.getString("workspace.files"));
  public void actionPerformed(ActionEvent e)  {    if(currentWorkspace.getLocation()==null)    {      File toSave = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, WorkflowDesigner.WORKSPACE_SUFFIX, "Workspace Files");      if(toSave!=null)      {        currentWorkspace.setLocation(toSave);        Prefs.INSTANCE.put(Prefs.LAST_WORKSPACE, toSave.toString());        WorkflowDesigner.INSTANCE.navigator().setWorkspace(currentWorkspace);      }      else      {        return;      }    }    WorkflowDesigner.INSTANCE.saveWorkspace();    WorkflowDesigner.INSTANCE.saveOpenGraphs();  }