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

cn.mapway.ui.client.modules.test.NoSubModule Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package cn.mapway.ui.client.modules.test;

import cn.mapway.ui.client.frames.AbstractModule;
import cn.mapway.ui.client.mvc.ModuleMarker;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Widget;

/**
 * The type No sub module.
 */
@ModuleMarker(value = NoSubModule.MODULE_CODE, group = "/测试", name = "没有子模块")
public class NoSubModule extends AbstractModule {

    /**
     * The constant MODULE_CODE.
     */
    public final static String MODULE_CODE = "MC_NO_SUB";

    private static NoSubModuleUiBinder uiBinder = GWT.create(NoSubModuleUiBinder.class);

    /**
     * The interface No sub module ui binder.
     */
    interface NoSubModuleUiBinder extends UiBinder {
    }

    /**
     * Instantiates a new No sub module.
     */
    public NoSubModule() {
        initModuleWidget(uiBinder.createAndBindUi(this));
        updateTools(tools);
    }


    /**
     * The Tools.
     */
    @UiField
    HorizontalPanel tools;

    @Override
    public String getModuleCode() {
        return MODULE_CODE;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy