Author: adietish
Date: 2011-09-02 10:23:51 -0400 (Fri, 02 Sep 2011)
New Revision: 34496
Modified:
branches/jbosstools-3.3.0.M3/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java
branches/jbosstools-3.3.0.M3/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/internal/reporting/UsageReportEnablementDialog.java
Log:
[JBDS-1795] set SearchRuntimePathDialog to be modal. Furthermore I set
SearchRuntimePathDialog and UsageReportEnablementDialog to not block on open.
Modified:
branches/jbosstools-3.3.0.M3/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java
===================================================================
---
branches/jbosstools-3.3.0.M3/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java 2011-09-02
10:40:45 UTC (rev 34495)
+++
branches/jbosstools-3.3.0.M3/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java 2011-09-02
14:23:51 UTC (rev 34496)
@@ -65,8 +65,9 @@
public SearchRuntimePathDialog(Shell parent, Set<RuntimePath> runtimePaths,
boolean needRefresh, int heightHint) {
super(parent);
- setShellStyle(SWT.CLOSE | SWT.MAX | SWT.TITLE | SWT.BORDER
- | SWT.RESIZE | getDefaultOrientation());
+// setShellStyle(SWT.CLOSE | SWT.MAX | SWT.TITLE | SWT.BORDER
+// | SWT.RESIZE | getDefaultOrientation());
+ setBlockOnOpen(false);
this.runtimePaths = runtimePaths;
this.needRefresh = needRefresh;
this.heightHint = heightHint;
Modified:
branches/jbosstools-3.3.0.M3/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/internal/reporting/UsageReportEnablementDialog.java
===================================================================
---
branches/jbosstools-3.3.0.M3/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/internal/reporting/UsageReportEnablementDialog.java 2011-09-02
10:40:45 UTC (rev 34495)
+++
branches/jbosstools-3.3.0.M3/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/internal/reporting/UsageReportEnablementDialog.java 2011-09-02
14:23:51 UTC (rev 34496)
@@ -35,6 +35,7 @@
public UsageReportEnablementDialog(IShellProvider parentShell, IUsageBranding branding)
{
super(parentShell);
+ setBlockOnOpen(false);
this.branding = branding;
}
Show replies by date