All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.gwt.test.internal.handlers.CellBasedWidgetImplCreateHandler Maven / Gradle / Ivy

There is a newer version: 0.63
Show newest version
package com.googlecode.gwt.test.internal.handlers;

import com.google.gwt.user.cellview.client.CellBasedWidgetImplStandardBase;
import com.googlecode.gwt.test.GwtCreateHandler;

/**
 * GwtCreateHandler for CellBasedWidgetImpl.
 *
 * @author Gael Lazzari
 */
class CellBasedWidgetImplCreateHandler implements GwtCreateHandler {

    /*
     * (non-Javadoc)
     *
     * @see com.googlecode.gwt.test.GwtCreateHandler#create(java.lang.Class)
     */
    public Object create(Class classLiteral) throws Exception {
        if ("com.google.gwt.user.cellview.client.CellBasedWidgetImpl".equals(classLiteral.getName())) {
            return new CellBasedWidgetImplStandardBase();
        } else {
            return null;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy