1 11 package org.eclipse.team.core.mapping; 12 13 import org.eclipse.core.resources.IProject; 14 import org.eclipse.core.resources.IResource; 15 import org.eclipse.core.resources.mapping.*; 16 17 31 public interface ISynchronizationScope { 32 33 42 IProject[] getProjects(); 43 44 54 ResourceMappingContext getContext(); 55 56 66 public ResourceMapping[] getInputMappings(); 67 68 74 public ISynchronizationScope asInputScope(); 75 76 86 public ResourceMapping[] getMappings(); 87 88 96 public ResourceTraversal[] getTraversals(); 97 98 104 public IResource[] getRoots(); 105 106 113 public boolean contains(IResource resource); 114 115 122 public void addScopeChangeListener(ISynchronizationScopeChangeListener listener); 123 124 130 public void removeScopeChangeListener(ISynchronizationScopeChangeListener listener); 131 132 141 public ResourceTraversal[] getTraversals(ResourceMapping mapping); 142 143 150 public boolean hasAdditionalMappings(); 151 152 159 public boolean hasAdditonalResources(); 160 161 166 public ModelProvider[] getModelProviders(); 167 168 175 public ResourceMapping[] getMappings(String modelProviderId); 176 177 184 public ResourceTraversal[] getTraversals(String modelProviderId); 185 186 194 public ResourceMapping getMapping(Object modelObject); 195 196 203 void refresh(ResourceMapping[] mappings); 204 205 } 206 | Popular Tags |