Author: dgeraskov
Date: 2010-04-14 04:40:45 -0400 (Wed, 14 Apr 2010)
New Revision: 21455
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/model/Shape.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6186
Replace '$' to '.' in class name
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/model/Shape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/model/Shape.java 2010-04-14
06:34:58 UTC (rev 21454)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui/src/org/jboss/tools/hibernate/ui/diagram/editors/model/Shape.java 2010-04-14
08:40:45 UTC (rev 21455)
@@ -153,7 +153,8 @@
@Override
public String getKey() {
- return Utils.getName(getOrmElement());
+ //fix for
https://jira.jboss.org/jira/browse/JBIDE-6186
+ return Utils.getName(getOrmElement()).replaceAll("\\$", ".");
//$NON-NLS-1$ //$NON-NLS-2$
}
public void setFocus() {