14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 package com.nokia.cdt.internal.debug.launch.ui; |
17 package com.nokia.cdt.internal.debug.launch.ui; |
18 |
18 |
19 import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin; |
|
20 import org.eclipse.debug.core.ILaunchConfiguration; |
19 import org.eclipse.debug.core.ILaunchConfiguration; |
21 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; |
20 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; |
22 import org.eclipse.swt.SWT; |
21 import org.eclipse.swt.SWT; |
23 import org.eclipse.swt.layout.GridLayout; |
22 import org.eclipse.swt.layout.GridLayout; |
24 import org.eclipse.swt.widgets.Composite; |
23 import org.eclipse.swt.widgets.Composite; |
|
24 |
|
25 import com.nokia.cdt.internal.debug.launch.LaunchPlugin; |
25 |
26 |
26 public class StopModeMainTab extends CarbideMainTab { |
27 public class StopModeMainTab extends CarbideMainTab { |
27 |
28 |
28 |
29 |
29 public void createControl(Composite parent) { |
30 public void createControl(Composite parent) { |
30 Composite comp = new Composite(parent, SWT.NONE); |
31 Composite comp = new Composite(parent, SWT.NONE); |
31 setControl(comp); |
32 setControl(comp); |
32 |
33 |
33 LaunchUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(), LaunchTabHelpIds.STOP_MODE_MAIN); |
34 LaunchPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(getControl(), LaunchTabHelpIds.STOP_MODE_MAIN); |
34 |
35 |
35 GridLayout topLayout = new GridLayout(); |
36 GridLayout topLayout = new GridLayout(); |
36 comp.setLayout(topLayout); |
37 comp.setLayout(topLayout); |
37 |
38 |
38 createVerticalSpacer(comp, 1); |
39 createVerticalSpacer(comp, 1); |
48 |
49 |
49 createVerticalSpacer(comp, 1); |
50 createVerticalSpacer(comp, 1); |
50 if (wantsTerminalOption() /*&& ProcessFactory.supportesTerminal()*/) { |
51 if (wantsTerminalOption() /*&& ProcessFactory.supportesTerminal()*/) { |
51 createTerminalOption(comp, 1); |
52 createTerminalOption(comp, 1); |
52 } |
53 } |
53 LaunchUIPlugin.setDialogShell(parent.getShell()); |
|
54 } |
54 } |
55 |
55 |
56 public void setDefaults(ILaunchConfigurationWorkingCopy config) { |
56 public void setDefaults(ILaunchConfigurationWorkingCopy config) { |
57 } |
57 } |
58 |
58 |