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

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

The 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