KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > kelp > eclipse > ui > launcher > LocalEnhydraApplicationTabGroup


1 package org.enhydra.kelp.eclipse.ui.launcher;
2
3 import org.eclipse.debug.ui.CommonTab;
4 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
5 import org.eclipse.debug.ui.ILaunchConfigurationTab;
6 import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
7 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
8 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
9 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
10 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaSourceLookupTab;
11
12 /**
13  * Insert the type's description here.
14  * @see AbstractLaunchConfigurationTabGroup
15  */

16 public class LocalEnhydraApplicationTabGroup extends AbstractLaunchConfigurationTabGroup {
17     /**
18      * Insert the method's description here.
19      * @see AbstractLaunchConfigurationTabGroup#createTabs
20      */

21     public void createTabs(ILaunchConfigurationDialog dialog, String JavaDoc mode) {
22         ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
23             new EnhydraMainTab(),
24             new EnhydraArgumentsTab(),
25             new JavaJRETab(),
26 // new JavaClasspathTab(),
27
new EnhydraClassPathTab(),
28             new JavaSourceLookupTab(),
29             new CommonTab()
30         };
31
32         setTabs(tabs);
33
34         EnhydraMainTab eMainTab = (EnhydraMainTab) getTabs()[0];
35         eMainTab.setEArgumentsTab((EnhydraArgumentsTab)getTabs()[1]);
36     }
37 }
38
Popular Tags