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

eu.future.earth.gwt.client.date.UpdateCallBackHandler Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package eu.future.earth.gwt.client.date;

import eu.future.earth.gwt.client.date.DateEvent.DateEventActions;

public class UpdateCallBackHandler extends EeEventCallBackHandler {

	public UpdateCallBackHandler(DatePanel view, T dataBeingEdited) {
		super(view, dataBeingEdited);
	}

	public void onFailure(Throwable caught) {
		sendNotificationEvent(DateEventActions.UPDATE_FAILED, true);
	}

	public void onSuccess(Void result) {
		succes();
	}

	public void succes() {
		super.sendNotificationEvent(DateEventActions.UPDATE_DONE, false);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy