Skip to main content



      Home
Home » Eclipse Projects » Subversive » Using subversive plugin in another plugin
Using subversive plugin in another plugin [message #484323] Sun, 06 September 2009 14:28 Go to next message
Eclipse UserFriend
Originally posted by: e0628060.student.tuwien.ac.at

Hi!

I am currently developing an eclipse plugin, which is using features of
subversive.

My problem: I am opening the compare editor for two revisions of a file via
the subversive plugin. Now my problem is, that I want to use markers to
display important information. The resources I am working with are derived
from IRepositoryResource. In Eclipse markers can only be applied to
resources, which are derived from IResource (like IFile). So I don't know
how to display the markers in the compare editor using
IRespositoryResourceS.

Does anyone have an example for me, how this can work? Maybe someone can
explain, how the subversive plugin displays those markers (code examples
from svn would be very good).

If you need more information, please tell me!

Thanks!

regards,
Christian.
Re: Using subversive plugin in another plugin [message #487711 is a reply to message #484323] Thu, 24 September 2009 04:27 Go to previous message
Eclipse UserFriend
Hello Christian,

In order to show differences between 2 repository resources, Subversive uses
Eclipse compare framework:
CompareUI.openCompareEditor(CompareEditorInput input), for examples how
Subversive implements CompareEditorInput you can see its hierarchy.
I don't know whether compare framework allows to show custom markers or not,
so refer to its documentation for more details.

> Hi!
>
> I am currently developing an eclipse plugin, which is using features of
> subversive.
>
> My problem: I am opening the compare editor for two revisions of a file
> via
> the subversive plugin. Now my problem is, that I want to use markers to
> display important information. The resources I am working with are derived
> from IRepositoryResource. In Eclipse markers can only be applied to
> resources, which are derived from IResource (like IFile). So I don't know
> how to display the markers in the compare editor using
> IRespositoryResourceS.
>
> Does anyone have an example for me, how this can work? Maybe someone can
> explain, how the subversive plugin displays those markers (code examples
> from svn would be very good).
>
> If you need more information, please tell me!
>
> Thanks!
>
> regards,
> Christian.
>
Previous Topic:Show tags in history
Next Topic:Subversive in RCP app
Goto Forum:
  


Current Time: Wed Jul 23 10:57:08 EDT 2025

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

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

Back to the top