Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2007-07-23 15:34:59 +0000
committerAndrew Niefer2007-07-23 15:34:59 +0000
commit8549ca4f62dee7d23f22e659f98ff70b07cde851 (patch)
tree8de781cc08e8899d278ba25c7ee94e947ba96aaf /bundles/org.eclipse.equinox.launcher
parentb594dc3caa6be3bc0e1d448fae741ba0b24ac10e (diff)
downloadrt.equinox.framework-8549ca4f62dee7d23f22e659f98ff70b07cde851.tar.gz
rt.equinox.framework-8549ca4f62dee7d23f22e659f98ff70b07cde851.tar.xz
rt.equinox.framework-8549ca4f62dee7d23f22e659f98ff70b07cde851.zip
Diffstat (limited to 'bundles/org.eclipse.equinox.launcher')
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 870c8c761..4bf79f83a 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -112,6 +112,10 @@ public class Main {
}
private final Thread splashHandler = new SplashHandler();
+ //splash screen system properties
+ public static final String SPLASH_HANDLE = "org.eclipse.equinox.launcher.splash.handle"; //$NON-NLS-1$
+ public static final String SPLASH_LOCATION = "org.eclipse.equinox.launcher.splash.location"; //$NON-NLS-1$
+
// command line args
private static final String FRAMEWORK = "-framework"; //$NON-NLS-1$
private static final String INSTALL = "-install"; //$NON-NLS-1$
@@ -1779,8 +1783,8 @@ public class Main {
bridge.showSplash(splashLocation);
long handle = bridge.getSplashHandle();
if(handle != 0 && handle != -1) {
- System.getProperties().put("org.eclipse.equinox.launcher.splash.handle", String.valueOf(handle)); //$NON-NLS-1$
- System.getProperties().put("org.eclipse.equinox.launcher.splash.location", splashLocation); //$NON-NLS-1$
+ System.getProperties().put(SPLASH_HANDLE, String.valueOf(handle));
+ System.getProperties().put(SPLASH_LOCATION, splashLocation);
bridge.updateSplash();
}
}
@@ -1793,6 +1797,7 @@ public class Main {
return;
splashDown = bridge.takeDownSplash();
+ System.getProperties().remove(SPLASH_HANDLE);
try {
Runtime.getRuntime().removeShutdownHook(splashHandler);

Back to the top