Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311280 - [Dialogs] StatusDialog.setImage doesn't work
Summary: [Dialogs] StatusDialog.setImage doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 09:42 EDT by Oleg Danilov CLA
Modified: 2019-05-05 14:12 EDT (History)
2 users (show)

See Also:


Attachments
suggested fix (1.33 KB, patch)
2010-05-01 09:43 EDT, Oleg Danilov CLA
no flags Details | Diff
suggested fix (fixed) (1.33 KB, patch)
2010-05-01 10:16 EDT, Oleg Danilov CLA
no flags Details | Diff
suggested fix (updated) (997 bytes, patch)
2010-05-03 15:07 EDT, Oleg Danilov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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();