Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » RCP development using Eclipse 3.6(hide some of the default options supplied by eclipse in Project Explorer)
RCP development using Eclipse 3.6 [message #1869105] Thu, 01 August 2024 05:58
Ganesh V is currently offline Ganesh VFriend
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.
Previous Topic: Failed to launch AUT since there is no Product and Application ID found.
Next Topic:non compatibility between Eclipse native 2024. RCPTT 2.5.5-N202407061358 -06
Goto Forum:
  


Current Time: Thu Oct 10 23:45:10 GMT 2024

Powered by FUDForum. Page generated in 0.03292 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top