Source:
public void createControl(Composite parent) { ScrolledComposite sc = new ScrolledComposite(parent, SWT.V_SCROLL | SWT.H_SCROLL); sc.setExpandHorizontal(true); sc.setExpandVertical(true); setControl(sc); Composite comp = new Composite(sc, SWT.NONE); sc.setContent(comp); GridLayout layout = new GridLayout(2, false); comp.setLayout(layout); Group group = new Group(comp, SWT.NONE); layout = new GridLayout(); group.setLayout(layout); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = 2; group.setLayoutData(gd); group.setText(Messages.getString("GDBJtagDebuggerTab.gdbSetupGroup_Text")); createCommandControl(group); createRemoteControl(comp); fUpdateThreadlistOnSuspend = new Button(comp, SWT.CHECK); fUpdateThreadlistOnSuspend.setText(Messages.getString("GDBJtagDebuggerTab.update_thread_list_on_suspend")); fUpdateThreadlistOnSuspend .addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { updateLaunchConfigurationDialog(); } }); gd = new GridData(); gd.horizontalSpan = 2; fUpdateThreadlistOnSuspend.setLayoutData(gd); Label remoteTimeoutLabel = new Label(comp, SWT.NONE); remoteTimeoutLabel.setText(Messages.getString("GDBJtagDebuggerTab.remoteTimeout")); remoteTimeoutLabel.setToolTipText(Messages.getString("GDBJtagDebuggerTab.remoteTimeoutTooltip")); remoteTimeout = new Text(comp, SWT.BORDER); gd = new GridData(); gd.widthHint = 125; remoteTimeout.setLayoutData(gd); remoteTimeout.setToolTipText(Messages.getString("GDBJtagDebuggerTab.remoteTimeoutTooltip")); PlatformUI.getWorkbench().getHelpSystem().setHelp(fUpdateThreadlistOnSuspend, "org.eclipse.cdt.dsf.gdb.ui.update_threadlist_button_context"); PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), ICDTLaunchHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_DEBBUGER_TAB); }

Target:
public void createControl(Composite parent) { ScrolledComposite sc = new ScrolledComposite(parent, SWT.V_SCROLL | SWT.H_SCROLL); sc.setExpandHorizontal(true); sc.setExpandVertical(true); setControl(sc); Composite comp = new Composite(sc, SWT.NONE); sc.setContent(comp); GridLayout layout = new GridLayout(2, false); comp.setLayout(layout); Group group = new Group(comp, SWT.NONE); layout = new GridLayout(); group.setLayout(layout); GridData gd = new GridData(GridData.FILL_HORIZONTAL); gd.horizontalSpan = 2; group.setLayoutData(gd); group.setText(Messages.getString("GDBJtagDebuggerTab.gdbSetupGroup_Text")); createCommandControl(group); createRemoteControl(comp); fUpdateThreadlistOnSuspend = new Button(comp, SWT.CHECK); fUpdateThreadlistOnSuspend.setText(Messages.getString("GDBJtagDebuggerTab.update_thread_list_on_suspend")); fUpdateThreadlistOnSuspend .addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { updateLaunchConfigurationDialog(); } }); gd = new GridData(); gd.horizontalSpan = 2; fUpdateThreadlistOnSuspend.setLayoutData(gd); PlatformUI.getWorkbench().getHelpSystem().setHelp(fUpdateThreadlistOnSuspend, "org.eclipse.cdt.dsf.gdb.ui.update_threadlist_button_context"); PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), ICDTLaunchHelpContextIds.LAUNCH_CONFIGURATION_DIALOG_DEBBUGER_TAB); }