package com.ssdi.test.client;

import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.widgets.IButton;
import com.smartgwt.client.widgets.layout.HLayout;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class TestsmartGwtProject implements EntryPoint {
	
	public void onModuleLoad() {
		HLayout layout=new HLayout();
		layout.setWidth100();
		layout.setBorder("1px solid blue");		
		IButton edit=new IButton();
		edit.setTitle("Edit");
		layout.addMembers(edit);
		edit.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {
			@Override
			public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {
				 FormValidation formValidate = new FormValidation();
				 formValidate.editfunction();
			}
		});
		
		
		layout.draw();
		
	}
	
	
	

}
