1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.jsp.launching;
15 
16 import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
17 import org.eclipse.debug.ui.CommonTab;
18 import org.eclipse.debug.ui.ILaunchConfigurationDialog;
19 import org.eclipse.debug.ui.ILaunchConfigurationTab;
20 import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
21 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
22 import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
23 
24 /**
25  * Tab group for launching a local Tomcat server.
26  */
27 public class TomcatTabGroup extends AbstractLaunchConfigurationTabGroup {
28 
29 	@Override
createTabs(ILaunchConfigurationDialog dialog, String mode)30 	public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
31 		ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
32 			new TomcatTab(),
33 			new JavaJRETab(),
34 			new JavaClasspathTab(),
35 			new SourceLookupTab(),
36 			new CommonTab(),
37 		};
38 		setTabs(tabs);
39 	}
40 
41 }
42