KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.CommonTab;
14 import org.eclipse.debug.ui.EnvironmentTab;
15 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
16 import org.eclipse.debug.ui.ILaunchConfigurationTab;
17 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
18 import org.eclipse.pde.ui.launcher.ConfigurationTab;
19 import org.eclipse.pde.ui.launcher.MainTab;
20 import org.eclipse.pde.ui.launcher.PluginsTab;
21 import org.eclipse.pde.ui.launcher.TracingTab;
22
23 public class EclipseApplicationLauncherTabGroup extends AbstractPDELaunchConfigurationTabGroup {
24
25     /**
26      * @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog,
27      * String)
28      */

29     public void createTabs(ILaunchConfigurationDialog dialog, String JavaDoc mode) {
30         ILaunchConfigurationTab[] tabs = null;
31         tabs = new ILaunchConfigurationTab[]{
32                 new MainTab(),
33                 new JavaArgumentsTab(),
34                 new PluginsTab(),
35                 new ConfigurationTab(),
36                 new TracingTab(),
37                 new EnvironmentTab(),
38                 new CommonTab()};
39         setTabs(tabs);
40     }
41
42 }
43
Popular Tags