How to add context menu in "Pending Changes" view in RTC?
Hi all,
My requirement is add new context menu in RTC pending changes view in RTC, but after writting my plugin it is not visible in view. following is my plugin.xml file
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.popupMenus">
<viewerContribution
id="com.ibm.team.filesystem.ui.changes.views.LocalWorkspaceChangesView_7"
targetID="com.ibm.team.filesystem.ui.changes.views.LocalWorkspaceChangesView">
<visibility>
<or>
<objectClass name="com.ibm.team.filesystem.rcp.core.internal.changes.model.IWorkspaceSyncContext"/>
<objectClass name="com.ibm.team.filesystem.rcp.core.internal.changes.model.IComponentSyncContext"/>
<objectClass name="com.ibm.team.filesystem.rcp.core.internal.changes.model.IIncomingRemoteActivity"/>
<objectClass name="com.ibm.team.filesystem.rcp.core.internal.changes.model.IIncomingActivitySource"/>
<objectClass name="com.ibm.team.filesystem.rcp.core.internal.changes.model.IIncomingBaselineGroup"/>
</or>
</visibility>
<action
class="com.ibm.test.CustomAction" icon="/images/Component_obj.gif"
id=" com.ibm.test.customaction" label="Custom Menu..." style="push"/>
</viewerContribution>
</extension>
</plugin>
Accepted answer
This is really basically an Eclipse extension question. You should go to the Eclipse forums and search there. I have published something here: https://rsjazz.wordpress.com/2014/02/21/adding-context-menus-for-jazz-objects-to-the-rtc-eclipse-client/ that might be useful.