Lines 112-117
Link Here
|
112 |
} |
112 |
} |
113 |
private final Thread splashHandler = new SplashHandler(); |
113 |
private final Thread splashHandler = new SplashHandler(); |
114 |
|
114 |
|
|
|
115 |
//splash screen system properties |
116 |
public static final String SPLASH_HANDLE = "org.eclipse.equinox.launcher.splash.handle"; //$NON-NLS-1$ |
117 |
public static final String SPLASH_LOCATION = "org.eclipse.equinox.launcher.splash.location"; //$NON-NLS-1$ |
118 |
|
115 |
// command line args |
119 |
// command line args |
116 |
private static final String FRAMEWORK = "-framework"; //$NON-NLS-1$ |
120 |
private static final String FRAMEWORK = "-framework"; //$NON-NLS-1$ |
117 |
private static final String INSTALL = "-install"; //$NON-NLS-1$ |
121 |
private static final String INSTALL = "-install"; //$NON-NLS-1$ |
Lines 1779-1786
Link Here
|
1779 |
bridge.showSplash(splashLocation); |
1783 |
bridge.showSplash(splashLocation); |
1780 |
long handle = bridge.getSplashHandle(); |
1784 |
long handle = bridge.getSplashHandle(); |
1781 |
if(handle != 0 && handle != -1) { |
1785 |
if(handle != 0 && handle != -1) { |
1782 |
System.getProperties().put("org.eclipse.equinox.launcher.splash.handle", String.valueOf(handle)); //$NON-NLS-1$ |
1786 |
System.getProperties().put(SPLASH_HANDLE, String.valueOf(handle)); |
1783 |
System.getProperties().put("org.eclipse.equinox.launcher.splash.location", splashLocation); //$NON-NLS-1$ |
1787 |
System.getProperties().put(SPLASH_LOCATION, splashLocation); |
1784 |
bridge.updateSplash(); |
1788 |
bridge.updateSplash(); |
1785 |
} |
1789 |
} |
1786 |
} |
1790 |
} |
Lines 1793-1798
Link Here
|
1793 |
return; |
1797 |
return; |
1794 |
|
1798 |
|
1795 |
splashDown = bridge.takeDownSplash(); |
1799 |
splashDown = bridge.takeDownSplash(); |
|
|
1800 |
System.getProperties().remove(SPLASH_HANDLE); |
1796 |
|
1801 |
|
1797 |
try { |
1802 |
try { |
1798 |
Runtime.getRuntime().removeShutdownHook(splashHandler); |
1803 |
Runtime.getRuntime().removeShutdownHook(splashHandler); |