/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
*******************************************************************************/
package net.sourceforge.phpdt.core.search;
+//import net.sourceforge.phpdt.internal.core.search.processing.*;
/**
* <p>
/**
* The search pattern matches exactly the search result,
* that is, the source of the search result equals the search pattern.
+ * @deprecated Use {@link SearchPattern#R_EXACT_MATCH} instead.
*/
int EXACT_MATCH = 0;
/**
* The search pattern is a prefix of the search result.
+ * @deprecated Use {@link SearchPattern#R_PREFIX_MATCH} instead.
*/
int PREFIX_MATCH = 1;
/**
* The search pattern contains one or more wild cards ('*') where a
* wild-card can replace 0 or more characters in the search result.
+ * @deprecated Use {@link SearchPattern#R_PATTERN_MATCH} instead.
*/
int PATTERN_MATCH = 2;
/**
* The search pattern matches the search result only
* if cases are the same.
+ * @deprecated Use the methods that take the matchMode
+ * with {@link SearchPattern#R_CASE_SENSITIVE} as a matchRule instead.
*/
boolean CASE_SENSITIVE = true;
/**
* The search pattern ignores cases in the search result.
+ * @deprecated Use the methods that take the matchMode
+ * without {@link SearchPattern#R_CASE_SENSITIVE} as a matchRule instead.
*/
boolean CASE_INSENSITIVE = false;
/* Waiting policies */
-// /**
-// * The search operation starts immediately, even if the underlying indexer
-// * has not finished indexing the workspace. Results will more likely
-// * not contain all the matches.
-// */
+ /**
+ * The search operation starts immediately, even if the underlying indexer
+ * has not finished indexing the workspace. Results will more likely
+ * not contain all the matches.
+ */
// int FORCE_IMMEDIATE_SEARCH = IJob.ForceImmediate;
-// /**
-// * The search operation throws an <code>org.eclipse.core.runtime.OperationCanceledException</code>
-// * if the underlying indexer has not finished indexing the workspace.
-// */
+ /**
+ * The search operation throws an <code>org.eclipse.core.runtime.OperationCanceledException</code>
+ * if the underlying indexer has not finished indexing the workspace.
+ */
// int CANCEL_IF_NOT_READY_TO_SEARCH = IJob.CancelIfNotReady;
-// /**
-// * The search operation waits for the underlying indexer to finish indexing
-// * the workspace before starting the search.
-// */
+ /**
+ * The search operation waits for the underlying indexer to finish indexing
+ * the workspace before starting the search.
+ */
// int WAIT_UNTIL_READY_TO_SEARCH = IJob.WaitUntilReady;