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 145884 - [permui] Groovy actions in Navigate menu are not in permui spec
Summary: [permui] Groovy actions in Navigate menu are not in permui spec
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-02 11:06 UTC by Lukas Hasik
Modified: 2008-10-30 14:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-09-02 11:06:42 UTC
According to the Permanent UI specification for NB IDE [1] there are following items in Navigate menu should not be in
Navigate menu of the NB IDE

-Go to Controller 
-Go to Domain class 
-Go to View 

Please, follow the UI Review process [2] to get the changes approved or fix it

[1] http://wiki.netbeans.org/MainMenu
[2] http://wiki.netbeans.org/UIReviewProcess
Comment 1 Ondrej Langr 2008-09-23 15:01:46 UTC
There are two sides to this problem. 

First, there are way to many actions in the IDE, we need to consolidate them to make each of them usable and/or
findable. These action extend the pool of these action to 15! I am aware that complex integration of these actions is
out-of-scope for 6.5, but something needs to be done for next releases (see issue #148052). But do we seriously need all
these actions? Ruby also has the concept of controllers, but there is no "Go To Controller" action there. I don't know
much about Ruby .. but how does it deal with this use-case? Couldn't we re-use their solution? Further, they neither
have shortcuts nor mnemonics and as such are probably not going to be used anyway. Wouldn't 

Second, even if we keep all these actions, their location is inconsistent with the rest of the menus and their name does
not make obvious the context they can be used in. Leaving this for offline discussion.
Comment 2 Ondrej Langr 2008-09-30 12:38:46 UTC
After the discussion with others and in order to fix the problem for 6.5, I've updated to the perm. UI specification.
Changes are as follows: 

1) Grails actions moved up in the menu to the same section as "Go to Test" action.

2) Removed the "Go to Domain Class" action. The action still will be available in action customizer, but since we are
not able to find shortcut for it, doesn't make things much easier than manually opening the appropriate domain class.

3) Defined mnemonics for the remaining actions.

4) Actions renamed so that they contain "Grails" in their display name.

Note that this is a short-term for 6.5 which only aims to put these actions into the context of the big IDE.
Nevertheless, current way of opening related files has extremely bad learning curve and should be made better for next
releases. I will file a separate enhancement for that. 

Assigning back to Martin to fix these things in code. 
Comment 3 martin_adamek 2008-10-02 09:44:56 UTC
Fixed.
http://hg.netbeans.org/main/rev/dc4acdaed8e7
Comment 4 Lukas Jungmann 2008-10-02 12:58:37 UTC
Luky, can you verify this, please? Thanks.
Comment 5 Quality Engineering 2008-10-03 14:39:32 UTC
Integrated into 'main-golden', will be available in build *200810031107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dc4acdaed8e7
User: Martin Adamek <martin_adamek@netbeans.org>
Log: #145884: [permui] Groovy actions in Navigate menu are not in permui spec
Comment 6 Lukas Hasik 2008-10-08 15:41:33 UTC
v 8/10