1) Fixed the 'Save Failed' issue by uncommenting the incriminating code from showPrev...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / WebUI.java
index 84b2c24..816f5e9 100644 (file)
@@ -16,10 +16,10 @@ package net.sourceforge.phpeclipse.ui;
 import java.io.IOException;
 import java.net.URL;
 
-import net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType;
-import net.sourceforge.phpeclipse.ui.templates.template.JSContextType;
-import net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType;
-import net.sourceforge.phpeclipse.ui.templates.template.XMLContextType;
+import net.sourceforge.phpeclipse.ui.templates.template.HTMLTemplateContextType;
+import net.sourceforge.phpeclipse.ui.templates.template.JSTemplateContextType;
+import net.sourceforge.phpeclipse.ui.templates.template.SmartyTemplateContextType;
+import net.sourceforge.phpeclipse.ui.templates.template.XMLTemplateContextType;
 
 import org.eclipse.core.resources.IWorkspace;
 import org.eclipse.core.resources.ResourcesPlugin;
@@ -113,10 +113,10 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants {
                if (fRegistry == null) {
                        // create an configure the contexts available in the editor
                        fRegistry = new ContributionContextTypeRegistry();
-                       fRegistry.addContextType(XMLContextType.XML_CONTEXT_TYPE);
-                       fRegistry.addContextType(HTMLContextType.HTML_CONTEXT_TYPE);
-                       fRegistry.addContextType(SmartyContextType.SMARTY_CONTEXT_TYPE);
-                       fRegistry.addContextType(JSContextType.JS_CONTEXT_TYPE);
+                       fRegistry.addContextType(XMLTemplateContextType.XML_CONTEXT_TYPE);
+                       fRegistry.addContextType(HTMLTemplateContextType.HTML_CONTEXT_TYPE);
+                       fRegistry.addContextType(SmartyTemplateContextType.SMARTY_CONTEXT_TYPE);
+                       fRegistry.addContextType(JSTemplateContextType.JS_CONTEXT_TYPE);
                }
                return fRegistry;
        }