Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2015-05-29 14:21:53 -0400
committerJeff Johnston2015-05-29 14:45:44 -0400
commitec77bb14af8ec7f152c6920ed2066bf3b29298b4 (patch)
tree344c9ec0a63dfa856446ae8028b0a62c720612c8
parent1c9eb0f6a9a0bfb2f21eec9d4f9ef0fa3b05d7c1 (diff)
downloadorg.eclipse.linuxtools-ec77bb14af8ec7f152c6920ed2066bf3b29298b4.tar.gz
org.eclipse.linuxtools-ec77bb14af8ec7f152c6920ed2066bf3b29298b4.tar.xz
org.eclipse.linuxtools-ec77bb14af8ec7f152c6920ed2066bf3b29298b4.zip
Bug 468849 - don't use new shell for Dockerfile Editor dialog
- fixed to use container's shell from ImageBuildPage Change-Id: I0c3206dc14bd147ba4547f682b84d710516a15c9 Reviewed-on: https://git.eclipse.org/r/48995 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageBuildPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageBuildPage.java b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageBuildPage.java
index 56e41a074a..532c173e3d 100644
--- a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageBuildPage.java
+++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageBuildPage.java
@@ -30,7 +30,6 @@ import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
public class ImageBuildPage extends WizardPage {
@@ -190,7 +189,8 @@ public class ImageBuildPage extends WizardPage {
String dir = directoryText.getText();
IFileStore fileStore = EFS.getLocalFileSystem().getStore(
new Path(dir).append("Dockerfile")); //$NON-NLS-1$
- DockerfileEditDialog d = new DockerfileEditDialog(new Shell(),
+ DockerfileEditDialog d = new DockerfileEditDialog(
+ container.getShell(),
fileStore);
d.open();
validate();

Back to the top