diff options
Diffstat (limited to 'org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java')
-rw-r--r-- | org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java index a23aa54db..adf157dbf 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2013 IBM Corporation and others. + * Copyright (c) 2000, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -529,7 +529,7 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa * sets the location as the full path of the selected file. */ protected void handleFileLocationButtonSelected() { - FileDialog fileDialog = new FileDialog(getShell(), SWT.NONE); + FileDialog fileDialog = new FileDialog(getShell(), SWT.NONE | SWT.SHEET); fileDialog.setFileName(locationField.getText()); String text= fileDialog.open(); if (text != null) { @@ -589,7 +589,7 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa * Prompts the user to choose a working directory from the filesystem. */ protected void handleFileWorkingDirectoryButtonSelected() { - DirectoryDialog dialog = new DirectoryDialog(getShell(), SWT.SAVE); + DirectoryDialog dialog = new DirectoryDialog(getShell(), SWT.SAVE | SWT.SHEET); dialog.setMessage(ExternalToolsLaunchConfigurationMessages.ExternalToolsMainTab_23); dialog.setFilterPath(workDirectoryField.getText()); String text= dialog.open(); |