| Summary: | ProgressMonitorDialog does not work | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Dave Smith <dave.smith> |
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dave Smith
It seems that your application is running in JEE_COMPATIBILITY mode. This is the reason for the exception. Try to set your operation mode to SWT_COMPATIBILITY. See also OperationMode#JEE_COMPATIBILITY JavaDoc for more details, where is clearly stated that "blocking dialogs aren't possible". Could you create a simple test project to demonsrate the issue? The ProgressDialog is set to non blocking and is not honoring it. ( setBlockOnOpen(false); ) It is treating it as a blocking dialog, thus the error. It is different than most Dialogs because the open done when the run method is called. The link provided is the DialogExample page in the org.eclispe.rap.examples.pages. Deploy that bundle and then do a new DialogExamplePage().createControl(parent); in your EntryPointFactory you should be able to re-create. In SWT_COMPATIBILITY you will not get the error but you will also not get the dialog, it will just perform the work. Dave, I don't get what is the problem. Could you provide a complete snippet/project that demonstrate the issue? Our example (ProgressMonitorDialog in DialogExamplePage.java) works. . *** This bug has been marked as a duplicate of bug 380650 *** |