|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlatformRunnable
Bootstrap type for the platform. Platform runnables represent executable
entry points into plug-ins. Runnables can be configured into the Platform's
org.eclipse.core.runtime.applications extension-point
or be made available through code or extensions on other plug-in's extension-points.
Clients may implement this interface.
| Field Summary | |
|---|---|
static Integer |
EXIT_OK
Exit object indicating normal termination |
static Integer |
EXIT_RELAUNCH
Exit object requesting that the command passed back be executed. |
static Integer |
EXIT_RESTART
Exit object requesting platform restart |
| Method Summary | |
|---|---|
Object |
run(Object args)
Runs this runnable with the given args and returns a result. |
| Field Detail |
|---|
static final Integer EXIT_OK
static final Integer EXIT_RESTART
static final Integer EXIT_RELAUNCH
eclipse.exit system property.
| Method Detail |
|---|
Object run(Object args)
throws Exception
String array.
Applications can return any object they like. If an Integer is returned
it is treated as the program exit code if Eclipse is exiting.
args - the argument(s) to pass to the application
Exception - if there is a problem running this runnable.EXIT_OK,
EXIT_RESTART,
EXIT_RELAUNCH
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.