|
|
Re: Missing ISynchronizeParticipant creation API from Platform? [message #333171 is a reply to message #333095] |
Thu, 27 November 2008 16:22 |
Sebastien Boucard Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Thanks for the tip Michael.
As my editor is a multi page form editor, I would have liked the
opportunity to display a "Synchronize with Reporitory..." action in a
part, similar to the Dependency Analysis part of Manifest editor. I
believe this is not possible in a repository provider agnostic way, I
"only" get popup menu contribution.
Anyway, your help was greatly appreciated.
Sebastien
Michael Valenta wrote:
> Sebastien,
> You should adapt your editor input to a ResourceMapping (see
> IAdapterManager). This will allow repository providers to detect that
> you input is resource based and the repository actions should appear in
> your editor.
> Michael
> Sebastien Boucard wrote:
>> Hello there,
>>
>> I created an editor that manages a set of IResource. I'd like to provide
>> an action in this editor to automatically synchronize those resources in
>> the Synchronize perspective, whatever the underlying repository provider
>> is. My goal is to avoid the user having to re-select such resources in
>> the explorer and perform "Team > Synchronize".
>>
>> Team Core APIs (org.eclipse.team.core.synchronize) enable to handle my
>> use case. However the UI part does not. My understanding is that UI APIs
>> offer a great infrastructure for repository providers to implement
>> synchronization, but does not allow to request synchronization from the
>> Platform itself. It must occur from an action specific to a repository
>> provider (Team menu), or though the Synchronize wizard (which I'd really
>> like to avoid, since I know exactly what resources to manage, and so the
>> repository provider to use).
>>
>> Did I missed something here?
>>
>> Regards,
>> Sebastien Boucard
>> www.mdworkbench.com
>>
|
|
|
Powered by
FUDForum. Page generated in 0.24108 seconds