Community
Participate
Working Groups
Final 3.3 Release (Build id: I20070625-1500) Steps To Reproduce: (1) Open a plug-in manifest editor (2) Switch to "Extensions" page (3) Add "org.eclipse.ui.editors" extension (4) Select the new extension (5) Right-click and select "New > editor" from the context menu -> New "editor" element is now selected -> Observe the "Extension Element Details" section -> BUG: The section description says "The selected element has no properties to set." (6) Select another element or extension (7) Reselect the "editor" element -> Section description is correct now: "Set the properties of "editor". Required fields are denoted by "*"." The only time we should see "The selected element has no properties to set." is when the element defines no attributes (only child elements).
Created attachment 73940 [details] patch Attributes were being inserted into the new element after it was added to the parent extension. Reversing the order corrects the problem.
Comment on attachment 73940 [details] patch Nice patch. Thanks Adam. We lose the cool effect of all the applicable child elements being auto-generated and added to the tree viewer and expanded (last element is selected); however, current behaviour of selecting the first element added makes more sense.
Patch applied to HEAD. Target: 3.4 M1