1 | package de.uka.ipd.sdq.codegen.ejb; |
2 | |
3 | import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup; |
4 | import org.eclipse.debug.ui.ILaunchConfigurationDialog; |
5 | import org.eclipse.debug.ui.ILaunchConfigurationTab; |
6 | |
7 | import de.uka.ipd.sdq.workflow.launchconfig.tabs.DebugEnabledCommonTab; |
8 | import de.uka.ipd.sdq.workflow.pcm.runconfig.FileNamesInputTab; |
9 | |
10 | /** |
11 | * The class defines tabs for the SimuBench Launch configuration menu. |
12 | * |
13 | * @author Roman Andrej |
14 | */ |
15 | public class EjbGeneratorTabGroup extends AbstractLaunchConfigurationTabGroup { |
16 | |
17 | /* (non-Javadoc) |
18 | * @see org.eclipse.debug.ui.ILaunchConfigurationTabGroup#createTabs(org.eclipse.debug.ui.ILaunchConfigurationDialog, java.lang.String) |
19 | */ |
20 | public void createTabs(ILaunchConfigurationDialog dialog, String mode) { |
21 | ILaunchConfigurationTab commonTab = new DebugEnabledCommonTab(); |
22 | ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { |
23 | new FileNamesInputTab(), // Default tab |
24 | new CodeGenerationConfigurationTab(), |
25 | commonTab |
26 | }; |
27 | setTabs(tabs); |
28 | } |
29 | } |