KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > terracotta > dso > launch > LaunchShortcut


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package org.terracotta.dso.launch;
5
6 import org.eclipse.debug.core.ILaunchConfigurationType;
7
8 public class LaunchShortcut extends org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut {
9   /**
10    * Renamed to getConfigurationType in 3.2
11    */

12   protected ILaunchConfigurationType getJavaLaunchConfigType() {
13     return internalGetJavaLaunchConfigType();
14   }
15
16   /**
17    * Renamed from getJavaLaunchConfigType in 3.1
18    */

19   protected ILaunchConfigurationType getConfigurationType() {
20     return internalGetJavaLaunchConfigType();
21   }
22
23   /**
24    * Bridge to span renaming of getJavaLaunchConfigType -> getConfigurationType in 3.2
25    */

26   private ILaunchConfigurationType internalGetJavaLaunchConfigType() {
27     return getLaunchManager().getLaunchConfigurationType("launch.configurationDelegate");
28   }
29 }
30
Popular Tags