Bug 182632

Summary: [Decorators] Create API for checking for collisions
Product: [Eclipse Project] Platform Reporter: Pavel Krupets <pkrupets>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Kevin_McGuire
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: incubator
Bug Depends on: 183376    
Bug Blocks:    

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.