This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Finding Participant didn't know how to add a new database connection in Runtime window. Tried the contextual menu on Databases node and Drivers node. Severity 2 participants were significantly slowed down (finally found it). 1 participant modified the existing sample connection instead of creating a new one (it also doesn't work) 2 participants couldn't find it, facilitator had to help them Recommendation Add "Add Database Connection..." menu item or similar into contextual menu on Databases node.
Fixed. Checking in src/org/netbeans/modules/db/explorer/actions/AddConnectionAction.java; /cvs/db/src/org/netbeans/modules/db/explorer/actions/AddConnectionAction.java,v <-- AddConnectionAction.java new revision: 1.19.118.1; previous revision: 1.19 done Checking in src/org/netbeans/modules/db/explorer/dlg/ConnectionDialog.java; /cvs/db/src/org/netbeans/modules/db/explorer/dlg/ConnectionDialog.java,v <-- ConnectionDialog.java new revision: 1.9.6.1.2.1; previous revision: 1.9.6.1 done Checking in src/org/netbeans/modules/db/explorer/dlg/ConnectionDialogMediator.java; /cvs/db/src/org/netbeans/modules/db/explorer/dlg/ConnectionDialogMediator.java,v <-- ConnectionDialogMediator.java new revision: 1.1.10.1.2.1; previous revision: 1.1.10.1 done Checking in src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.form; /cvs/db/src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.form,v <-- NewConnectionPanel.form new revision: 1.5.2.1.2.2; previous revision: 1.5.2.1.2.1 done Checking in src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.java; /cvs/db/src/org/netbeans/modules/db/explorer/dlg/NewConnectionPanel.java,v <-- NewConnectionPanel.java new revision: 1.14.2.1.2.2; previous revision: 1.14.2.1.2.1 done Checking in src/org/netbeans/modules/db/resources/Bundle.properties; /cvs/db/src/org/netbeans/modules/db/resources/Bundle.properties,v <-- Bundle.properties new revision: 1.96.2.1.2.1; previous revision: 1.96.2.1 done Checking in src/org/netbeans/modules/db/resources/explorer.plist; /cvs/db/src/org/netbeans/modules/db/resources/explorer.plist,v <-- explorer.plist new revision: 1.70.56.1.2.1; previous revision: 1.70.56.1 done
*** Issue 73753 has been marked as a duplicate of this issue. ***
Reopening cf. jrojcek's request in issue 74723: jrojcek: BTW, Andrei please change the name of the action on Databases node from "Add Connection..." to "New Connection...". We're consistently using New Connection on other places and the dialog title bar is "New Database Connection". Thanks. abadea: Re. "Add Connection..." -> "New Connection...". "Add" is consistent with "Add Driver/Table/Column/Index" on other DB Explorer nodes. Should these action be renamed too? jrojcek: Re. Should these action be renamed too? Maybe yes. The guideline we're using for distinguishing Add and New is something like: - Use Add if adding from existing set of values. Typically from a file chooser, or a list of values. When using Add, use Remove as the opposite action. - Use New when creating something new - specifying it's values like name, content, etc. When using New, use Delete as the opposite action. Sometimes it's a bit hard to make choose the right one. I think for connection, the user is creating new connection more than adding from existing connections.
Fixed. I renamed "Add Connection" and "Add Driver" to "New Connection" and "New Driver". But I don't think we should have "New" actions for database objects, it doesn't make much sense. Instead the actions should be named after the SQL statements used to create these objects. So we have "Create Table", "Create View", "Add Column", "Add Index". Checking in src/org/netbeans/modules/db/resources/Bundle.properties; /cvs/db/src/org/netbeans/modules/db/resources/Bundle.properties,v <-- Bundle.properties new revision: 1.96.2.1.2.2; previous revision: 1.96.2.1.2.1 done
I'm okay with the DB commands to keep them according to SQL statements. I have to say that I'm not very happy with the current "New", "Add" distinction but that's what we try to use now. FWIW, maybe "Create", "Add" would be better. Or "Add New" vs "Add Existing".
v.
*** Issue 65472 has been marked as a duplicate of this issue. ***