public void actionPerformed(AnActionEvent e) {
   Object data = ErrorTreeView.CURRENT_EXCEPTION_DATA_KEY.getData(e.getDataContext());
   CvsConfigurationsListEditor.reconfigureCvsRoot(((CvsException) data).getCvsRoot(), myProject);
 }
 public void update(AnActionEvent e) {
   super.update(e);
   Object data = ErrorTreeView.CURRENT_EXCEPTION_DATA_KEY.getData(e.getDataContext());
   e.getPresentation().setEnabled(data instanceof CvsException);
 }