DataContext () { return SimpleDataContext.builder() .add(CommonDataKeys.PROJECT, getProject()) .add(CommonDataKeys.VIRTUAL_FILE, getWorkDirectory()) .add(RunAnythingAction.EXECUTOR_KEY, getCurrentExecutor()) .add(RunAnythingProvider.EXECUTING_CONTEXT, myChooseContextAction.getSelectedContext()) .build(); }