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(
+ HTMLContextType.HTML_CONTEXT_TYPE);
}
-
}