commit | f0a50a24dd7498002dfe1716f312bb5fcdd5d8e3 | [log] [tgz] |
---|---|---|
author | kchong <kchong> | Mon Sep 24 16:45:06 2007 +0000 |
committer | kchong <kchong> | Mon Sep 24 16:45:06 2007 +0000 |
tree | 8f00a3a4beefdf6d84555dab3aa6d41b05c7f249 | |
parent | 1190d9e0ba86317fda23297ac5165e36e70dd2fc [diff] |
[155944] Selecting an attribute in the Outline deselects itself moments later
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDComplexTypeDefinitionAdapter.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDComplexTypeDefinitionAdapter.java index 56c5d34..346c265 100644 --- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDComplexTypeDefinitionAdapter.java +++ b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/adapters/XSDComplexTypeDefinitionAdapter.java
@@ -305,7 +305,7 @@ Object obj = i.next(); if (obj instanceof XSDAttributeUse) { - list.add(obj); + list.add(((XSDAttributeUse)obj).getAttributeDeclaration()); } else if (obj instanceof XSDAttributeGroupDefinition) {