[jbosstools-issues] [JBoss JIRA] (JBIDE-20028) Import wizard: cloning and import operation is executed in modal (wizard) dialog, blocks me from doing anything.

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Sep 9 17:44:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107193#comment-13107193 ] 

Viacheslav Kabanovich commented on JBIDE-20028:
-----------------------------------------------

I looked into it, and found that setBlockOnOpen(false) allows the calling thread continue, but indeed does not prevent application window from being frozen. Here is code example that unfreezes it: 

		Dialog w = new MessageDialog(shell, "Non Modal", null, "", 0, new String[]{"OK"},0) {
			public void setShellStyle(int i) {
				super.setShellStyle(i & ~SWT.APPLICATION_MODAL);
			}
		};
		w.setBlockOnOpen(false);
		w.open();

But I have not found examples of this solution used anywhere.

> Import wizard: cloning and import operation is executed in modal (wizard) dialog, blocks me from doing anything.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20028
>                 URL: https://issues.jboss.org/browse/JBIDE-20028
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Viacheslav Kabanovich
>              Labels: openshift_v3
>             Fix For: 4.3.x
>
>         Attachments: modal-dialog-blocks-me.png
>
>




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list