当前位置: 首页>>代码示例>>Java>>正文


Java ExecutionResult.getExecutionConsole方法代码示例

本文整理汇总了Java中com.intellij.execution.ExecutionResult.getExecutionConsole方法的典型用法代码示例。如果您正苦于以下问题:Java ExecutionResult.getExecutionConsole方法的具体用法?Java ExecutionResult.getExecutionConsole怎么用?Java ExecutionResult.getExecutionConsole使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.intellij.execution.ExecutionResult的用法示例。


在下文中一共展示了ExecutionResult.getExecutionConsole方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
@NotNull
@Override
protected PyDebugProcess createDebugProcess(@NotNull XDebugSession session,
                                            ServerSocket serverSocket,
                                            ExecutionResult result,
                                            PythonCommandLineState pyState) {
  ExecutionConsole executionConsole = result.getExecutionConsole();
  ProcessHandler processHandler = result.getProcessHandler();
  boolean isMultiProcess = pyState.isMultiprocessDebug();
  String scriptName = getScriptName(pyState);
  if (scriptName != null) {
    VirtualFile file = VfsUtil.findFileByIoFile(new File(scriptName), true);
    if (file != null) {
      int line = getBreakpointLineNumber(file, session.getProject());
      if (line != NO_LINE) {
        return new PyEduDebugProcess(session, serverSocket,
                                     executionConsole, processHandler,
                                     isMultiProcess, scriptName, line + 1);
      }
    }
  }
  LOG.info("Failed to create PyEduDebugProcess. PyDebugProcess created instead.");
  return new PyDebugProcess(session, serverSocket, executionConsole,
                            processHandler, isMultiProcess);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:26,代码来源:PyEduDebugRunner.java

示例2: MuleDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public MuleDebugProcess(@NotNull final XDebugSession session, @NotNull final MuleDebuggerSession muleDebuggerSession, ExecutionResult result, Map<String, String> modulesToAppsMap) {
  super(session);
  this.muleDebuggerSession = muleDebuggerSession;
  this.muleBreakpointHandler = new MuleBreakpointHandler(muleDebuggerSession, modulesToAppsMap);
  this.editorProperties = new MuleDebuggerEditorProperties();
  this.processHandler = result.getProcessHandler();
  this.executionConsole = result.getExecutionConsole();
  init();
}
 
开发者ID:machaval,项目名称:mule-intellij-plugins,代码行数:10,代码来源:MuleDebugProcess.java

示例3: WeaveDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
protected WeaveDebugProcess(@NotNull XDebugSession session, DebuggerClient debuggerClient, ExecutionResult result)
{
    super(session);
    this.weaveDebuggerClient = debuggerClient;
    this.processHandler = result.getProcessHandler();
    this.executionConsole = result.getExecutionConsole();
    this.breakpointHandler = new WeaveBreakpointHandler(debuggerClient);
}
 
开发者ID:machaval,项目名称:mule-intellij-plugins,代码行数:9,代码来源:WeaveDebugProcess.java

示例4: RunContentDescriptor

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public RunContentDescriptor(@NotNull RunProfile profile, @NotNull ExecutionResult executionResult, @NotNull RunnerLayoutUi ui) {
  this(executionResult.getExecutionConsole(),
       executionResult.getProcessHandler(),
       ui.getComponent(),
       profile.getName(),
       profile.getIcon(),
       null,
       executionResult instanceof DefaultExecutionResult ? ((DefaultExecutionResult)executionResult).getRestartActions() : null);
  myRunnerLayoutUi = ui;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:11,代码来源:RunContentDescriptor.java

示例5: createDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
@NotNull
protected PyDebugProcess createDebugProcess(@NotNull XDebugSession session,
                                            ServerSocket serverSocket,
                                            ExecutionResult result,
                                            PythonCommandLineState pyState) {
  return new PyDebugProcess(session, serverSocket, result.getExecutionConsole(), result.getProcessHandler(),
                            pyState.isMultiprocessDebug());
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:9,代码来源:PyDebugRunner.java

示例6: createConsoleCommunicationAndSetupActions

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public static void createConsoleCommunicationAndSetupActions(@NotNull final Project project,
                                                             @NotNull final ExecutionResult result,
                                                             @NotNull PyDebugProcess debugProcess, @NotNull XDebugSession session) {
  ExecutionConsole console = result.getExecutionConsole();
  if (console instanceof PythonDebugLanguageConsoleView) {
    ProcessHandler processHandler = result.getProcessHandler();

    initDebugConsoleView(project, debugProcess, (PythonDebugLanguageConsoleView)console, processHandler, session);
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:11,代码来源:PyDebugRunner.java

示例7: XsltDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public XsltDebugProcess(XDebugSession session, ExecutionResult executionResult, XsltChecker.LanguageLevel data) {
  super(session);
  myProcessHandler = executionResult.getProcessHandler();
  myProcessHandler.putUserData(KEY, this);
  myExecutionConsole = executionResult.getExecutionConsole();
  myEditorsProvider = new XsltDebuggerEditorsProvider(data);
  Disposer.register(myExecutionConsole, this);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:9,代码来源:XsltDebugProcess.java

示例8: XQueryDebugProcess

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public XQueryDebugProcess(XDebugSession session, ExecutionResult executionResult, DBGpIde dbgpIde) {
    super(session);
    this.dbgpIde = dbgpIde;
    executionConsole = executionResult.getExecutionConsole();
    processHandler = executionResult.getProcessHandler();
}
 
开发者ID:ligasgr,项目名称:intellij-xquery,代码行数:7,代码来源:XQueryDebugProcess.java

示例9: RunContentDescriptor

import com.intellij.execution.ExecutionResult; //导入方法依赖的package包/类
public RunContentDescriptor(@Nonnull RunProfile profile, @Nonnull ExecutionResult executionResult, @Nonnull RunnerLayoutUi ui) {
  this(executionResult.getExecutionConsole(), executionResult.getProcessHandler(), ui.getComponent(), profile.getName(), profile.getIcon(), null,
       executionResult instanceof DefaultExecutionResult ? ((DefaultExecutionResult)executionResult).getRestartActions() : null);
  myRunnerLayoutUi = ui;
}
 
开发者ID:consulo,项目名称:consulo,代码行数:6,代码来源:RunContentDescriptor.java


注:本文中的com.intellij.execution.ExecutionResult.getExecutionConsole方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。