anchor.diff:      actionManager.registerAction(new FolderOpenAction(this));
       actionManager.registerAction(new NewProjectAction(this, getDialogElement('#newProjectDialog')));
       actionManager.registerAction(new FileSaveAction(this));
  +    actionManager.registerAction(new PubGetAction(this));
       actionManager.registerAction(new ApplicationRunAction(this));
       actionManager.registerAction(new ApplicationPushAction(this, getDialogElement('#pushDialog')));
       actionManager.registerAction(new GitCloneAction(this, getDialogElement("#gitCloneDialog")));
  
positive.code:   bool _appliesTo(ws.Resource resource) =>  resource is ws.File && resource.name == 'pubspec.yaml';
  
    bool appliesTo(list) => list.length == 1 && _appliesTo(list.first); 
  
    void _updateEnablement(ws.Resource resource) {
      enabled = _appliesTo(resource);
    }
  }
  
  class ResourceRefreshAction extends SparkAction implements ContextAction {
  
negative.code:   PubGetAction(Spark spark) : super(
        spark, "pub-get", "Pub Get") {
      enabled = false;
    }
  
    void _invoke([context]) {
  