KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * All content copyright (c) 2003-2007 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.ILaunchConfigurationWorkingCopy;
7 import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
8 import org.eclipse.debug.ui.CommonTab;
9 import org.eclipse.debug.ui.EnvironmentTab;
10 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
11 import org.eclipse.debug.ui.ILaunchConfigurationTab;
12 import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
13 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
14 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
15 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
16 import org.eclipse.jdt.internal.junit.launcher.AssertionVMArg;
17 import org.eclipse.jdt.internal.junit.launcher.JUnitMainTab;
18
19 public class DSOJUnitTabGroup extends AbstractLaunchConfigurationTabGroup {
20   public void createTabs(ILaunchConfigurationDialog dialog, String JavaDoc mode) {
21     ILaunchConfigurationTab[] tabs= new ILaunchConfigurationTab[] {
22       new JUnitMainTab(),
23       new JavaArgumentsTab(),
24       new JavaClasspathTab(),
25       new JavaJRETab(),
26       new SourceLookupTab(),
27       new EnvironmentTab(),
28       new CommonTab()
29     };
30     setTabs(tabs);
31   }
32
33   public void setDefaults(ILaunchConfigurationWorkingCopy config) {
34     super.setDefaults(config);
35     AssertionVMArg.setArgDefault(config);
36   }
37 }
38
Popular Tags