Community
Participate
Working Groups
After the fix for Bug #329105, the "show in source" action on content outline nodes has been changed such that it enables only when the associated model element has an xml node. The trouble is that there is no reliable way to listen for this state changing. Listening for model element's property changes approximates this in many cases, but it doesn't work with 100% reliability. Here is a failure case repro: 1. Integer -> Simple -> enter any number 2. Show in source 3. Delete just <simple></simple> block or clear Simple property. The show in source action on Integer node should still be enabled. 4. Now delete <integer></integer> block. The show in source action remains enabled. 5. Go back to view, right click on Integer node, and "Show in source" is still enabled. When selected, it switches to the source view and the entire source is selected.