Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311280

Summary: [Dialogs] StatusDialog.setImage doesn't work
Product: [Eclipse Project] Platform Reporter: Oleg Danilov <oleg.v.danilov>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: alexander.fedorov, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
suggested fix
none
suggested fix (fixed)
none
suggested fix (updated) none

Description Oleg Danilov CLA 2010-05-01 09:42:15 EDT
StatusDialog stores image into the fImage to call shell.setImage() later, but configureShell() ignores this fact
Comment 1 Oleg Danilov CLA 2010-05-01 09:43:41 EDT
Created attachment 166717 [details]
suggested fix
Comment 2 Oleg Danilov CLA 2010-05-01 10:16:23 EDT
Created attachment 166718 [details]
suggested fix (fixed)
Comment 3 Remy Suen CLA 2010-05-01 20:21:31 EDT
(In reply to comment #2)
> Created an attachment (id=166718) [details]
> suggested fix (fixed)

This patch removes a number of required imports which causes the code to not compile. Please correct this and upload a new patch.

Also, please update the copyright notice of the file with your information or the company you work for like the following example...

Remy Suen <remysuen@ca.ibm.com> - Bug 12345 Summary blah blah blah
Comment 4 Oleg Danilov CLA 2010-05-03 15:07:52 EDT
Created attachment 166850 [details]
suggested fix (updated)
Comment 5 Alexander Fedorov CLA 2019-05-05 14:12:57 EDT
Version: 2019-03 (4.11.0)
Build id: 20190314-1200

One need to create the dialog first:

		statusDialog.create();
		statusDialog.setImage(image);
		statusDialog.open();