Author: yradtsevich
Date: 2012-05-24 13:17:00 -0400 (Thu, 24 May 2012)
New Revision: 41362
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/CustomMessageBox.java
Log:
https://issues.jboss.org/browse/JBIDE-11995 : BrowserSim: messages don't block parent
window
- applied patch created by Ilya Buziuk
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/CustomMessageBox.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/CustomMessageBox.java 2012-05-24
16:27:34 UTC (rev 41361)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/CustomMessageBox.java 2012-05-24
17:17:00 UTC (rev 41362)
@@ -48,7 +48,7 @@
}
protected void createWidgets() {
- shell = new Shell(getParent(), SWT.DIALOG_TRIM);
+ shell = new Shell(getParent(), SWT.APPLICATION_MODAL | SWT.DIALOG_TRIM);
GridLayout shellLayout = new GridLayout(1, true);
shellLayout.marginHeight = 0;
shellLayout.marginWidth = 0;