Revision: 6616
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6616&view=rev
Author: gerdwagner
Date: 2012-04-25 18:47:04 +0000 (Wed, 25 Apr 2012)
Log Message:
-----------
Graph Plugin: When a child table was removed from a Graph and the the parent tables columns were reordered constraint lines reappeared pointing nowhere.
Modified Paths:
--------------
trunk/sql12/doc/src/main/resources/changes.txt
trunk/sql12/plugins/graph/src/main/java/net/sourceforge/squirrel_sql/plugins/graph/TableFrameController.java
Modified: trunk/sql12/doc/src/main/resources/changes.txt
===================================================================
--- trunk/sql12/doc/src/main/resources/changes.txt 2012-04-24 21:08:50 UTC (rev 6615)
+++ trunk/sql12/doc/src/main/resources/changes.txt 2012-04-25 18:47:04 UTC (rev 6616)
@@ -9,6 +9,8 @@
Enhancements:
+Graph Plugin: When a child table was removed from a Graph and the the parent tables columns were reordered constraint lines reappeared pointing nowhere.
+
Syntax Plugin: Upgraded to RSyntax text area version 1.5.2
Add new default driver definitions for HXTT Cobol and XML drivers.
Modified: trunk/sql12/plugins/graph/src/main/java/net/sourceforge/squirrel_sql/plugins/graph/TableFrameController.java
===================================================================
--- trunk/sql12/plugins/graph/src/main/java/net/sourceforge/squirrel_sql/plugins/graph/TableFrameController.java 2012-04-24 21:08:50 UTC (rev 6615)
+++ trunk/sql12/plugins/graph/src/main/java/net/sourceforge/squirrel_sql/plugins/graph/TableFrameController.java 2012-04-25 18:47:04 UTC (rev 6616)
@@ -1124,6 +1124,12 @@
tfc._frame.scrollPane.getVerticalScrollBar().removeAdjustmentListener(listenerToRemove);
}
+ for(TableFrameController tfc : _columnSortListenersToOtherFramesByFrameCtrlr.keySet())
+ {
+ ColumnSortListener listenerToRemove = _columnSortListenersToOtherFramesByFrameCtrlr.get(tfc);
+ tfc.removeSortListener(listenerToRemove);
+ }
+
for (int i = 0; i < _listeners.size(); i++)
{
TableFrameControllerListener tableFrameControllerListener = _listeners.elementAt(i);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|