// Path: webwozwizard/src/com/webwoz/wizard/client/ComponentFactory.java
// @RemoteServiceRelativePath("componentFactory")
// public interface ComponentFactory extends RemoteService {
// 
// 	void pushComponents(int[][] components, int expid, String path,
// 			String ssLang, String mtsrc, String mttrg, String mtosrc,
// 			String mtotrg, String asrl, int wiz);
// 
// 	String pushOutput(String output, int user, String mode);
// 
// 	Vector<String> getInput(String input, String uttid, String mode);
// 
// 	void clearComponents();
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/ComponentFactoryAsync.java
// public interface ComponentFactoryAsync {
// 
// 	void clearComponents(AsyncCallback<Void> callback);
// 
// 	void pushComponents(int[][] components, int expid, String path,
// 			String ssLang, String mtsrc, String mttrg, String mtosrc,
// 			String mtotrg, String asrl, int wiz, AsyncCallback<Void> callback);
// 
// 	void pushOutput(String output, int user, String mode,
// 			AsyncCallback<String> callback);
// 
// 	void getInput(String input, String uttid, String mode,
// 			AsyncCallback<Vector<String>> callback);
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccess.java
// @RemoteServiceRelativePath("databaseAccess")
// public interface DatabaseAccess extends RemoteService {
// 
// 	String storeData(String sql);
// 
// 	String[][] retrieveData(String sql);
// 
// 	String getTimeStamp();
// 
// 	void closeConnection();
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccessAsync.java
// public interface DatabaseAccessAsync {
// 
// 	void storeData(String sql, AsyncCallback<String> callback);
// 
// 	void retrieveData(String sql, AsyncCallback<String[][]> callback);
// 
// 	void getTimeStamp(AsyncCallback<String> callback);
// 
// 	void closeConnection(AsyncCallback<Void> callback);
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/Screen.java
// public interface Screen {
// 	VerticalPanel getScreen();
// 
// 	void stopReload();
// 
// 	void changeVisibility();
// 
// }


import java.util.Date;
import java.util.Vector;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.KeyPressHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.RadioButton;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.webwoz.wizard.client.ComponentFactory;
import com.webwoz.wizard.client.ComponentFactoryAsync;
import com.webwoz.wizard.client.DatabaseAccess;
import com.webwoz.wizard.client.DatabaseAccessAsync;
import com.webwoz.wizard.client.Screen;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
		addDomainDataButton = new Button("Add Domain Data");
		addFilterButton = new Button("Add Filter");
		saveNotesButton = new Button("Save");
		editFilterSaveButton = new Button("Save Changes");
		editFilterDeleteButton = new Button("Delete Filter");
		printReportButton = new Button("Print Report");
		exportReportButton = new Button("Export Report");
		exportNotesButton = new Button("Export Notes");
		changeUttDomainEditButton = new Button("Save Changes");
		addUttDomainEditButton = new Button("Add Utterance");
		cancelUttDomainEditButton = new Button("Close");
		deleteUttDomainEditButton = new Button("Delete Utterance");
		cancelEditSlotPopUpButton = new Button("Close");
		editFilterAddSlotButton = new Button("Add Filter Value");
		cancelAddSlotPopUpButton = new Button("Close");
		addFilterSaveButton = new Button("Add Filter");
		addFilterValueButton = new Button("Add Value");
		sendFreeTextButton = new Button("Send");
		addFreeTextButton = new Button("Add Free Text Element");
		closeFreeTextButton = new Button("Close");
		editFreeTextButton = new Button("Save Changes");
		deleteFreeTextButton = new Button("Delete Element");

		// HTML
		reportTable = new HTML();
		reportHeadingTable = new HTML();
		statusHtml = new HTML();
		loggedInHtml = new HTML();

		// RPC
