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.

Bug 123351 - Move Java DB actions from Tools menu into Services tab
Summary: Move Java DB actions from Tools menu into Services tab
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Vancouvering
URL: http://wiki.netbeans.org/MoveJavaDBAc...
Keywords: PLAN, UI
Depends on: 127081
Blocks:
  Show dependency tree
 
Reported: 2007-12-04 13:42 UTC by jrojcek
Modified: 2008-02-13 17:33 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2007-12-04 13:42:02 UTC
Problem description and solution:

With the NB 6.0 pack consolidation into a single coherent piece we've achieved a pretty good simplicity and consistency of main menus. That is true also for 
the IDE with all packs installed. There's still a few things missing. One of them is special menu items for Java DB in Tools menu. Those menu items should be 
replaced by similar UI we use for application servers. It means integrating Java DB into the Services tab.

---

Note that even though I'm filing this issue as part of the 6.1 planning, the real intention is to address this issue in one of the upcoming releases.
Comment 1 David Vancouvering 2007-12-04 14:35:29 UTC
I am surprised and somewhat pleased to see this issue logged, as the same thought has come into my mind.  I have been
thinking about how to provide better support for MySQL and PostgreSQL in terms of start/stop, bring up admin console,
etc., and this requires having DB servers under Services->Databases.

Is there an existing UI spec for what you are thinking of doing for Java DB support?
Comment 2 jrojcek 2007-12-05 14:44:56 UTC
There's no existing UI spec that I know of.

The motivation in this case comes from cleaning up the main menu. But I know that the web or DB team mentioned this a few times as well. I don't know if 
there was any outcome. Please talk to Petr Jiricka or Pavel Buzek. Thanks.
Comment 3 Andrei Badea 2007-12-06 11:02:56 UTC
Before spending time on start/stop for PostgreSQL I suggest you talk to Josh Berkus. I asked him about it when he was in
Prague this fall, and his response was that users usually start their servers by other means (automatically on system
startup, etc.)
Comment 4 David Vancouvering 2008-01-25 01:08:47 UTC
Keeping it very simple, just relocating actions to under the Databases folder.  Please see spec linked to from "URL" for
more information.
Comment 5 David Vancouvering 2008-02-01 23:41:10 UTC
Please review this spec.  Note it has already gone through an extensive review on the usability alias, so you might want
to refer to that thread for background.
Comment 6 jrojcek 2008-02-05 19:19:22 UTC
Strictly speaking the spec needs to go through the updated review process only if it modifies the Services Window permanent UI spec, which means in case 
you want to introduce, remove or change a top level node in the permanent spec. The spec is at http://wiki.netbeans.org/ServicesWindow. I'm removing 
the review keyword as your UI spec doesn't seem to propose it.

A few thoughts on your proposal... My opinion is that what you're proposing is okay as a short term solution (for 6.1). Maybe as the IDE currently only 
supports a single Java DB, this setup would be more appropriate:
---
Services
    Databases
        Java DB Server
        Drivers
        Connections
            jdbc:derby://localhost/sample [sample on APP]
---

I would suggest to put the Java DB Server node to the top and present all actions in it's contextual menu. No need for another sub-node IMO.

For later releases something along the lines of "Database Servers" would be more appropriate.
Comment 7 David Vancouvering 2008-02-13 17:33:41 UTC
Checked in revision 1152f09ab9a7