KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > search > JavaSearchDescription


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.jdt.internal.ui.search;
12
13 import org.eclipse.jdt.core.IJavaElement;
14
15 public class JavaSearchDescription {
16     private int fLimitTo;
17     private IJavaElement fElementPattern;
18     private String JavaDoc fStringPattern;
19     private String JavaDoc fScopeDescription;
20
21     public IJavaElement getElementPattern() {
22         return fElementPattern;
23     }
24
25     public int getLimitTo() {
26         return fLimitTo;
27     }
28
29     public String JavaDoc getStringPattern() {
30         return fStringPattern;
31     }
32
33     public String JavaDoc getScopeDescription() {
34         return fScopeDescription;
35     }
36
37     /**
38      * @param limitTo
39      * @param elementPattern
40      * @param stringPattern
41      * @param scopeDescription
42      */

43     public JavaSearchDescription(
44         int limitTo,
45         IJavaElement elementPattern,
46         String JavaDoc stringPattern,
47         String JavaDoc scopeDescription) {
48         super();
49         fLimitTo= limitTo;
50         fElementPattern= elementPattern;
51         fStringPattern= stringPattern;
52         fScopeDescription= scopeDescription;
53     }
54 }
55
Popular Tags