protected void validateVariables(TemplateVariable[] variables)
throws TemplateException {
ArrayList required = new ArrayList(5);
- String contextName = getId();
+ //String contextName = getId();
// if (NEWTYPE_CONTEXTTYPE.equals(contextName)) {
// required.add(PACKAGE_DECLARATION);
// required.add(TYPE_DECLARATION);
*
* @see net.sourceforge.phpdt.internal.corext.template.ContextType#createContext()
*/
- public TemplateContext createContext() {
- return null;
- }
+// public TemplateContext createContext() {
+// return null;
+// }
public static void registerContextTypes(ContextTypeRegistry registry) {
registry.addContextType(new CodeTemplateContextType(