Author: dazarov
Date: 2007-07-20 09:57:36 -0400 (Fri, 20 Jul 2007)
New Revision: 2550
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/parts/OrmShapeEditPart.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/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-20
13:45:42 UTC (rev 2549)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmDiagram.java 2007-07-20
13:57:36 UTC (rev 2550)
@@ -95,7 +95,7 @@
}
public void save() {
- String string = "";
+ /*String string = "";
saveHelper();
for (int i = 0; i < childrenLocations.length; i++)
string+=childrenLocations[i]+"#";
@@ -110,7 +110,7 @@
string.substring(2048*i));
} catch (CoreException e) {
// ExceptionHandler.logThrowableError(e, e.getMessage());
- }
+ }*/
}
private void saveHelper() {
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java 2007-07-20
13:45:42 UTC (rev 2549)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/OrmShapeEditPart.java 2007-07-20
13:57:36 UTC (rev 2550)
@@ -92,7 +92,7 @@
String prop = evt.getPropertyName();
if (OrmShape.LOCATION_PROP.equals(prop)) {
refreshVisuals();
- ((OrmDiagram)getParent().getModel()).setDirty(true);
+ //((OrmDiagram)getParent().getModel()).setDirty(true);
} else if (OrmShape.SET_HIDEN.equals(prop)) {
int i = figure.getPreferredSize().width;
((TitleFigure)figure).setHiden(((Boolean)evt.getNewValue()).booleanValue());
@@ -102,7 +102,7 @@
else
figure.setSize(-1,-1);
refresh();
- ((OrmDiagram)getParent().getModel()).setDirty(true);
+ //((OrmDiagram)getParent().getModel()).setDirty(true);
} else {
super.propertyChange(evt);
}