1 11 package org.eclipse.search.ui; 12 13 import org.eclipse.jface.action.IAction; 14 import org.eclipse.jface.operation.IRunnableWithProgress; 15 import org.eclipse.jface.resource.ImageDescriptor; 16 import org.eclipse.jface.viewers.ILabelProvider; 17 import org.eclipse.jface.viewers.ISelection; 18 19 import org.eclipse.core.resources.IMarker; 20 import org.eclipse.core.resources.IResource; 21 import org.eclipse.ui.IViewPart; 22 23 39 public interface ISearchResultView extends IViewPart { 40 41 69 public void searchStarted( 70 IActionGroupFactory groupFactory, 71 String singularLabel, 72 String pluralLabelPattern, 73 ImageDescriptor imageDescriptor, 74 String pageId, 75 ILabelProvider labelProvider, 76 IAction gotoAction, 77 IGroupByKeyComputer groupByKeyComputer, 78 IRunnableWithProgress operation); 79 80 86 public ISelection getSelection(); 87 88 109 public void searchStarted( 110 String pageId, 111 String label, 112 ImageDescriptor imageDescriptor, 113 IContextMenuContributor contributor, 114 ILabelProvider labelProvider, 115 IAction gotoAction, 116 IGroupByKeyComputer groupByKeyComputer, 117 IRunnableWithProgress operation); 118 119 146 public void searchStarted( 147 String pageId, 148 String singularLabel, 149 String pluralLabelPattern, 150 ImageDescriptor imageDescriptor, 151 IContextMenuContributor contributor, 152 ILabelProvider labelProvider, 153 IAction gotoAction, 154 IGroupByKeyComputer groupByKeyComputer, 155 IRunnableWithProgress operation); 156 157 162 public void searchFinished(); 163 164 177 public void addMatch(String description, Object groupByKey, IResource resource, IMarker marker); 178 179 185 public ILabelProvider getLabelProvider(); 186 } 187 | Popular Tags |