/* * 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.tour; import com.smartgwt.client.util.tour.Tour; import com.smartgwt.client.util.workflow.Process; import com.smartgwt.client.callbacks.ProcessCallback; import com.smartgwt.client.widgets.Button; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.events.ClickEvent; import com.smartgwt.client.widgets.events.ClickHandler; import com.google.gwt.core.client.EntryPoint; public class ProductTour implements EntryPoint { @Override public void onModuleLoad() { Button launchButton = new Button("Start Tour"); launchButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { Tour.loadTour("productTour", new ProcessCallback() { @Override public void execute(Process process) { process.start(); } }); } }); launchButton.draw(); } }