1 11 package org.eclipse.team.ui.mapping; 12 13 import org.eclipse.core.resources.mapping.ModelProvider; 14 import org.eclipse.jface.util.IPropertyChangeListener; 15 import org.eclipse.team.core.mapping.ISynchronizationScope; 16 import org.eclipse.team.internal.ui.TeamUIPlugin; 17 import org.eclipse.team.ui.TeamUI; 18 import org.eclipse.team.ui.synchronize.ISynchronizePage; 19 import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration; 20 21 34 public interface ITeamContentProviderManager { 35 36 42 public static final String P_SYNCHRONIZATION_PAGE_CONFIGURATION = TeamUIPlugin.ID + ".synchronizationPageConfiguration"; 50 public static final String P_SYNCHRONIZATION_CONTEXT = TeamUIPlugin.ID + ".synchronizationContext"; 52 59 public static final String P_SYNCHRONIZATION_SCOPE = TeamUIPlugin.ID + ".synchronizationScope"; 61 68 public static final String PROP_PAGE_LAYOUT = TeamUIPlugin.ID + ".pageLayout"; 70 75 public static final String TREE_LAYOUT = TeamUIPlugin.ID + ".treeLayout"; 77 84 public static final String FLAT_LAYOUT = TeamUIPlugin.ID + ".flatLayout"; 86 90 public static final String PROP_ENABLED_MODEL_PROVIDERS = TeamUIPlugin.ID + ".ENABLED_MODEL_PROVIDERS"; 92 96 public ITeamContentProviderDescriptor[] getDescriptors(); 97 98 106 public ITeamContentProviderDescriptor getDescriptor( 107 String modelProviderId); 108 109 113 public void addPropertyChangeListener(IPropertyChangeListener listener); 114 115 119 public void removePropertyChangeListener(IPropertyChangeListener listener); 120 121 130 public String [] getContentProviderIds(ISynchronizationScope scope); 131 132 140 public void setEnabledDescriptors(ITeamContentProviderDescriptor[] descriptors); 141 142 } 143 | Popular Tags |