Skip to main content



      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 03:12
Eclipse UserFriend
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: Wed Jul 16 18:25:53 EDT 2025

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

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

Back to the top