Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2017-11-15 05:26:51 +0000
committerSarika Sinha2017-12-20 11:29:53 +0000
commit615192c39abed12d5fd9699ce80be04b20972519 (patch)
treedff8063ff3014766f8084a479ed208758aea6ab6 /org.eclipse.ui.externaltools
parent0d9859483e43e67c6489c56f117e09717eb7c124 (diff)
downloadeclipse.platform.debug-615192c39abed12d5fd9699ce80be04b20972519.tar.gz
eclipse.platform.debug-615192c39abed12d5fd9699ce80be04b20972519.tar.xz
eclipse.platform.debug-615192c39abed12d5fd9699ce80be04b20972519.zip
Bug 527185 - Platform Debug should use SWT.SHEET with File and DirectoryI20171220-2000
Diffstat (limited to 'org.eclipse.ui.externaltools')
-rw-r--r--org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java4
-rw-r--r--org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java
index dc1563edc..197a199fd 100644
--- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.java
+++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuilderTab.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
@@ -264,7 +264,7 @@ public class ExternalToolsBuilderTab extends AbstractLaunchConfigurationTab {
@Override
public void widgetSelected(SelectionEvent e) {
String filePath = fFileText.getText();
- FileDialog dialog = new FileDialog(getShell(), SWT.SAVE);
+ FileDialog dialog = new FileDialog(getShell(), SWT.SAVE | SWT.SHEET);
filePath = dialog.open();
if (filePath != null) {
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();

Back to the top