/** * */ package name.webdizz.clt.crx.client.presenter; import name.webdizz.clt.crx.client.Alert; import com.mvp4g.client.annotation.Presenter; import com.mvp4g.client.event.EventBus; import com.mvp4g.client.presenter.BasePresenter; /** * @author Izzet_Mustafayev * */ @Presenter(view = MonitorPresenter.MonitorPresenterView.class) public class MonitorPresenter extends BasePresenter<MonitorPresenter.IMonitorPresenterView, EventBus> { interface IMonitorPresenterView { } public static class MonitorPresenterView implements IMonitorPresenterView { } public void onError(String message) { //Alert.info("Error: " + message); } public void onInfo(String message) { //Alert.info("Info: " + message); } public void onTrace(String message) { //Alert.info("Trace: " + message); } }