Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Hiding "Build Project" and "Clean Project" menu entries
Hiding "Build Project" and "Clean Project" menu entries [message #1750448] Wed, 21 December 2016 08:12
Alexander Fichtinger is currently offline Alexander FichtingerFriend
Messages: 62
Registered: January 2013
Member
Hey guys,

our customer wants to remove the menu entries "Build Project" and "Clean Project" from the context menu of the project (in the project explorer).

Also he wants to remove the "Clean..." menu entry in the "Project" menu.



I tried to remove the "Build Project" menu entry with the following activity:

      <activity id="activity.disabledOnStart" name="disable"/>

      <activityPatternBinding
            activityId="activity.disabledOnStart"
            pattern=".*/org.eclipse.ui.project.buildProject">
      </activityPatternBinding>


But this approach does not work..
After trying this, I found out that the command "org.eclipse.ui.project.buildProject" is used in the IDEActionFactory (in "org.eclipse.ui.ide") to create the BUILD_PROJECT action.

Now this seems pretty hardcoded to me...
Is there a way to hide those menu items?

Thanks for any help! =)

Previous Topic:Get previous selection after disable and enable radio drop down menu in Eclipse 3.7 RCP
Next Topic:How To Get Started With RCP In Oxygen
Goto Forum:
  


Current Time: Mon Nov 19 02:47:01 GMT 2018

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

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

Back to the top