"Delete Built result.."
Hi, I am trying to disable the tab "Delete Build result.." It appears in the right click pop-up menu within the Builds view. The reason is than another tab has been added with similar functionality into that pop-up menu and it not convenient to have both of them as it looks quite confusing.
Do you have any suggestion on how to do that?
Thanks in advance :)
Accepted answer
"Delete Build Result.." ID is com.ibm.team.build.ui.deleteBuildResultAction
<extension point="org.eclipse.ui.activities"> <activity id="myActivity" name="MenuHidingActivity"> </activity> <activityPatternBinding activityId="myActivity" pattern="contributing plug-in id / local id">
</activityPatternBinding> </extension>
So in this case:pattern="com.ibm.team.build.ui/com.ibm.team.build.ui.deleteBuildResultAction">
Comments
Please be aware that the pattern is a regular expression and you need to escape the period which would map to any character e.g. as .
See this post based on Javier's information above with links to the relevant Eclipse documentation: https://rsjazz.wordpress.com/2014/03/24/hiding-ui-contributions-in-the-rtc-eclipse-client/
Thanks Javier for bringing this example to my attention.