KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > ui > launcher > EclipseLauncherTabGroup


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.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
19 /**
20  * Creates and initializes the tabs for the Eclipse Application launch configuration.
21  * <p>
22  * This class may be instantiated or subclassed by clients.
23  * </p>
24  * @since 3.3
25  */

26 public class EclipseLauncherTabGroup extends AbstractPDELaunchConfigurationTabGroup {
27
28     /*
29      * (non-Javadoc)
30      * @see org.eclipse.debug.ui.ILaunchConfigurationTabGroup#createTabs(org.eclipse.debug.ui.ILaunchConfigurationDialog, java.lang.String)
31      */

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