Update of /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/swing
In directory sc8-pr-cvs1:/tmp/cvs-serv6257/src/net/sourceforge/queryviewer/ui/swing
Modified Files:
QueryJPanel.java
Log Message:
typo dans la javadoc (latin-1), ajout des autres onglets, suppression des try/ catch dans jdbcConnection
Index: QueryJPanel.java
===================================================================
RCS file: /cvsroot/queryviewer/queryviewer/src/net/sourceforge/queryviewer/ui/swing/QueryJPanel.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** QueryJPanel.java 19 Jun 2003 22:56:32 -0000 1.7
--- QueryJPanel.java 22 Jun 2003 21:28:00 -0000 1.8
***************
*** 27,31 ****
public static final String CONNEXION_TAB = "Connexion";
! public static final String DRIVER_INFO_TAB = "Infos";
public static final String QUERY_TAB = "Query";
--- 27,31 ----
public static final String CONNEXION_TAB = "Connexion";
! public static final String INFO_TAB = "Infos";
public static final String QUERY_TAB = "Query";
***************
*** 52,55 ****
--- 52,62 ----
//this.ct.addConnectionListener(this);
this.jtp.addTab(QueryJPanel.CONNEXION_TAB, ct);
+
+ this.it = new InfoTab( this.controlerFactory );
+ this.jtp.addTab(QueryJPanel.INFO_TAB, it);
+
+ this.qt = new QueryTab( this.controlerFactory );
+ this.jtp.addTab(QueryJPanel.QUERY_TAB, qt);
+
super.add(jtp);
}
***************
*** 59,76 ****
* @deprecated use the Actions... {@link net.sourceforge.queryviewer.ui.event.AbstractAction}.
*/
! 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
!
}
/**
--- 66,85 ----
* @deprecated use the Actions... {@link net.sourceforge.queryviewer.ui.event.AbstractAction}.
*/
! /*
! public void jdbcConnection(Connection connection) {
try {
! this.it = new InfoTab(connection);
! this.jtp.addTab(QueryJPanel.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
!
}
+ */
/**
|