public void doExecute(@NotNull final AnActionEvent event, final Map<String, Object> _params) { try { MergeDriverInstaller.installWhereNeeded( ((Project) MapSequence.fromMap(_params).get("project"))); } catch (Throwable t) { if (log.isErrorEnabled()) { log.error("User's action execute method failed. Action:" + "InstalVcsAddons", t); } } }
public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) { return MergeDriverInstaller.isApplicable( ((Project) MapSequence.fromMap(_params).get("project"))); }