Author: scabanovich
Date: 2007-07-31 08:54:53 -0400 (Tue, 31 Jul 2007)
New Revision: 2754
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/impl/FacetObjectImpl.java
Log:
JBIDE-548 Renderer can have an attribute and a facet with the same name
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/impl/FacetObjectImpl.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/impl/FacetObjectImpl.java 2007-07-31
12:51:44 UTC (rev 2753)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/impl/FacetObjectImpl.java 2007-07-31
12:54:53 UTC (rev 2754)
@@ -16,7 +16,10 @@
private static final long serialVersionUID = 534845753792987818L;
public String name() {
- return "" + getAttributeValue("facet-name");
+ return "facet:" + getAttributeValue("facet-name");
}
+ public String getPresentationString() {
+ return "" + getAttributeValue("facet-name");
+ }
}
Show replies by date