1 13 package info.magnolia.module.admininterface; 14 15 import info.magnolia.cms.gui.controlx.RenderKitFactory; 16 import info.magnolia.cms.module.RegisterException; 17 18 import org.slf4j.Logger; 19 import org.slf4j.LoggerFactory; 20 21 22 27 public class Engine extends AbstractAdminModule { 28 29 32 protected static Logger log = LoggerFactory.getLogger(Engine.class); 33 34 37 public void onInit() { 38 Store store = Store.getInstance(); 40 store.setStore(this.getConfigNode()); 41 42 RenderKitFactory.registerRenderKit(RenderKitFactory.ADMIN_INTERFACE_RENDER_KIT, new AdminInterfaceRenderKit()); 44 } 45 46 49 protected void onRegister(int registerState) throws RegisterException { 50 } 52 53 } | Popular Tags |