/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies 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: * Tasktop Technologies - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.pde.ui.junit; import org.eclipse.debug.ui.CommonTab; import org.eclipse.debug.ui.EnvironmentTab; import org.eclipse.debug.ui.ILaunchConfigurationDialog; import org.eclipse.debug.ui.ILaunchConfigurationTab; import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab; import org.eclipse.mylyn.internal.java.ui.junit.TaskContextJUnitMainTab; import org.eclipse.pde.ui.launcher.ConfigurationTab; import org.eclipse.pde.ui.launcher.JUnitTabGroup; import org.eclipse.pde.ui.launcher.PluginJUnitMainTab; import org.eclipse.pde.ui.launcher.PluginsTab; import org.eclipse.pde.ui.launcher.TracingTab; /** * Copied from: JUnitTabGroup * * @author Mik Kersten */ @SuppressWarnings("restriction") public class TaskContextPdeJUnitTabGroup extends JUnitTabGroup { @Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = null; tabs = new ILaunchConfigurationTab[] { new TaskContextJUnitMainTab(true), // new JUnitLaunchConfigurationTab(), new PluginJUnitMainTab(), new JavaArgumentsTab(), new PluginsTab(false), new ConfigurationTab(true), new TracingTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); } }