anchor.diff:    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 {
  
positive.code:     actionManager.registerAction(new WebStorePublishAction(this, getDialogElement('#webStorePublishDialog')));
      actionManager.registerAction(new SearchAction(this));
      actionManager.registerAction(new FocusMainMenuAction(this));
      actionManager.registerAction(new PubGetAction(this));
  
      actionManager.registerKeyListener();
    }
  
negative.code:   PubGetAction(Spark spark) : super(
        spark, "pub-get", "Pub Get") {
      enabled = false;
    }
  
    void _invoke([context]) {
  