01: /*******************************************************************************
02: * Copyright (c) 2005 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.pde.ui.launcher;
11:
12: import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
13: import org.eclipse.pde.internal.ui.launcher.JUnitProgramBlock;
14:
15: /**
16: * A launch configuration tab that displays and edits the main launching arguments
17: * of a Plug-in JUnit test.
18: * <p>
19: * This class may be instantiated. This class is not intended to be subclassed by clients.
20: * </p>
21: * @since 3.2
22: */
23: public class PluginJUnitMainTab extends MainTab {
24:
25: /**
26: * Overrides the implementation of the basis MainTab.
27: */
28: protected void createProgramBlock() {
29: fProgramBlock = new JUnitProgramBlock(this );
30: }
31:
32: /*
33: * (non-Javadoc)
34: * @see org.eclipse.debug.ui.ILaunchConfigurationTab#setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)
35: */
36: public void setDefaults(ILaunchConfigurationWorkingCopy config) {
37: fDataBlock.setDefaults(config, true);
38: fProgramBlock.setDefaults(config);
39: fJreBlock.setDefaults(config);
40: }
41:
42: }
|