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

Bug 364445

Summary: Link with editor does not work on newly created elements
Product: [Modeling] ECP Reporter: Jonas Helming <jhelming>
Component: NavigatorAssignee: Franziska Haunolder <franziska.haunolder>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.8.9   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jonas Helming CLA 2011-11-22 04:01:55 EST
Hello,

while the linkWithEditor feature is very useful, I found a bug in the latest (git and svn repository) version of the emf treeView navigator.

Szenario : "linkWithEditor" is checked. Create a new child element via the NewReferenceAction (feature is reference and containment is false). Right after that, the element just been created should be selected in the navigator tree.
Unfortunately, this is not the case. I looked into the code and found that selectionChanged is invoked with an empty selection.
Switching/selecting the tab in the editor synchronize the editor with the navigator and everything is o.k.

While I dont have an bugzilla account, I hope this post can be treated as an bug report.