1 11 package org.eclipse.team.ui.mapping; 12 13 import org.eclipse.core.resources.mapping.RemoteResourceMappingContext; 14 import org.eclipse.core.resources.mapping.ResourceMappingContext; 15 import org.eclipse.core.runtime.*; 16 import org.eclipse.team.core.RepositoryProviderType; 17 import org.eclipse.team.core.diff.IDiff; 18 import org.eclipse.team.core.diff.IThreeWayDiff; 19 import org.eclipse.team.ui.synchronize.TeamStateProvider; 20 import org.eclipse.team.ui.synchronize.SubscriberTeamStateProvider; 21 22 42 public interface ITeamStateProvider { 43 44 49 public static final int USE_DECORATED_STATE_MASK = -1; 50 51 60 public boolean isDecorationEnabled(Object element); 61 62 70 public boolean hasDecoratedState(Object element) throws CoreException; 71 72 100 public int getDecoratedStateMask(Object element); 101 102 111 public String [] getDecoratedProperties(Object element); 112 113 137 public ITeamStateDescription getStateDescription(Object element, 138 int stateMask, String [] properties, IProgressMonitor monitor) 139 throws CoreException; 140 141 153 public ResourceMappingContext getResourceMappingContext(Object element); 154 155 162 public void addDecoratedStateChangeListener( 163 ITeamStateChangeListener listener); 164 165 172 public void removeDecoratedStateChangeListener( 173 ITeamStateChangeListener listener); 174 175 } 176 | Popular Tags |