Author: scabanovich
Date: 2008-10-31 11:29:21 -0400 (Fri, 31 Oct 2008)
New Revision: 11406
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/XAttributePropertyDescription.java
Log:
JBIDE-2969
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/XAttributePropertyDescription.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/XAttributePropertyDescription.java 2008-10-31
15:28:37 UTC (rev 11405)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/XAttributePropertyDescription.java 2008-10-31
15:29:21 UTC (rev 11406)
@@ -22,6 +22,7 @@
import org.eclipse.ui.views.properties.IPropertySource;
import org.jboss.tools.common.meta.XAttribute;
import org.jboss.tools.common.meta.action.XAttributeData;
+import org.jboss.tools.common.meta.key.WizardKeys;
import org.jboss.tools.common.model.*;
public class XAttributePropertyDescription implements IPropertyDescriptorEx,
IXModelSupport {
@@ -88,7 +89,8 @@
}
public String getDisplayName() {
- return attribute.getName();
+ String s = WizardKeys.getAttributeDisplayName(attribute);
+ return s != null ? s : attribute.getName();
}
public String[] getFilterFlags() {
Show replies by date