private void runSelection(final DataContext dataContext, final boolean moveFocusToEditor) {
    if (!canRunSelection()) {
      return;
    }
    final AntBuildFileBase buildFile = getCurrentBuildFile();
    if (buildFile != null) {
      final List<String> targets = getTargetNamesFromPaths(myTree.getSelectionPaths());
      AntActionsUsagesCollector.runSelectedBuildAction.log(myProject);
      ExecutionHandler.runBuild(buildFile, targets, null, dataContext, Collections.emptyList(), AntBuildListener.NULL);

      if (moveFocusToEditor) {
        ToolWindowManager.getInstance(myProject).activateEditorComponent();
      }
    }
  }
private void runSelection(final DataContext dataContext, final boolean moveFocusToEditor)