1 11 package org.eclipse.pde.internal.core.search; 12 13 public class PluginSearchInput { 14 public static final int ELEMENT_PLUGIN = 1; 15 public static final int ELEMENT_FRAGMENT = 2; 16 public static final int ELEMENT_EXTENSION_POINT = 3; 17 18 public static final int LIMIT_DECLARATIONS = 1; 19 public static final int LIMIT_REFERENCES = 2; 20 public static final int LIMIT_ALL = 3; 21 22 private String searchString = null; 23 private boolean caseSensitive = true; 24 private int searchElement = 0; 25 private int searchLimit = 0; 26 private PluginSearchScope searchScope; 27 28 public String getSearchString() { 29 return searchString; 30 } 31 32 public boolean isCaseSensitive() { 33 return caseSensitive; 34 } 35 36 public void setCaseSensitive(boolean value) { 37 caseSensitive = value; 38 } 39 40 public void setSearchString(String name) { 41 searchString = name; 42 } 43 44 public int getSearchElement() { 45 return searchElement; 46 } 47 48 public void setSearchElement(int element) { 49 searchElement = element; 50 } 51 52 public int getSearchLimit() { 53 return searchLimit; 54 } 55 56 public void setSearchLimit(int limit) { 57 searchLimit = limit; 58 } 59 60 public PluginSearchScope getSearchScope() { 61 return searchScope; 62 } 63 64 public void setSearchScope(PluginSearchScope scope) { 65 searchScope = scope; 66 } 67 68 } 69 | Popular Tags |