Refactory: smarty.ui plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.smarty.ui / src / net / sourceforge / phpdt / smarty / ui / internal / text / SmartyCompletionProcessor.java
index d20fead..79a1903 100644 (file)
@@ -12,24 +12,24 @@ package net.sourceforge.phpdt.smarty.ui.internal.text;
 
 import net.sourceforge.phpeclipse.ui.WebUI;
 import net.sourceforge.phpeclipse.ui.templates.template.BasicCompletionProcessor;
-import net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType;
+import net.sourceforge.phpeclipse.ui.templates.template.HTMLTemplateContextType;
 
 import org.eclipse.jface.text.IRegion;
 import org.eclipse.jface.text.ITextViewer;
 import org.eclipse.jface.text.templates.TemplateContextType;
 
-
 /**
  * A completion processor for XML templates.
  */
 public class SmartyCompletionProcessor extends BasicCompletionProcessor {
-       
+
        /**
-        * Return the XML context type that is supported by this plugin. 
+        * Return the XML context type that is supported by this plugin.
         */
-       protected TemplateContextType getContextType(ITextViewer viewer, IRegion region) {
-               return WebUI.getDefault().getContextTypeRegistry().getContextType(HTMLContextType.HTML_CONTEXT_TYPE);
+       protected TemplateContextType getContextType(ITextViewer viewer,
+                       IRegion region) {
+               return WebUI.getDefault().getContextTypeRegistry().getContextType(
+                               HTMLTemplateContextType.HTML_CONTEXT_TYPE);
        }
 
-       
 }