| /******************************************************************************* |
| * Copyright (c) 2007 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.wst.server.ui.internal; |
| |
| import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup; |
| import org.eclipse.debug.ui.CommonTab; |
| import org.eclipse.debug.ui.ILaunchConfigurationDialog; |
| import org.eclipse.debug.ui.ILaunchConfigurationTab; |
| /** |
| * Run on Server launch configuration tab group. |
| */ |
| public class RunOnServerLaunchConfigurationTabGroup extends AbstractLaunchConfigurationTabGroup { |
| public void createTabs(ILaunchConfigurationDialog dialog, String mode) { |
| ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[2]; |
| tabs[0] = new RunOnServerLaunchConfigurationTab(); |
| tabs[0].setLaunchConfigurationDialog(dialog); |
| tabs[1] = new CommonTab(); |
| tabs[1].setLaunchConfigurationDialog(dialog); |
| setTabs(tabs); |
| } |
| } |