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

Bug 348358

Summary: GraphicalViewer#findObjectAtExcluding does not work as advertised
Product: [Tools] GEF Reporter: Berthold Daum <berthold.daum>
Component: GEF-Legacy GEF (MVC)Assignee: gef-inbox <gef-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Berthold Daum CLA 2011-06-06 02:47:32 EDT
Build Identifier: 20110218-0911

The method findObjectAtExcluding() in interface GraphicalViewer asks for EditParts in parameter exclusionSet but the implementation in GraphicalViewerImpl checks for IFigures. So, nothing is excluded.
This affects derived methods such as AbstractTransferDrop#getExclusiongSet() as well. 

Reproducible: Always

Steps to Reproduce:
1. Code analysis
2.
3.
Comment 1 Alexander Nyßen CLA 2011-06-06 03:01:42 EDT
Yes, that's a known issue. I have already discussed on how to proceed with this in bug #338587. We should re-investigate it there for 3.8.

*** This bug has been marked as a duplicate of bug 338587 ***