|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.ui.testplugin.Main
public class Main
Startup class for Eclipse. Creates a class loader using supplied URL of platform installation, loads and calls the Eclipse Boot Loader. The startup arguments are as follows:
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
static void |
endSplash()
Tears down the currently-displayed splash screen. |
java.lang.Class |
getBootLoader(java.lang.String base)
Creates and returns a platform BootLoader which can be used to start
up and run the platform. |
java.lang.Class |
getUpdateLoader(java.lang.String base)
Returns the update loader for the given boot path. |
static void |
main(java.lang.String argString)
Runs this launcher with the arguments specified in the given string. |
static void |
main(java.lang.String[] args)
Runs the platform with the given arguments. |
java.lang.Object |
run(java.lang.String[] args)
Runs the application to be launched. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public java.lang.Class getBootLoader(java.lang.String base) throws java.lang.Exception
BootLoader
which can be used to start
up and run the platform. The given base, if not null
,
is the location of the boot loader code. If the value is null
then the boot loader is located relative to this class.
base
- the location of the boot loader
java.lang.Exception
public java.lang.Class getUpdateLoader(java.lang.String base) throws java.lang.Exception
base
- the boot path base
java.lang.Exception
- thrown is a problem occurs determining this loaderpublic static void main(java.lang.String[] args)
-application com.example.application
).
After running the application System.exit(N)
is executed.
The value of N is derived from the value returned from running the application.
If the application's return value is an Integer
, N is this value.
In all other cases, N = 0.
Clients wishing to run the platform without a following System.exit
call should use run()
.
args
- the command line argumentsrun(java.lang.String[])
public static void endSplash()
public static void main(java.lang.String argString) throws java.lang.Exception
argString
- the arguments string
java.lang.Exception
- thrown if a problem occurs during launchingpublic java.lang.Object run(java.lang.String[] args) throws java.lang.Exception
args
- the arguments to pass to the application
thrown
- if a problem occurs during launching
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |