Author: scabanovich
Date: 2007-12-11 10:17:31 -0500 (Tue, 11 Dec 2007)
New Revision: 5249
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java
Log:
JBIDE-1471
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java 2007-12-11
15:17:09 UTC (rev 5248)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java 2007-12-11
15:17:31 UTC (rev 5249)
@@ -42,6 +42,10 @@
+ getCapitalizedName(getTarget());
}
+ public String getSubtitle() {
+ return "" + getCapitalizedName(copy);
+ }
+
static String getCapitalizedName(XModelObject o) {
String n = o.getAttributeValue("element type");
if(n == null || n.length() == 0) n = o.getModelEntity().getXMLSubPath();
Show replies by date