KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > launcher > SWTLauncherTabGroup


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.ui.launcher;
12
13 import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
14 import org.eclipse.debug.ui.CommonTab;
15 import org.eclipse.debug.ui.EnvironmentTab;
16 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
17 import org.eclipse.debug.ui.ILaunchConfigurationTab;
18 import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
19 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
20 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
21 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
22 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaMainTab;
23
24 public class SWTLauncherTabGroup extends AbstractLaunchConfigurationTabGroup {
25
26     public void createTabs(ILaunchConfigurationDialog dialog, String JavaDoc mode) {
27         ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
28                 new JavaMainTab(),
29                 new JavaArgumentsTab(),
30                 new JavaJRETab(),
31                 new JavaClasspathTab(),
32                 new SourceLookupTab(),
33                 new EnvironmentTab(),
34                 new CommonTab()
35         };
36         setTabs(tabs);
37     }
38
39 }
40
Popular Tags