com.emitrom.gwt4.touch2.demo.client.activity.KitchenSinkActivity.java Source code

Java tutorial

Introduction

Here is the source code for com.emitrom.gwt4.touch2.demo.client.activity.KitchenSinkActivity.java

Source

/*******************************************************************************
 * KitchenSinkActivity.java is part of the Kitchen Sink (for Touch4j 2.2)
 * 
 * Copyright (c) 2012 Emitrom LLC. All rights reserved.
 *
 * The Kitchen Sink is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * The Kitchen Sink is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with the Kitchen Sink.  If not, see http://www.emitrom.com/gpl_license
 *  
 * For licensing questions, please contact us at licensing@emitrom.com
 *
 ******************************************************************************/
package com.emitrom.gwt4.touch2.demo.client.activity;

import com.emitrom.gwt4.touch2.demo.client.core.ClientFactory;
import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.place.shared.Place;

public abstract class KitchenSinkActivity extends AbstractActivity {

    protected ClientFactory clientFactory;

    public void goTo(Place place) {
        clientFactory.getPlaceController().goTo(place);
    }
}