Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / core / CompletionRequestorAdapter.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/CompletionRequestorAdapter.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/CompletionRequestorAdapter.java
new file mode 100644 (file)
index 0000000..c473feb
--- /dev/null
@@ -0,0 +1,207 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2003 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
+ * http://www.eclipse.org/legal/cpl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package net.sourceforge.phpdt.core;
+
+import net.sourceforge.phpdt.core.compiler.IProblem;
+
+
+/**
+ * Adapter of the requestor interface <code>ICompletionRequestor</code>.
+ * <p>
+ * This class is intended to be instanciated and subclassed by clients.
+ * </p>
+ *
+ * @see ICompletionRequestor
+ * @since 2.0
+ */
+public class CompletionRequestorAdapter implements ICompletionRequestor {
+
+       /*
+        * @see ICompletionRequestor#acceptAnonymousType(char[], char[], char[][], char[][], char[][], char[], int, int, int)
+        */
+       public void acceptAnonymousType(
+               char[] superTypePackageName,
+               char[] superTypeName,
+               char[][] parameterPackageNames,
+               char[][] parameterTypeNames,
+               char[][] parameterNames,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptClass(char[], char[], char[], int, int, int)
+        */
+       public void acceptClass(
+               char[] packageName,
+               char[] className,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptError(IProblem)
+        */
+       public void acceptError(IProblem error) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptField(char[], char[], char[], char[], char[], char[], int, int, int)
+        */
+       public void acceptField(
+               char[] declaringTypePackageName,
+               char[] declaringTypeName,
+               char[] name,
+               char[] typePackageName,
+               char[] typeName,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptInterface(char[], char[], char[], int, int, int)
+        */
+       public void acceptInterface(
+               char[] packageName,
+               char[] interfaceName,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptKeyword(char[], int, int)
+        */
+       public void acceptKeyword(
+               char[] keywordName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptLabel(char[], int, int)
+        */
+       public void acceptLabel(
+               char[] labelName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptLocalVariable(char[], char[], char[], int, int, int)
+        */
+       public void acceptLocalVariable(
+               char[] name,
+               char[] typePackageName,
+               char[] typeName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptMethod(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
+        */
+       public void acceptMethod(
+               char[] declaringTypePackageName,
+               char[] declaringTypeName,
+               char[] selector,
+               char[][] parameterPackageNames,
+               char[][] parameterTypeNames,
+               char[][] parameterNames,
+               char[] returnTypePackageName,
+               char[] returnTypeName,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptMethodDeclaration(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
+        */
+       public void acceptMethodDeclaration(
+               char[] declaringTypePackageName,
+               char[] declaringTypeName,
+               char[] selector,
+               char[][] parameterPackageNames,
+               char[][] parameterTypeNames,
+               char[][] parameterNames,
+               char[] returnTypePackageName,
+               char[] returnTypeName,
+               char[] completionName,
+               int modifiers,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptModifier(char[], int, int)
+        */
+       public void acceptModifier(
+               char[] modifierName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptPackage(char[], char[], int, int)
+        */
+       public void acceptPackage(
+               char[] packageName,
+               char[] completionName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptType(char[], char[], char[], int, int)
+        */
+       public void acceptType(
+               char[] packageName,
+               char[] typeName,
+               char[] completionName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+
+       /*
+        * @see ICompletionRequestor#acceptVariableName(char[], char[], char[], char[], int, int)
+        */
+       public void acceptVariableName(
+               char[] typePackageName,
+               char[] typeName,
+               char[] name,
+               char[] completionName,
+               int completionStart,
+               int completionEnd,
+               int relevance) {
+       }
+}