Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-10-24 17:05:15 +0000
committerLars Vogel2016-11-04 19:53:34 +0000
commitc032cd7c1538834686a9f16c203a9094084631d8 (patch)
tree73906e3cc7ee05552f985fc39990eac71faba46b
parent1b9ed4acdf64d76e5b7b0321467953c9b2a39d1e (diff)
downloadrt.equinox.p2-c032cd7c1538834686a9f16c203a9094084631d8.tar.gz
rt.equinox.p2-c032cd7c1538834686a9f16c203a9094084631d8.tar.xz
rt.equinox.p2-c032cd7c1538834686a9f16c203a9094084631d8.zip
Bug 506432 - [ui] p2 install dialog shouldn't be modal
Change-Id: Idf9ed2e81c31ce2031c42f8b963119a1df801bfc Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
index 1a8a4eaca..f51d5c4cd 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2010 IBM Corporation and others.
+ * Copyright (c) 2009, 2016 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Lars Vogel <Lars.Vogel@vogella.com> - Bug 506432
******************************************************************************/
package org.eclipse.equinox.internal.p2.ui.dialogs;
@@ -29,7 +30,8 @@ public class ProvisioningWizardDialog extends WizardDialog {
public ProvisioningWizardDialog(Shell parent, ProvisioningOperationWizard wizard) {
super(parent, wizard);
this.wizard = wizard;
- setShellStyle(getShellStyle() | SWT.RESIZE);
+ setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
+ setBlockOnOpen(false);
}
protected IDialogSettings getDialogBoundsSettings() {

Back to the top