Plugins (1057)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Jemão
Post subject: Investigating Local History  PostPosted: May 05, 2008 - 09:27 PM



Joined: May 05, 2008
Posts: 1

Hi people,

I'm investigating how Local History function works, but unfortunately I couldn't find the plugin responsible for doing this action.
After some search I found the Beyond Compare plugin, which seems to do the same, but looks like it has a bug (search for a .exe file, which does not exists in linux) and doesn't work correctly.
I've already developed a plugin to compare different CVS revision of the same file. In this plugin my action class extends WorkspaceAction, and everything works correctly. The point is that it depends on the project being in the CVS repository. In this case, I already know that it is possible to access the local revisions (called states) of the file once I have it as an IFile object in hands. I simply don't know how to get the user selection as an IResource, and then downcast it to IFile.

Can anyone help me, please?

Thanks in advance.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits