1 11 package org.eclipse.compare; 12 13 import org.eclipse.compare.structuremergeviewer.ICompareInput; 14 import org.eclipse.compare.structuremergeviewer.ICompareInputChangeListener; 15 import org.eclipse.jface.action.MenuManager; 16 import org.eclipse.jface.operation.IRunnableContext; 17 import org.eclipse.jface.operation.IRunnableWithProgress; 18 import org.eclipse.jface.viewers.ISelectionProvider; 19 import org.eclipse.ui.*; 20 import org.eclipse.ui.services.IServiceLocator; 21 22 29 public interface ICompareContainer extends IRunnableContext{ 30 31 39 public void addCompareInputChangeListener(ICompareInput input, ICompareInputChangeListener listener); 40 41 47 public void removeCompareInputChangeListener(ICompareInput input, ICompareInputChangeListener listener); 48 49 57 public void registerContextMenu(MenuManager menu, ISelectionProvider selectionProvider); 58 59 63 public void setStatusMessage(String message); 64 65 70 public IActionBars getActionBars(); 71 72 77 public IServiceLocator getServiceLocator(); 78 79 84 public ICompareNavigator getNavigator(); 85 86 101 public void runAsynchronously(IRunnableWithProgress runnable); 102 103 109 public IWorkbenchPart getWorkbenchPart(); 110 111 } 112 | Popular Tags |