Community
Participate
Working Groups
Build ID: I20070323-1616 Steps To Reproduce: 1. Open an XML Schema in Design mode. Within the schema, open/create a ComplexType or Group. 2. Right-click the top of the type/group diagram, i.e. without selecting a nested attribute/element/sequence/etc. Expected results: "Add All" is present below "Add Sequence" and "Add Choice". Actual results: "Add All" is not present. More information: Note that the absence of "Add All" when right-clicking an existing sequence/choice/all item is not an error, as Schema does not support <all> nested within <sequence/choice/all> (see http://www.w3.org/TR/xmlschema-1/#Model_Groups, sec. 3.8.2).
Created attachment 72059 [details] Patch Adds the "Add All" option to the context menus for ComplexTypes and Groups. Note that, depending on the state of the type/group when accessed, choosing "Add All" could still cause an error as noted in the description (i.e. if there is an existing sequence, choice or all, the new "all" can only be added as a child, which would be an error).
Keith, please review and commit the patch.
Fix checked in for WTP 3.0 M2
Verified in WTP 3.0 integration driver: http://download.eclipse.org/webtools/committers/drops/R3.0/I-I20071019040808-20071019040808/
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.