String id = configElements[i].getAttribute(IWorkbenchRegistryConstants.ATT_ID);
// Define the initial URI spec
String uriSpec = "toolbar:" + id; //$NON-NLS-1$
if (configElements[i].getChildren(TAG_LOCATION).length > 0) {
IConfigurationElement location = configElements[i].getChildren(TAG_LOCATION)[0];
if (location.getChildren(TAG_ORDER).length > 0) {
IConfigurationElement order = location.getChildren(TAG_ORDER)[0];
String pos = order.getAttribute(IWorkbenchRegistryConstants.ATT_POSITION);
String relTo = order.getAttribute(IWorkbenchRegistryConstants.ATT_RELATIVE_TO);
uriSpec += "?" + pos + "=" + relTo; //$NON-NLS-1$ //$NON-NLS-2$
// HACK! We expect that the new trim group is -always- relative to
// one of the 'default' groups; indicating which trim area they're in
MenuLocationURI uri = new MenuLocationURI("toolbar:" + relTo); //$NON-NLS-1$