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 37374 - Put "Create Shortcut" action in contextual menus of Ant targets
Summary: Put "Create Shortcut" action in contextual menus of Ant targets
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RELNOTE, UI
Depends on:
Blocks:
 
Reported: 2003-11-20 12:50 UTC by John Jullion-ceccarelli
Modified: 2005-12-20 15:47 UTC (History)
1 user (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 John Jullion-ceccarelli 2003-11-20 12:50:11 UTC
Shortcuts to ant targets are handy, but going
through the whole wizard to create them is a pain.
The wizard doesn't remember which script you last
created a shortcut to, so you have to dig down
each time. I'm presently trying to create
shortcuts to targets in six different scripts and
it's taking forever.

How about putting a "Create Shortcut" action in
the Tools menu for Ant targets, so it would jump
straight to the wizard and you would just have to
check which types of shortcuts you want?
Comment 1 Jesse Glick 2003-11-20 13:44:53 UTC
Sounds like a good idea, thanks.
Comment 2 Jesse Glick 2004-05-04 03:50:28 UTC
Got a working patch. Also overhauled the GUI of the wizard generally:

- no more "template" in the New Files wizard

- no more "select target" panel; that is implicit in the target you
clicked on

- no more "file name of shortcut" (it is picked for you)

- "display name" is now explained properly as "menu item text" or
"toolbar button text", in the panel that lets you choose those

- menu & toolbar panels now use a simple list of available choices,
rather than a tree

- Customize Generated Shortcut panel is now at the end

- no more "Add to Filesystems" or "Add to Project" or whatever (this
actually was deleted a while back)

All in all, should be more intuitive, quicker to use, more
discoverable. Comments welcome.

Marking as RELNOTE just in case some 3.x users were still expecting to
find it in the New wizard.
Comment 3 Jesse Glick 2004-05-04 04:52:07 UTC
committed   * Up-To-Date  1.5         ant/nbproject/project.properties
committed   * Up-To-Date  1.38       
ant/src/org/apache/tools/ant/module/nodes/AntTargetNode.java
committed   * Up-To-Date  1.21       
ant/src/org/apache/tools/ant/module/nodes/Bundle.properties
committed   * Up-To-Date  1.26       
ant/src/org/apache/tools/ant/module/resources/AntModuleLayer.xml
removed     * Up-To-Date  1.2        
ant/src/org/apache/tools/ant/module/resources/AntShortcut.gif
removed     * Up-To-Date  1.1        
ant/src/org/apache/tools/ant/module/resources/AntShortcut.html
committed   * Up-To-Date  1.15       
ant/src/org/apache/tools/ant/module/resources/Bundle.properties
removed     * Up-To-Date  1.1        
ant/src/org/apache/tools/ant/module/resources/Shortcut.xml_
committed   * Up-To-Date  1.8        
ant/src/org/apache/tools/ant/module/wizards/shortcut/Bundle.properties
committed   * Up-To-Date  1.9        
ant/src/org/apache/tools/ant/module/wizards/shortcut/CustomizeScriptPanel.java
committed   * Up-To-Date  1.6        
ant/src/org/apache/tools/ant/module/wizards/shortcut/IntroPanel.form
committed   * Up-To-Date  1.9        
ant/src/org/apache/tools/ant/module/wizards/shortcut/IntroPanel.java
committed   * Up-To-Date  1.6        
ant/src/org/apache/tools/ant/module/wizards/shortcut/SelectFolderPanel.form
committed   * Up-To-Date  1.10       
ant/src/org/apache/tools/ant/module/wizards/shortcut/SelectFolderPanel.java
committed   * Up-To-Date  1.8        
ant/src/org/apache/tools/ant/module/wizards/shortcut/SelectKeyboardShortcutPanel.java
removed     * Up-To-Date  1.7        
ant/src/org/apache/tools/ant/module/wizards/shortcut/SelectTargetPanel.form
removed     * Up-To-Date  1.13       
ant/src/org/apache/tools/ant/module/wizards/shortcut/SelectTargetPanel.java
committed   * Up-To-Date  1.11       
ant/src/org/apache/tools/ant/module/wizards/shortcut/ShortcutIterator.java
added       * Up-To-Date  1.1        
ant/src/org/apache/tools/ant/module/wizards/shortcut/ShortcutWizard.java
added       * Up-To-Date  1.1        
ant/test/unit/src/META-INF/services/org.openide.filesystems.Repository
added       * Up-To-Date  1.1        
ant/test/unit/src/org/apache/tools/ant/module/wizards/shortcut/SelectFolderPanelTest.java
added       * Up-To-Date  1.1        
ant/test/unit/src/org/apache/tools/ant/module/wizards/shortcut/ShortcutWizardTest.java
added       * Up-To-Date  1.1        
ant/test/unit/src/org/apache/tools/ant/module/wizards/shortcut/ShortcutWizardTestBase.java
Comment 4 Marian Mirilovic 2005-12-20 15:47:09 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.