Revision: 3197
Author: terryyiu
Date: Tue Dec 1 15:08:53 2009
Log: Fixing InsertionPointWatcher as the getChildType method has been
removed from SQLObject.
http://code.google.com/p/power-architect/source/detail?r=3197
Modified:
/branches/sqlobject-spobject-model/src/ca/sqlpower/architect/InsertionPointWatcher.java
=======================================
---
/branches/sqlobject-spobject-model/src/ca/sqlpower/architect/InsertionPointWatcher.java
Tue Dec 1 14:48:38 2009
+++
/branches/sqlobject-spobject-model/src/ca/sqlpower/architect/InsertionPointWatcher.java
Tue Dec 1 15:08:53 2009
@@ -55,7 +55,7 @@
* @param insertionPoint
*/
public InsertionPointWatcher(final T objectUnderObservation, int
insertionPoint) {
- this(objectUnderObservation, insertionPoint,
objectUnderObservation.getChildType());
+ this(objectUnderObservation, insertionPoint, SQLObject.class);
}
public InsertionPointWatcher(final T objectUnderObservation, int
insertionPoint, Class<? extends SQLObject> childType) {