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

Bug 335835

Summary: [Model Explorer] ModelExplorerView#revealSemanticElement() does not always reveal element
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 320908    

Description Yann Tanguy CLA 2011-01-31 07:17:34 EST
ModelExplorerView#revealSemanticElement() does not seem to work anymore in trunk (0.8.0).

In case the element to reveal is directly owned by the root (in a non-collapsible manner) the reveal and select may work, but it wont for most cases.

This looks like a regression (worked in 0.7.X).
Comment 1 Patrick Tessier CLA 2011-02-07 12:24:17 EST
right, the bug comes from bad adaptation of a linkItem
	to obtain the reference do ((IAdaptable)wrapper).getAdapter(EReference.class);
	not ((IAdaptable)wrapper).getAdapter(EObject.class)


done in the revision 3934 (in the head)