コード例 #1
0
 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);
     }
   }
 }
コード例 #2
0
 public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) {
   return MergeDriverInstaller.isApplicable(
       ((Project) MapSequence.fromMap(_params).get("project")));
 }