01: /*******************************************************************************
02: * Copyright (c) 2000, 2004 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jsp.launching;
11:
12: import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
13: import org.eclipse.debug.ui.CommonTab;
14: import org.eclipse.debug.ui.ILaunchConfigurationDialog;
15: import org.eclipse.debug.ui.ILaunchConfigurationTab;
16: import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
17: import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
18: import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
19:
20: /**
21: * Tab group for launching a local Tomcat server.
22: */
23: public class TomcatTabGroup extends AbstractLaunchConfigurationTabGroup {
24:
25: /* (non-Javadoc)
26: * @see org.eclipse.debug.ui.ILaunchConfigurationTabGroup#createTabs(org.eclipse.debug.ui.ILaunchConfigurationDialog, java.lang.String)
27: */
28: public void createTabs(ILaunchConfigurationDialog dialog,
29: String mode) {
30: ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
31: new TomcatTab(), new JavaJRETab(),
32: new JavaClasspathTab(), new SourceLookupTab(),
33: new CommonTab(), };
34: setTabs(tabs);
35: }
36:
37: }
|