blob: f1d4f8e4db75af2e04f862064e7e2778ee30978a [file] [log] [blame]
nitindb0f7b262004-11-23 19:12:23 +00001/*******************************************************************************
2 * Copyright (c) 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11package org.eclipse.jst.jsp.ui.internal.java.search;
12
13import org.eclipse.search.ui.ISearchQuery;
14import org.eclipse.search.ui.text.Match;
15import org.eclipse.wst.sse.ui.internal.search.OccurrencesSearchResult;
16
17/**
18 * @author pavery
19 */
20public class JSPOccurrencesSearchResult extends OccurrencesSearchResult {
21
22 public JSPOccurrencesSearchResult(ISearchQuery query) {
23 super(query);
24 }
25
26 public Match[] getMatches() {
27 return ((JSPSearchQuery)getQuery()).getMatches();
28 }
29}