It's all about the answers!

Ask a question

"Delete Built result.."


0
2
Javier Franco Biurrun (2657) | asked Feb 21 '14, 7:23 a.m.
 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


permanent link
Javier Franco Biurrun (2657) | answered Feb 25 '14, 3:58 a.m.
edited Feb 25 '14, 4:14 a.m.
"Delete Build Result.." ID is com.ibm.team.build.ui.deleteBuildResultAction

In order to hide certain UI, use the next snippet:

	<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">

Ralph Schoon selected this answer as the correct answer

Comments
Ralph Schoon commented Mar 24 '14, 12:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.