Bug 182632 - [Decorators] Create API for checking for collisions
Summary: [Decorators] Create API for checking for collisions
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: incubator
Keywords:
Depends on: 183376
Blocks:
  Show dependency tree
 
Reported: 2007-04-16 16:49 EDT by Pavel Krupets CLA
Modified: 2019-09-06 15:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Krupets CLA 2007-04-16 16:49:32 EDT
Hello,

IDecoration has methods to set images (top-left, etc), but sometimes 2 decorators want to set the same image and there is no way to detect whether this image is already in use.

Maybe you can provide methods to check whether image is already in use and by whom. Like if error image is displayed other decorators won't draw their images.

IDecoration::addOverlay(ImageDescriptor overlay, int quadrant, Object hint);
/**
 * @returns hint or null if not used
 */
Object IDecoration::isOverlayInUse(ImageDescriptor overlay, int quadrant);
Comment 1 Tod Creasey CLA 2007-06-20 13:04:22 EDT
This is something to think about when we do an owner draw label provider as we will have much more space to work with
Comment 2 Boris Bokowski CLA 2009-11-17 10:53:55 EST
Oleg is now responsible for watching the [Decorators] category.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:29:56 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.