Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364445 - Link with editor does not work on newly created elements
Summary: Link with editor does not work on newly created elements
Status: CLOSED FIXED
Alias: None
Product: ECP
Classification: Modeling
Component: Navigator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.8.9   Edit
Assignee: Franziska Haunolder CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 04:01 EST by Jonas Helming CLA
Modified: 2012-01-24 13:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.