|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2005, 2009 IBM Corporation and others. |
2 |
* Copyright (c) 2005, 2010 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 337-346
Link Here
|
| 337 |
else |
337 |
else |
| 338 |
appLauncher.launch(appHandle, appHandle.getArguments().get(IApplicationContext.APPLICATION_ARGS)); |
338 |
appLauncher.launch(appHandle, appHandle.getArguments().get(IApplicationContext.APPLICATION_ARGS)); |
| 339 |
} else { |
339 |
} else { |
| 340 |
AnyThreadAppLauncher.launchEclipseApplication(appHandle); |
|
|
| 341 |
DefaultApplicationListener curDefaultApplicationListener = null; |
| 342 |
MainApplicationLauncher curMissingAppLauncher = null; |
| 343 |
if (isDefault) { |
340 |
if (isDefault) { |
|
|
341 |
DefaultApplicationListener curDefaultApplicationListener = null; |
| 342 |
MainApplicationLauncher curMissingAppLauncher = null; |
| 344 |
ApplicationLauncher appLauncher = null; |
343 |
ApplicationLauncher appLauncher = null; |
| 345 |
synchronized (this) { |
344 |
synchronized (this) { |
| 346 |
appLauncher = (ApplicationLauncher) launcherTracker.getService(); |
345 |
appLauncher = (ApplicationLauncher) launcherTracker.getService(); |
|
Lines 359-364
Link Here
|
| 359 |
curMissingAppLauncher.launch(curDefaultApplicationListener); |
358 |
curMissingAppLauncher.launch(curDefaultApplicationListener); |
| 360 |
else |
359 |
else |
| 361 |
appLauncher.launch(curDefaultApplicationListener, null); |
360 |
appLauncher.launch(curDefaultApplicationListener, null); |
|
|
361 |
} else { |
| 362 |
AnyThreadAppLauncher.launchEclipseApplication(appHandle); |
| 362 |
} |
363 |
} |
| 363 |
} |
364 |
} |
| 364 |
} |
365 |
} |