Issue 79501 needs to show the 'New DB connection' dialog with some data prefilled.
The current API allows to pass the JDBC driver and connection URL.
The change requires to add the user name and password.
Created attachment 32056 [details]
I would like to ask for a review of the attached API change. It adds a
ConnectionManager.showAddConnectionDialog() method which also takes a database
user and password apart from the JDBCDriver and database URL, which were taken
by the existing methods. It also adds showAddConnectionDialogFromEventThread()
methods similar to the existing showAddConnectionDialog() methods, but which
return the added connection and must be called from the event dispatching thread.
Since there were no comments, I will integrate tomorrow. Thank you for the review.
Checking in apichanges.xml;
/cvs/db/apichanges.xml,v <-- apichanges.xml
new revision: 220.127.116.11.2.4; previous revision: 18.104.22.168.2.3
Checking in arch.xml;
/cvs/db/arch.xml,v <-- arch.xml
new revision: 22.214.171.124.2.6; previous revision: 126.96.36.199.2.5
Checking in nbproject/project.properties;
/cvs/db/nbproject/project.properties,v <-- project.properties
new revision: 188.8.131.52.2.7; previous revision: 184.108.40.206.2.6
Checking in src/org/netbeans/api/db/explorer/ConnectionManager.java;
new revision: 220.127.116.11.2.4; previous revision: 18.104.22.168.2.3
<-- ConnectUsingDriverAction.javanew revision: 22.214.171.124.2.4; previous
Checking in src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.java;
new revision: 126.96.36.199.2.4; previous revision: 188.8.131.52.2.3