diff options
author | gindik | 2009-08-10 14:58:36 +0000 |
---|---|---|
committer | gindik | 2009-08-10 14:58:36 +0000 |
commit | 91732a7e038836100d088e147fa2332c7afc6941 (patch) | |
tree | 3506fa110e1c29d7363476e07339c102e2ae76d9 /bundles/org.eclipse.wst.xsd.ui | |
parent | ebe89c799562601b31fd2c331b3e13e10e9d09d5 (diff) | |
download | webtools.sourceediting-91732a7e038836100d088e147fa2332c7afc6941.tar.gz webtools.sourceediting-91732a7e038836100d088e147fa2332c7afc6941.tar.xz webtools.sourceediting-91732a7e038836100d088e147fa2332c7afc6941.zip |
[276227] XSD editor - the included Attribute and Group components are not shown
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.ui')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDSchemaAdapter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDSchemaAdapter.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDSchemaAdapter.java index a6d8e28562..db29fe9b45 100644 --- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDSchemaAdapter.java +++ b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDSchemaAdapter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2008 IBM Corporation and others. + * Copyright (c) 2001, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -80,7 +80,7 @@ public class XSDSchemaAdapter extends XSDBaseAdapter implements IActionProvider, registerListener(fElementsCategory); fAttributesCategory = new CategoryAdapter(Messages._UI_GRAPH_ATTRIBUTES, XSDEditorPlugin.getDefault().getIconImage("obj16/attributesheader"), attributesList, xsdSchema, CategoryAdapter.ATTRIBUTES); //$NON-NLS-1$ - fAttributesCategory.setAllChildren(attributesList); + fAttributesCategory.setAllChildren(getAttributeList(xsdSchema,true)); registerListener(fAttributesCategory); fTypesCategory = new CategoryAdapter(Messages._UI_GRAPH_TYPES, XSDEditorPlugin.getDefault().getIconImage("obj16/typesheader"), types, xsdSchema, CategoryAdapter.TYPES); //$NON-NLS-1$ @@ -88,7 +88,7 @@ public class XSDSchemaAdapter extends XSDBaseAdapter implements IActionProvider, registerListener(fTypesCategory); fGroupsCategory = new CategoryAdapter(Messages._UI_GRAPH_GROUPS, XSDEditorPlugin.getDefault().getIconImage("obj16/groupsheader"), groups, xsdSchema, CategoryAdapter.GROUPS); //$NON-NLS-1$ - fGroupsCategory.setAllChildren(groups); + fGroupsCategory.setAllChildren(getGroups(xsdSchema,true)); registerListener(fGroupsCategory); } |