Author: dazarov
Date: 2007-07-31 11:25:13 -0400 (Tue, 31 Jul 2007)
New Revision: 2772
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ComponentShapeEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
Log:
http://jira.jboss.com/jira/browse/EXIN-365
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ComponentShapeEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ComponentShapeEditPart.java 2007-07-31
15:20:29 UTC (rev 2771)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ComponentShapeEditPart.java 2007-07-31
15:25:13 UTC (rev 2772)
@@ -61,6 +61,7 @@
if(this.getClass().equals(ComponentShapeEditPart.class) &&
!((ExpandeableShape)getModel()).isReferenceVisible()){
((ComponentShape)getModel()).refHide = true;
((ComponentShape)getModel()).refreshChildsHiden(((OrmDiagram)getViewer().getContents().getModel()));
+ ((ExpandeableShape)getModel()).getOrmDiagram().setDirty(false);
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-07-31
15:20:29 UTC (rev 2771)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeEditPart.java 2007-07-31
15:25:13 UTC (rev 2772)
@@ -58,6 +58,7 @@
if(this.getClass().equals(ExpandeableShapeEditPart.class) &&
!((ExpandeableShape)getModel()).isReferenceVisible()){
((ExpandeableShape)getModel()).refHide = true;
((ExpandeableShape)getModel()).refreshReferences(getViewer().getContents().getModel());
+ ((ExpandeableShape)getModel()).getOrmDiagram().setDirty(false);
}
}