Update of /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/swing
In directory sc8-pr-cvs1:/tmp/cvs-serv32441
Modified Files:
QueryJPanel.java
Log Message:
ajout d'import, correction de bugs
Index: QueryJPanel.java
===================================================================
RCS file: /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/swing/QueryJPanel.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** QueryJPanel.java 16 Jun 2003 07:45:22 -0000 1.5
--- QueryJPanel.java 17 Jun 2003 00:34:46 -0000 1.6
***************
*** 10,14 ****
import javax.swing.JTabbedPane;
import net.sourceforge.queryviewer.Query;
! import net.sourceforge.queryviewer.ui.event.ControlFactory;
/**
--- 10,15 ----
import javax.swing.JTabbedPane;
import net.sourceforge.queryviewer.Query;
! import net.sourceforge.queryviewer.QueryException;
! import net.sourceforge.queryviewer.ui.event.ControlerFactory;
/**
***************
*** 57,67 ****
*/
public void jdbcConnection(Connection connection) {
! this.it = new InfoTab(connection);
! this.jtp.addTab(QueryJPanel.DRIVER_INFO_TAB, this.it);
! Query q = new Query(new net.sourceforge.queryviewer.JDBCQueryImpl(connection));
! this.qt = new QueryTab(q);
! //TODO Attention à qui écoute qui et quoi?
! //this.qt.addQueryListener(new JDBCQueryImpl(connection));
! this.jtp.addTab(QueryJPanel.QUERY_TAB, this.qt);
}
--- 58,73 ----
*/
public void jdbcConnection(Connection connection) {
! try {
! this.it = new InfoTab(connection);
! this.jtp.addTab(QueryJPanel.DRIVER_INFO_TAB, this.it);
! Query q = new Query(new net.sourceforge.queryviewer.JDBCConnectionImpl(connection));
! this.qt = new QueryTab(q);
! //TODO Attention à qui écoute qui et quoi?
! //this.qt.addQueryListener(new JDBCQueryImpl(connection));
! this.jtp.addTab(QueryJPanel.QUERY_TAB, this.qt);
! } catch ( QueryException qex ) {
! // ???
! } // end of try-catch
!
}
***************
*** 83,86 ****
--- 89,99 ----
}
+
+ /**
+ *
+ */
+ public ControlerFactory getControlerFactory() {
+ return this.controlerFactory;
+ }
}
|