|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.runner.RunProcess
oracle.jdeveloper.runner.JRunProcess
oracle.jdeveloper.runner.RunningProcess
public class RunningProcess
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
RunningProcess(Context context)
|
|
| Method Summary | |
|---|---|
boolean |
canRun(java.lang.String runType,
java.lang.Object cookie,
Node node,
java.util.List errors)
canRun should be called by the StarterFactory's canStart method. |
void |
finished()
This method will be called by the Starter, when this process finishes. |
static javax.swing.Icon |
getDefaultIcon()
|
HelpInfo |
getHelpInfo()
Returns the help info to be used when the user presses F1 in the log page for this run process. |
javax.swing.Icon |
getIcon()
Gets the Icon for this RunProcess element. |
java.lang.String |
getProcessLabelPrefix()
Returns the prefix that will be used in the short and long labels for this RunProcess. |
protected boolean |
startTarget()
Clears the log page associated with this run process (if appropriate). |
| Methods inherited from class oracle.jdeveloper.runner.JRunProcess |
|---|
checkStarter, compile, determineTargetAndStarter, getJdkDefinition, getJProject, getRunConfiguration, getStartDirectory, getTimeAfterCompile, isPlainRun, isSameType, makeLogPage, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RunningProcess(Context context)
| Method Detail |
|---|
public boolean canRun(java.lang.String runType,
java.lang.Object cookie,
Node node,
java.util.List errors)
RunProcessRunProcess subclasses that can run the specified runType should override this method and return true.
RunProcess subclasses that can not run the specified runType should override this method and add an error message to the errors list before returning false.
canRun in class RunProcesspublic java.lang.String getProcessLabelPrefix()
RunProcess
getProcessLabelPrefix in class RunProcesspublic javax.swing.Icon getIcon()
RunProcess
getIcon in interface DisplayablegetIcon in class RunProcesspublic static javax.swing.Icon getDefaultIcon()
public HelpInfo getHelpInfo()
RunProcess
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()
RunProcessIf the start method was not used to start the process, then this method should be called when the process finishes.
This method removes the process from the processes folder in the run manager navigator and removes the terminate menu, if a terminate menu item was added to the Run Terminate submenu for this process.
finished in class RunProcess
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||