1 11 package org.eclipse.team.ui.synchronize; 12 13 import org.eclipse.compare.ITypedElement; 14 import org.eclipse.compare.structuremergeviewer.ICompareInput; 15 import org.eclipse.compare.structuremergeviewer.IDiffContainer; 16 import org.eclipse.core.resources.IResource; 17 import org.eclipse.jface.resource.ImageDescriptor; 18 import org.eclipse.jface.util.IPropertyChangeListener; 19 import org.eclipse.team.internal.ui.TeamUIPlugin; 20 21 31 public interface ISynchronizeModelElement extends IDiffContainer, ITypedElement, ICompareInput { 32 33 36 public static final String BUSY_PROPERTY = TeamUIPlugin.ID + ".busy"; 38 41 public static final String PROPAGATED_CONFLICT_PROPERTY = TeamUIPlugin.ID + ".conflict"; 43 46 public static final String PROPAGATED_ERROR_MARKER_PROPERTY = TeamUIPlugin.ID + ".error"; 48 51 public static final String PROPAGATED_WARNING_MARKER_PROPERTY = TeamUIPlugin.ID + ".warning"; 53 59 public abstract void addPropertyChangeListener(IPropertyChangeListener listener); 60 61 67 public abstract void removePropertyChangeListener(IPropertyChangeListener listener); 68 69 75 public void setPropertyToRoot(String propertyName, boolean value); 76 77 83 public void setProperty(String propertyName, boolean value); 84 85 92 public abstract boolean getProperty(String propertyName); 93 94 100 public abstract ImageDescriptor getImageDescriptor(Object element); 101 102 109 public abstract IResource getResource(); 110 } 111 | Popular Tags |