package de.mwea.sgwt25.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.smartgwt.client.data.DataSource;
import com.smartgwt.client.widgets.form.fields.SelectItem;
import com.smartgwt.client.widgets.toolbar.ToolStrip;

public class Sgwt25_checks implements EntryPoint {
	
	public void onModuleLoad() {
	
		final ToolStrip ts = new ToolStrip();
		
		// Filter Selection
		final SelectItem selectFilter = new SelectItem("COL_NAME","");
		selectFilter.setAllowEmptyValue(true);
		selectFilter.setEmptyDisplayValue("--- Nothing selected ---");
		selectFilter.setOptionDataSource(DataSource.get("CLOB_DS"));
		ts.addFormItem(selectFilter);
	
		RootPanel.get().add(ts);
	}
}
