generateConstructor(lazyPrinter, lazyPanel+"Class", lazyId);
generateCreateWidgetMethod(lazyPrinter, element, lazyId);
generateFields(lazyPrinter, lazyPanel+"Class");
generateGetResourceMethod(lazyPrinter);
lazyPrinter.commit();
if (factory.getControllerAccessHandler() instanceof SingleControllerAccessHandler)
{
SingleControllerAccessHandler controllerAccessHandler = (SingleControllerAccessHandler) factory.getControllerAccessHandler();
factoryPrinter.println(lazyPanel+"Class " + lazyPanel + " = new "+lazyPanel+"Class("+ViewFactoryCreator.getViewVariable()+", "+controllerAccessHandler.getSingleControllerVariable()+");");