Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348358 - GraphicalViewer#findObjectAtExcluding does not work as advertised
Summary: GraphicalViewer#findObjectAtExcluding does not work as advertised
Status: RESOLVED DUPLICATE of bug 338587
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 02:47 EDT by Berthold Daum CLA
Modified: 2011-06-06 03:01 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 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 ***