nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
| 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 | *******************************************************************************/ |
| 11 | package org.eclipse.jst.jsp.ui.internal.java.search; |
| 12 | |
| 13 | import org.eclipse.search.ui.ISearchQuery; |
| 14 | import org.eclipse.search.ui.text.Match; |
| 15 | import org.eclipse.wst.sse.ui.internal.search.OccurrencesSearchResult; |
| 16 | |
| 17 | /** |
| 18 | * @author pavery |
| 19 | */ |
| 20 | public 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 | } |