blob: 8c2f808844607284a5afc122df2a2eae91f26ca7 [file] [log] [blame]
/*******************************************************************************
* 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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.wst.server.preview.adapter.internal.ui;
import org.eclipse.debug.ui.*;
import org.eclipse.wst.server.ui.ServerLaunchConfigurationTab;
/**
* A debug tab group for launching the preview server.
*/
public class PreviewLaunchConfigurationTabGroup extends AbstractLaunchConfigurationTabGroup {
/*
* @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog, String)
*/
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[2];
tabs[0] = new ServerLaunchConfigurationTab(new String[] { "org.eclipse.wst.server.preview" });
tabs[0].setLaunchConfigurationDialog(dialog);
/*tabs[2] = new EnvironmentTab();
tabs[2].setLaunchConfigurationDialog(dialog);*/
tabs[1] = new CommonTab();
tabs[1].setLaunchConfigurationDialog(dialog);
setTabs(tabs);
}
}