Package org.cruxframework.crux.core.rebind.controller

Examples of org.cruxframework.crux.core.rebind.controller.ControllerProxyCreator


   *
   * @param srcWriter
   */
  protected void createController(SourcePrinter srcWriter, String viewVariable)
  {
    String genClass = new ControllerProxyCreator(logger, context, controllerClass).create();
    srcWriter.println("this._controller = new "+genClass+"("+viewVariable+");");
    srcWriter.println("(("+DeviceAdaptiveController.class.getCanonicalName()+")this._controller).setBoundWidget(this);");
    IocContainerRebind.injectFieldsAndMethods(srcWriter, controllerClass, "this._controller", viewVariable+".getTypedIocContainer()", view, device);
  }
View Full Code Here

TOP

Related Classes of org.cruxframework.crux.core.rebind.controller.ControllerProxyCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.