RCP development using Eclipse 3.6 [message #1869105] |
Thu, 01 August 2024 05:58 |
Ganesh V Messages: 1 Registered: August 2024 |
Junior Member |
|
|
I am working on RCP dev using Eclipse 3.6 ..
I want to hide some of the default options supplied by eclipse like New , Open with text editor etc from the right click context in Project Explorer.
I tried using org.eclipse.ui.activities in the plugin.xml but nothing worked out.
When i right click on a IFile inside the Project explorer of my RCP , the default class "org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider" is called and the fillContextMenu(IMenumanager) is being executed.
Since the boolean variable contribute is set to true in the constructor of this class i think this option New-> Project is visible in the right click .
I am able to exclude the options like New-> Folder , New -> File in the same context using the ids org.eclipse.ui.ide/org.eclipse.ui.wizards.new.folder and org.eclipse.ui.ide/org.eclipse.ui.wizards.new.file in the pattern but not for Project.
please help.
|
|
|
Powered by
FUDForum. Page generated in 0.03292 seconds