Author: dazarov
Date: 2007-07-11 10:19:58 -0400 (Wed, 11 Jul 2007)
New Revision: 2387
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java
Log:
http://jira.jboss.com/jira/browse/EXIN-367
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java 2007-07-11
14:06:35 UTC (rev 2386)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java 2007-07-11
14:19:58 UTC (rev 2387)
@@ -395,6 +395,10 @@
}
}
}
+ for(int i = reference.getChildren().size()-1;i>=0;i--){
+ if(reference.getChildren().get(i) instanceof ComponentShape)
+ hideReferences((ComponentShape)reference.getChildren().get(i));
+ }
removeLinks(reference);
getChildren().remove(reference);
elements.remove(reference);