Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334249 - Display#getSystemTaskBar() is missing
Summary: Display#getSystemTaskBar() is missing
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 06:40 EST by Rüdiger Herrmann CLA
Modified: 2011-02-09 10:11 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-01-13 06:40:43 EST
Since Eclipse 3.6, there is a Display#getSystemTaskBar method in SWT.
It returns the single instance of the system taskBar or null when there is no system taskBar available for the platform.

We could consider to implement this by always returning null but at the 'cost' of providing empty implementations for Task and TaskItem.
Comment 1 Ivan Furnadjiev CLA 2011-02-09 05:26:06 EST
Fixed in CVS HEAD. Display#getSystemTaskBar always returns null. Added empty implementations for TaskBar and TaskItem.
Comment 2 Rüdiger Herrmann CLA 2011-02-09 07:18:34 EST
Wouldn't it be good to have tests for all those methods on TaskBar and TaskItem?
Comment 3 Ivan Furnadjiev CLA 2011-02-09 07:52:49 EST
As these classes will never been instantiated (without a real TaskBar support), I don't think that we need to test them now. These methods are provided only for single-sourcing compatibility and are copies (with code formating only) from SWT. Do you think, that classes with only *public* empty (without any code) methods fits better in this case?
Comment 4 Ivan Furnadjiev CLA 2011-02-09 10:11:15 EST
After discussion with Ralf, we decided to cleanup both classes (TaskBar and TaskItem) from the original SWT code and leave only empty public methods. Same will be done with Tray and TrayItem. Changes are in CVS HEAD.