Skip to main content
diff options
authorLaurent Delaigue2016-08-11 13:08:29 +0000
committerMatthias Sohn2016-08-30 23:39:05 +0000
commit218f8cec2b7ceb5b9b6d64bb037e8f875521e27a (patch)
tree84d8735531a84c20415ffc9d5025cb3c1ba798b7 /org.eclipse.egit.ui.test/fragment.xml
parent92a2bac76cfcb7dbf0242d6f61d6ef54e1de51c2 (diff)
Provide a remote mapping context to ModelProviders
Allow model providers to use remote information when trying to determine whether a file is a part of a logical model or not. When a file has been deleted locally, or when a file has been created on one of the remote sides, the local side is not sufficient to compute a full model. ModelProviders will need access to the remote file data to take these locally unknown files into account. Add an interface to allow ModelProviders to be ignored in synchronizations has been added. Change-Id: I956dfb13093781accca36142cd87cf01b479fe1a Also-by: Laurent Goubet <> Also-by: Axel Richard <> Also-by: Alexandra Buzila <> Signed-off-by: Laurent Delaigue <> Signed-off-by: Matthias Sohn <>
Diffstat (limited to 'org.eclipse.egit.ui.test/fragment.xml')
1 files changed, 20 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui.test/fragment.xml b/org.eclipse.egit.ui.test/fragment.xml
index 0ee4181b7..71b9b1de3 100644
--- a/org.eclipse.egit.ui.test/fragment.xml
+++ b/org.eclipse.egit.ui.test/fragment.xml
@@ -46,5 +46,25 @@
+ <extension
+ id="org.eclipse.egit.ui.test.mockLogicalModelProvider"
+ name="Mock Logical Model Provider"
+ point="org.eclipse.core.resources.modelProviders">
+ <modelProvider
+ class="org.eclipse.egit.ui.view.synchronize.MockLogicalModelProvider">
+ </modelProvider>
+ <extends-model
+ id="org.eclipse.core.resources.modelProvider"/>
+ <enablement>
+ <and>
+ <adapt
+ type="org.eclipse.core.resources.IFile"/>
+ <test
+ forcePluginActivation="true"
+ property=""
+ value="*.mocklogical"/>
+ </and>
+ </enablement>
+ </extension>

Back to the top