diff options
author | mkersten | 2005-07-08 19:58:10 +0000 |
---|---|---|
committer | mkersten | 2005-07-08 19:58:10 +0000 |
commit | 6921bdf15e62a958d9329822b24b6d52ce5b6c71 (patch) | |
tree | f17c919f13e663fede9913e24539dc242ee7aa92 /org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java | |
parent | 002325911e63c1355d8459f2d35a3477e2c19854 (diff) | |
download | org.eclipse.mylyn.tasks-6921bdf15e62a958d9329822b24b6d52ce5b6c71.tar.gz org.eclipse.mylyn.tasks-6921bdf15e62a958d9329822b24b6d52ce5b6c71.tar.xz org.eclipse.mylyn.tasks-6921bdf15e62a958d9329822b24b6d52ce5b6c71.zip |
Moved bugzilla core to buzilla.core
Progress on bug#102418
Ken's patch for Bugzilla Bug 103092
improve category filtering and sorting
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java new file mode 100644 index 000000000..9411d88eb --- /dev/null +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/IBugzillaSearchResultCollector.java @@ -0,0 +1,65 @@ +/******************************************************************************* + * Copyright (c) 2003 - 2005 University Of British Columbia and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * University Of British Columbia - initial API and implementation + *******************************************************************************/ +package org.eclipse.mylar.bugzilla.core.search; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IProgressMonitor; + +/** + * Interface for the bugzilla search result collector. + * @author Shawn Minto + */ +public interface IBugzillaSearchResultCollector +{ + + /** + * Called before the actual search starts + * @param startCount - The starting count for the number of matches + * @throws CoreException + */ + public void aboutToStart(int startCount) throws CoreException; + + /** + * Accept a search hit and add it as a match and set the markers + * @param hit The search hit that was a match + * @throws CoreException + */ + public void accept(BugzillaSearchHit hit) throws CoreException; + + /** + * Called when the search has ended. + */ + public void done(); + + /** + * Get the progress monitor for the search + * @return The progress monitor + */ + public IProgressMonitor getProgressMonitor(); + + /** + * Set the progress monitor + * @param monitor The progress monitor the search should use + */ + public void setProgressMonitor(IProgressMonitor monitor); + + /** + * Set the current search operation + * @param operation The operation to set the search to + */ + public void setOperation(IBugzillaSearchOperation operation); + + /** + * Get the current operation + * @return The current search operation + */ + public IBugzillaSearchOperation getOperation(); +} |