Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / text / phpdoc / PHPDocCompletionProcessor.java
index 1cf1c2f..2f5fa5a 100644 (file)
@@ -16,7 +16,7 @@ import net.sourceforge.phpdt.ui.IWorkingCopyManager;
 import net.sourceforge.phpeclipse.ui.WebUI;
 //import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
-import org.eclipse.jface.text.IDocument;
+//import org.eclipse.jface.text.IDocument;
 import org.eclipse.jface.text.ITextViewer;
 import org.eclipse.jface.text.contentassist.ICompletionProposal;
 import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
@@ -47,7 +47,7 @@ public class PHPDocCompletionProcessor implements IContentAssistProcessor {
 
        private TemplateEngine fTemplateEngine;
 
-       private boolean fRestrictToMatchingCase;
+       //private boolean fRestrictToMatchingCase;
 
        private IEditorPart fEditor;
 
@@ -63,7 +63,7 @@ public class PHPDocCompletionProcessor implements IContentAssistProcessor {
                                .getTemplateContextRegistry().getContextType("phpdoc"); //$NON-NLS-1$
                if (contextType != null)
                        fTemplateEngine = new TemplateEngine(contextType);
-               fRestrictToMatchingCase = false;
+               //fRestrictToMatchingCase = false;
 
                fComparator = new PHPCompletionProposalComparator();
        }
@@ -86,7 +86,7 @@ public class PHPDocCompletionProcessor implements IContentAssistProcessor {
         *            <code>true</code> if proposals should be restricted
         */
        public void restrictProposalsToMatchingCases(boolean restrict) {
-               fRestrictToMatchingCase = restrict;
+               //fRestrictToMatchingCase = restrict;
        }
 
        /**
@@ -144,7 +144,7 @@ public class PHPDocCompletionProcessor implements IContentAssistProcessor {
                        int documentOffset) {
                ICompilationUnit unit = fManager.getWorkingCopy(fEditor
                                .getEditorInput());
-               IDocument document = viewer.getDocument();
+               //IDocument document = viewer.getDocument();
 
                IPHPCompletionProposal[] results = new IPHPCompletionProposal[0];