本文整理汇总了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);
}
示例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();
}
示例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);
}
示例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;
}
示例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());
}
示例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);
}
}
示例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);
}
示例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();
}
示例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;
}