Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

2

0 votes


Accepted answer

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

1 vote

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.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Feb 21 '14, 7:23 a.m.

Question was seen: 4,225 times

Last updated: Mar 24 '14, 12:58 p.m.

Confirmation Cancel Confirm