anchor.diff:      });
     }
   
  -  Future importFolder([List<ws.Resource> resources,
  -                       SparkActionWithStatusDialog action]) {
  +  Future importFolder([List<ws.Resource> resources, ImportFolderAction action]) {
       chrome.ChooseEntryOptions options = new chrome.ChooseEntryOptions(
           type: chrome.ChooseEntryType.OPEN_DIRECTORY);
       return chrome.fileSystem.chooseEntry(options).then(
  
positive.code:         Future f = folder.importDirectoryEntry(entry).catchError((e) {
            showErrorMessage('Error while importing folder', e);
          });
          action._waitForJob('Open Folder', 'Opening Folder…', f);
        }
      });
    }
  
negative.code: }
  
  class FolderOpenAction extends SparkActionWithStatusDialog {
    FolderOpenAction(Spark spark, SparkDialog dialog)
        : super(spark, "folder-open", 'Add Folder to Workspace…', dialog);
  
    void _invoke([Object context]) {
      spark.openFolder(this);
  