public abstract class AbstractConsoleRunnerWithHistory<T extends LanguageConsoleView>
extends java.lang.Object
Constructor and Description |
---|
AbstractConsoleRunnerWithHistory(Project project,
java.lang.String consoleTitle,
java.lang.String workingDir) |
public AbstractConsoleRunnerWithHistory(Project project, java.lang.String consoleTitle, java.lang.String workingDir)
public void initAndRun() throws ExecutionException
ExecutionException
protected Executor getExecutor()
protected void createContentDescriptorAndActions()
protected javax.swing.Icon getConsoleIcon()
protected java.lang.String constructConsoleTitle(java.lang.String consoleTitle)
public boolean isAutoFocusContent()
protected boolean shouldAddNumberToTitle()
protected void showConsole(Executor defaultExecutor, RunContentDescriptor contentDescriptor)
protected void finishConsole()
protected abstract T createConsoleView()
protected abstract java.lang.Process createProcess() throws ExecutionException
ExecutionException
protected abstract OSProcessHandler createProcessHandler(java.lang.Process process)
public static void registerActionShortcuts(java.util.List<? extends AnAction> actions, javax.swing.JComponent component)
protected java.util.List<AnAction> fillToolBarActions(DefaultActionGroup toolbarActions, Executor defaultExecutor, RunContentDescriptor contentDescriptor)
protected AnAction createCloseAction(Executor defaultExecutor, RunContentDescriptor myDescriptor)
protected AnAction createStopAction()
protected AnAction createConsoleExecAction(ProcessBackedConsoleExecuteActionHandler consoleExecuteActionHandler)
protected abstract ProcessBackedConsoleExecuteActionHandler createExecuteActionHandler()
public T getConsoleView()
public Project getProject()
public java.lang.String getConsoleTitle()
public java.lang.String getWorkingDir()
public ProcessHandler getProcessHandler()
public ProcessBackedConsoleExecuteActionHandler getConsoleExecuteActionHandler()