X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPEntryPointTab.java b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPEntryPointTab.java index 57c3e81..3da7b18 100644 --- a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPEntryPointTab.java +++ b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPEntryPointTab.java @@ -23,7 +23,7 @@ import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Group; import org.eclipse.ui.IEditorInput; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IWorkbenchPage; @@ -42,10 +42,17 @@ public class PHPEntryPointTab extends AbstractLaunchConfigurationTab { public void createControl(Composite parent) { Composite composite = createPageRoot(parent); - new Label(composite, SWT.NONE) +// new Label(composite, SWT.NONE) +// .setText(PHPDebugUiMessages +// .getString("LaunchConfigurationTab.PHPEntryPoint.projectLabel")); +// projectSelector = new PHPProjectSelector(composite); + Group grpProject = new Group(composite, SWT.NONE); + grpProject .setText(PHPDebugUiMessages .getString("LaunchConfigurationTab.PHPEntryPoint.projectLabel")); - projectSelector = new PHPProjectSelector(composite); + grpProject.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + grpProject.setLayout(new GridLayout()); + projectSelector = new PHPProjectSelector(grpProject); projectSelector .setBrowseDialogMessage(PHPDebugUiMessages .getString("LaunchConfigurationTab.PHPEntryPoint.projectSelectorMessage")); @@ -56,9 +63,15 @@ public class PHPEntryPointTab extends AbstractLaunchConfigurationTab { } }); - new Label(composite, SWT.NONE).setText(PHPDebugUiMessages +// new Label(composite, SWT.NONE).setText(PHPDebugUiMessages +// .getString("LaunchConfigurationTab.PHPEntryPoint.fileLabel")); +// fileSelector = new PHPFileSelector(composite, projectSelector); + Group grpFile = new Group(composite, SWT.NONE); + grpFile.setText(PHPDebugUiMessages .getString("LaunchConfigurationTab.PHPEntryPoint.fileLabel")); - fileSelector = new PHPFileSelector(composite, projectSelector); + grpFile.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + grpFile.setLayout(new GridLayout()); + fileSelector = new PHPFileSelector(grpFile, projectSelector); fileSelector .setBrowseDialogMessage(PHPDebugUiMessages .getString("LaunchConfigurationTab.PHPEntryPoint.fileSelectorMessage")); @@ -134,7 +147,7 @@ public class PHPEntryPointTab extends AbstractLaunchConfigurationTab { protected Composite createPageRoot(Composite parent) { Composite composite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); - layout.marginWidth = 0; +// layout.marginWidth = 0; composite.setLayout(layout); setControl(composite);