/* * Isomorphic SmartGWT web presentation layer * Copyright 2000 and beyond Isomorphic Software, Inc. * * OWNERSHIP NOTICE * Isomorphic Software owns and reserves all rights not expressly granted in this source code, * including all intellectual property rights to the structure, sequence, and format of this code * and to all designs, interfaces, algorithms, schema, protocols, and inventions expressed herein. * * If you have any questions, please email
. * * This entire comment must accompany any portion of Isomorphic Software source code that is * copied or moved from this file. */ package com.smartgwt.sample.showcase.client.componentXML; import com.google.gwt.core.client.GWT; import com.smartgwt.client.bean.BeanFactory; import com.smartgwt.client.rpc.LoadScreenCallback; import com.smartgwt.client.rpc.RPCManager; import com.smartgwt.client.rpc.RPCResponse; import com.smartgwt.client.widgets.Canvas; import java.util.Map; import com.google.gwt.core.client.EntryPoint; public class CustomComponents implements EntryPoint { public interface MyMetaFactory extends BeanFactory.MetaFactory{ BeanFactory
getMyListGridFactory(); } @Override public void onModuleLoad() { GWT.create(MyMetaFactory.class); final Canvas layout = new Canvas(); RPCManager.loadScreen("customComponents", new LoadScreenCallback() { @Override public void execute() { layout.addChild(this.getScreen()); } }); layout.draw(); } }