// Path: webwozwizard/src/com/webwoz/wizard/client/ComponentFactory.java
// @RemoteServiceRelativePath("componentFactory")
// public interface ComponentFactory extends RemoteService {
// 
// 	void pushComponents(int[][] components, int expid, String path,
// 			String ssLang, String mtsrc, String mttrg, String mtosrc,
// 			String mtotrg, String asrl, int wiz);
// 
// 	String pushOutput(String output, int user, String mode);
// 
// 	Vector<String> getInput(String input, String uttid, String mode);
// 
// 	void clearComponents();
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/ComponentFactoryAsync.java
// public interface ComponentFactoryAsync {
// 
// 	void clearComponents(AsyncCallback<Void> callback);
// 
// 	void pushComponents(int[][] components, int expid, String path,
// 			String ssLang, String mtsrc, String mttrg, String mtosrc,
// 			String mtotrg, String asrl, int wiz, AsyncCallback<Void> callback);
// 
// 	void pushOutput(String output, int user, String mode,
// 			AsyncCallback<String> callback);
// 
// 	void getInput(String input, String uttid, String mode,
// 			AsyncCallback<Vector<String>> callback);
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccess.java
// @RemoteServiceRelativePath("databaseAccess")
// public interface DatabaseAccess extends RemoteService {
// 
// 	String storeData(String sql);
// 
// 	String[][] retrieveData(String sql);
// 
// 	String getTimeStamp();
// 
// 	void closeConnection();
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/DatabaseAccessAsync.java
// public interface DatabaseAccessAsync {
// 
// 	void storeData(String sql, AsyncCallback<String> callback);
// 
// 	void retrieveData(String sql, AsyncCallback<String[][]> callback);
// 
// 	void getTimeStamp(AsyncCallback<String> callback);
// 
// 	void closeConnection(AsyncCallback<Void> callback);
// 
// }
// 
// Path: webwozwizard/src/com/webwoz/wizard/client/Screen.java
// public interface Screen {
// 	VerticalPanel getScreen();
// 
// 	void stopReload();
// 
// 	void changeVisibility();
// 
// }


// Path: webwozwizard/src/com/webwoz/wizard/client/wizardlayouts/DefaultWizardScreen.java
import java.util.Date;
import java.util.Vector;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.KeyCodes;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.google.gwt.event.dom.client.KeyPressHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.RadioButton;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.webwoz.wizard.client.ComponentFactory;
import com.webwoz.wizard.client.ComponentFactoryAsync;
import com.webwoz.wizard.client.DatabaseAccess;
import com.webwoz.wizard.client.DatabaseAccessAsync;
import com.webwoz.wizard.client.Screen;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;

		addDomainDataButton = new Button("Add Domain Data");
		addFilterButton = new Button("Add Filter");
		saveNotesButton = new Button("Save");
		editFilterSaveButton = new Button("Save Changes");
		editFilterDeleteButton = new Button("Delete Filter");
		printReportButton = new Button("Print Report");
		exportReportButton = new Button("Export Report");
		exportNotesButton = new Button("Export Notes");
		changeUttDomainEditButton = new Button("Save Changes");
		addUttDomainEditButton = new Button("Add Utterance");
		cancelUttDomainEditButton = new Button("Close");
		deleteUttDomainEditButton = new Button("Delete Utterance");
		cancelEditSlotPopUpButton = new Button("Close");
		editFilterAddSlotButton = new Button("Add Filter Value");
		cancelAddSlotPopUpButton = new Button("Close");
		addFilterSaveButton = new Button("Add Filter");
		addFilterValueButton = new Button("Add Value");
		sendFreeTextButton = new Button("Send");
		addFreeTextButton = new Button("Add Free Text Element");
		closeFreeTextButton = new Button("Close");
		editFreeTextButton = new Button("Save Changes");
		deleteFreeTextButton = new Button("Delete Element");

		// HTML
		reportTable = new HTML();
		reportHeadingTable = new HTML();
		statusHtml = new HTML();
		loggedInHtml = new HTML();

		// RPC
		databaseAccessSvc = GWT.create(DatabaseAccess.class);