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 191771 - Enable the Delete option in right-click content-menu for multiple projects selection
Summary: Enable the Delete option in right-click content-menu for multiple projects se...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 182488
  Show dependency tree
 
Reported: 2010-11-10 00:50 UTC by quanghung.b
Modified: 2013-08-21 12:15 UTC (History)
0 users

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 quanghung.b 2010-11-10 00:50:12 UTC
[ BUILD # : 201011070000 ]
[ JDK VERSION : 1.6.14 ]

1. Select multiple projects. 
2. Righ-click on the selection --> the Delete option is disabled

But we can still delete the selection (all the selected project) by pressing on
"Delete" button (on keyboard) or by clicking on menu bar "Edit -> Delete".

So shouldn't we get the option Delete enabled in the right-click content menu ?
Comment 1 Jesse Glick 2010-11-10 18:19:44 UTC
Indeed. There is probably no reason for Actions.deleteProject to return anything other than Actions/Edit/org-openide-actions-DeleteAction.instance, which handles multiselections; this would remove the need for the current accelerator hack. In fact CommonProjectActions.deleteProjectAction could be deprecated. Actions/Project/org-netbeans-modules-project-ui-DeleteProject.instance might be able to just return the same instance of DeleteAction, but it would be better if project type layers (see bug #182488) referred to the original.
Comment 2 Martin Kozeny 2013-08-21 12:15:24 UTC
Delete option is now enabled.