blob: 663defcc097bc185dfbee522ccb65ba0f506581b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 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.jsdt.debug.internal.rhino.ui.launching;
import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
import org.eclipse.debug.ui.CommonTab;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.debug.ui.sourcelookup.SourceLookupTab;
import org.eclipse.wst.jsdt.debug.internal.rhino.ui.IHelpConstants;
/**
* Rhino specific tab group
*
* @since 1.0
*/
public class RhinoTabGroup extends AbstractLaunchConfigurationTabGroup {
/**
* Constructor
*/
public RhinoTabGroup() {
}
/* (non-Javadoc)
* @see org.eclipse.debug.ui.ILaunchConfigurationTabGroup#createTabs(org.eclipse.debug.ui.ILaunchConfigurationDialog, java.lang.String)
*/
public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
SourceLookupTab stab = new SourceLookupTab();
stab.setHelpContextId(IHelpConstants.SOURCE_TAB_CONTEXT);
CommonTab ctab = new CommonTab();
ctab.setHelpContextId(IHelpConstants.COMMON_TAB_CONTEXT);
setTabs(new ILaunchConfigurationTab[] {
new RhinoMainTab(),
new IncludeTab(),
stab,
ctab
}
);
}
}