IApplication
@Deprecated public interface IPlatformRunnable
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.
Modifier and Type | Field and Description |
---|---|
static Integer |
EXIT_OK
Deprecated.
Exit object indicating normal termination
|
static Integer |
EXIT_RELAUNCH
Deprecated.
Exit object requesting that the command passed back be executed.
|
static Integer |
EXIT_RESTART
Deprecated.
Exit object requesting platform restart
|
static final Integer EXIT_OK
static final Integer EXIT_RESTART
static final Integer EXIT_RELAUNCH
eclipse.exitdata
system property.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 applicationException
- if there is a problem running this runnable.EXIT_OK
,
EXIT_RESTART
,
EXIT_RELAUNCH
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.