public void actionPerformed(AnActionEvent e) { Object data = ErrorTreeView.CURRENT_EXCEPTION_DATA_KEY.getData(e.getDataContext()); CvsConfigurationsListEditor.reconfigureCvsRoot(((CvsException) data).getCvsRoot(), myProject); }
public void actionPerformed(AnActionEvent e) { new ConfigureCvsGlobalSettingsDialog(e.getProject()).show(); }
public void update(AnActionEvent e) { super.update(e); Object data = ErrorTreeView.CURRENT_EXCEPTION_DATA_KEY.getData(e.getDataContext()); e.getPresentation().setEnabled(data instanceof CvsException); }
@Override public void update(AnActionEvent e) { super.update(e); e.getPresentation().setVisible(myCloseEnabled); }