Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Customize History View for Resources(Restrict actions available in the History View for a resource)
Customize History View for Resources [message #1064204] Tue, 18 June 2013 09:01
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 18
Registered: July 2009
Junior Member
Dear All,

I am using Eclipse target platform 3.6.2 along with in version 1.0.0.I20120601-1700.

I need to implement my own History view. This view will merely reduce the functionality available in the standard history view available through ( The goal is to show only a subset of the columns in the history view table, not to offer any of the right-click functionalities available in the history view table, and not contribute additional menu entries in the toolbar.

I have managed to register an Adapter factory through the org.eclipse.core.runtime.adapters extension point that adapts a custom type (say MyClass) to
This is done as follows:

Through this mechanism, I then serve up my own History Page that displays only the required columns, does not contribute any menu items to the toolbar and does not offer any right-click functionality. This works fine for MyClass.

The problem I am having is when an IResource is selected and its history view is to be displayed. I am registering my Adapter factory as follows:

<extension point="org.eclipse.core.runtime.adapters">

I am unable to get this Adapter factory to be used for resources. It is always using the adapter factory defined in As a result, for resources, it is showing the default history page offered by

If I am not mistaken, one cannot register 2 adapter factories for the same set of input/output. Is there any way in which I could get my adapter factory to be used in preference to the one declared by Alternatively, is there another way in which I could display a custom history page for a selected IResource with my own columns and only required toolbar menu and pop-up menu items?

Please let me know in case more information is needed.

Thanks in advance,

Best Regards,
Previous Topic:New Repository History Wizard
Next Topic:Eclipse Team Synchronizing view show commiter on incomming changes
Goto Forum:

Current Time: Tue Dec 01 06:05:34 GMT 2015

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

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