public class RunningProcess extends JRunProcess
JRunProcess.CompilationScopecanceledSelectionOfDefaultRunTarget, compilationTargets, COMPILE_FROM_JRUNPROCESS, compileSavedAll, considerDefaultRunTarget, DATABASE_RUN_HELPER, JAVA_BOOT_CLASS_PATH, JAVA_CLASS_PATH, JAVA_FIRST_COMMAND_OPTIONS, JAVA_LAST_COMMAND_OPTIONS, lockCompiler, RUN_COOKIE_JAVA_EMBEDDED_SERVER, RUN_TYPE_DATABASE, RUN_TYPE_JAVA, RUN_TYPE_JS_MOZILLA_FIREFOX, RUN_TYPE_XQUERY, RUN_TYPE_XSLT, runConfiguration, timeAfterCompile, XSLT_FIRST_COMMAND_OPTIONS, XSLT_LAST_COMMAND_OPTIONSaddToProcessesFolder, addToTerminateMenu, allowInput, container, context, determineTargetAndStarterAlready, errors, hideTerminateAction, iconOverride, isPreparingLabel, labelOverride, labelPrefixOverride, logCommandString, logError, logExit, logOutput, logPageOverride, logStartDirectory, RUN_PROCESS_DO_NOT_CONSIDER_DEFAULT, RUN_PROCESS_USE_NODE_FROM_CONTEXT, runProcessListener, showStartStatus, starter, target, timeCreated, useContainerLogPage, useLogPage, useLogPageQuietly, userCanceled| Constructor and Description |
|---|
RunningProcess(Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRun(java.lang.String runType,
java.lang.Object cookie,
Node node,
java.util.List errors)
Always returns true, since the process is already running
|
void |
finished()
Called to indicate the process has finished running.
|
static javax.swing.Icon |
getDefaultIcon()
Returns the default icon to use if no overriding icon is specified for the process
|
HelpInfo |
getHelpInfo()
Return HelpInfo for the running process
|
javax.swing.Icon |
getIcon()
Returns an icon to be used for the running process
|
java.lang.String |
getProcessLabelPrefix()
Returns a string to be prepended to the config name when it is running (e.g., "Running:")
|
protected boolean |
startTarget()
Clears the log page associated with this run process (if
appropriate).
|
addProcessActionButtonToToolbar, addProcessActionButtonToToolbar, checkStarter, clearProcessActionButtonsFromToolbar, compile, determineTargetAndStarter, getCompilationScope, getJdkDefinition, getJProject, getJProject, getLogPageToolbar, getProcessActionButtonGroup, getRunConfiguration, getStartDirectory, getStartEnvironmentParams, getTimeAfterCompile, isPlainRun, isSameType, makeLogPage, setProcessActionButtonGroup, showLogPageToolbar, showProcessActionButtonsOnToolbar, startcanContainRunProcesses, canGarbageCollect, canGetStarterForTarget, canGetStarterForTarget, canStart, canStopInChrome, canStopOnDebuggerStatement, canStopOnError, canStopOnException, canTerminate, canTransferErrors, copyTo, determineTargetAndStarter, doGarbageCollection, doubleClicked, doUI, doUILater, duplicateErrorStream, duplicateOutputStream, finishedPreparingToStart, finishProgressHandle, fireFinished, fireFinishedPreparing, firePreparingToStart, fireStarted, fixCommandStringForLog, getAttributes, getChildren, getContainer, getContext, getContextNodeForRun, getData, getLogPage, getLogPage, getLongLabel, getProcessLayout, getProject, getProject, getRetargetProcess, getRunnableItems, getRunnableItemsForTarget, getRunnableItemsForTarget, getShortLabel, getShortLabelWithPrefix, getStartCommand, getStarter, getStarter, getStarterFactorySubClass, getStarterForTarget, getStarterForTarget, getStopInChrome, getStopOnDebuggerStatement, getStopOnError, getStopOnException, getSuppressLogging, getSystemErrAttributeSet, getSystemOutAttributeSet, getTarget, getTarget, getTerminateCommand, getTimeCreated, getToolTipText, getTransferErrors, getUseContainerLogPage, getUseLogPage, getUseLogPageQuietly, getValue, getWorkspace, hasFinished, inheritLogPage, initProgressHandle, initProgressHandle, isProgressHandleActive, isRetargetableProcess, isStartOnly, log, logCommandString, logStartDirectory, logStartErrors, mayHaveChildren, mustPrepareToStart, prepareToStart, redirectInput, redirectOutput, reuseLogPage, selected, setContainer, setHideTerminateAction, setIconOverride, setLabelOverride, setLabelPrefixOverride, setLogCommandString, setLogError, setLogExit, setLogOutput, setLogPageOverride, setLogStartDirectory, setProgressHandleDisplayName, setStopInChrome, setStopOnDebuggerStatement, setStopOnError, setStopOnException, setSuppressLogging, setTransferErrors, setUseContainerLogPage, setUseLogPage, setUseLogPageQuietly, showStartStatus, start, started, suppressDirectoryDefault, terminate, toString, unselected, updateProgressHandle, updateProgressHandle, updateProgressHandleAndTakeOwnership, waitForRedirectOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributedLabelpublic RunningProcess(Context context)
public boolean canRun(java.lang.String runType,
java.lang.Object cookie,
Node node,
java.util.List errors)
canRun in class RunProcesspublic java.lang.String getProcessLabelPrefix()
getProcessLabelPrefix in class RunProcesspublic javax.swing.Icon getIcon()
getIcon in interface DisplayablegetIcon in class RunProcesspublic static javax.swing.Icon getDefaultIcon()
public HelpInfo getHelpInfo()
getHelpInfo in interface HelpablegetHelpInfo in class RunProcessprotected boolean startTarget()
JRunProcess
Calls the super.startTarget method.
startTarget in class JRunProcesstrue if the process was startedpublic void finished()
finished in class RunProcess