Yes, it can be done this way but it could be a bit "heavy", because Subscriber interface implementations are mostly "three way" that implies interaction with remote to create SyncInfo for each IResource.
And this is much more than determining "is modified locally".

Regards,
AF

06.10.2020 16:28, Wim Jongman пишет:
Maybe the team synchronize API is of use. This is SCM agnostic: I know it works with git, svn and cvs.

I dug up some info here. Scroll down on this page
https://www.eclipse.org/eclipse/platform-team/team3.0/synchronizing_solution.html

On Mon, Oct 5, 2020 at 10:27 PM Gayan Perera <gayan...@gmail.com <mailto:gayan...@gmail.com>> wrote:

    Hi All,

    I'm trying to implement a plugin to perform code cleanup and
    import organizing only for modified files in a given project(s). I
    would like to do it SCM agnostic way so that the feature can work
    with any VCS that is supported by eclipse. What are the platform
    API i can use to get list file file resource that has
    modifications when comparing with HEAD revision ?

    Best regards,
    Gayan.
    _______________________________________________
    platform-dev mailing list
    platform-dev@eclipse.org <mailto:platform-dev@eclipse.org>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/platform-dev


_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to