Bug 297190 - [CommonNavigator] Need a more easy way to remove the default "project"/"example"/"other" from right click context menu
Summary: [CommonNavigator] Need a more easy way to remove the default "project"/"examp...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 07:40 EST by abalest CLA
Modified: 2019-09-06 16:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abalest CLA 2009-12-08 07:40:54 EST
User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Build Identifier: M20080911-1700

When using common navigator to build customize viewer, the implemented common wizard item(under new wizard category always has the "Project"/"Example"/"Other" item displaying with the other user defined new wizard item when right click in the viewer.
I seems that this is caused by the following code in the plugin.xml
<viewerActionBinding
            viewerId="org.eclipse.ui.navigator.ProjectExplorer">
         <includes>
             <actionExtension pattern="org.eclipse.ui.navigator.resources.*" />
         </includes>
Examing the NewActionProvider.java in org.eclipse.ui.internal.navigatior.resources, I found there's the NewProjectAction and NewExampleAction there which represents the item that I want to remove.
Although this problem could be resolved by using a customized NewActionProvider, I wonder if there could be a more convenient way to configure this.

Reproducible: Always

Steps to Reproduce:
1.New a view using common navigator
2.Add viewerActionBinding, and includes  <actionExtension pattern="org.eclipse.ui.navigator.resources.*" />
3.Add a customized new wizard action.
4.Right click on one item of  the explorer view, and the default "project"/"example"/"other" items are shown


3.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:07:41 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.