1 11 package org.eclipse.team.ui.synchronize; 12 13 import org.eclipse.compare.CompareConfiguration; 14 import org.eclipse.core.runtime.*; 15 import org.eclipse.jface.preference.PreferencePage; 16 import org.eclipse.jface.resource.ImageDescriptor; 17 import org.eclipse.jface.util.IPropertyChangeListener; 18 import org.eclipse.team.core.TeamException; 19 import org.eclipse.ui.*; 20 import org.eclipse.ui.part.IPageBookViewPage; 21 22 67 public interface ISynchronizeParticipant extends IExecutableExtension, IAdaptable { 68 69 77 public static final String P_CONTENT = "org.eclipse.team.ui.content"; 79 87 public String getId(); 88 89 99 public String getSecondaryId(); 100 101 106 public String getName(); 107 108 115 public ImageDescriptor getImageDescriptor(); 116 117 124 public boolean isPinned(); 125 126 131 public void setPinned(boolean pinned); 132 133 141 public ISynchronizePageConfiguration createPageConfiguration(); 142 143 153 public IPageBookViewPage createPage(ISynchronizePageConfiguration configuration); 154 155 162 public void run(IWorkbenchPart part); 163 164 180 public void init(String secondaryId, IMemento memento) throws PartInitException; 181 182 195 public void dispose(); 196 197 206 public void saveState(IMemento memento); 207 208 225 public void addPropertyChangeListener(IPropertyChangeListener listener); 226 227 233 public void removePropertyChangeListener(IPropertyChangeListener listener); 234 235 247 public void prepareCompareInput( 248 ISynchronizeModelElement element, 249 CompareConfiguration configuration, 250 IProgressMonitor monitor) 251 throws TeamException; 252 253 258 public PreferencePage[] getPreferencePages(); 259 } 260 | Popular Tags |