List of usage examples for com.google.gwt.event.shared HasHandlers fireEvent
void fireEvent(GwtEvent<?> event);
From source file:cc.kune.chat.client.ToggleShowChatDialogEvent.java
License:GNU Affero Public License
/** * Fire./*from w ww . jav a 2 s. c o m*/ * * @param source the source * @param show the show */ public static void fire(final HasHandlers source, final boolean show) { source.fireEvent(new ToggleShowChatDialogEvent()); }
From source file:cc.kune.common.client.notify.ConfirmAskEvent.java
License:GNU Affero Public License
/** * Fire./*w w w.j a v a 2s . c o m*/ * * @param source * the source * @param title * the title * @param message * the message * @param acceptBtnMsg * the accept btn msg * @param cancelBtnMsg * the cancel btn msg * @param acceptBtnTooltip * the accept btn tooltip * @param cancelBtnTooltip * the cancel btn tooltip * @param callback * the callback */ public static void fire(final HasHandlers source, final java.lang.String title, final java.lang.String message, final java.lang.String acceptBtnMsg, final java.lang.String cancelBtnMsg, final java.lang.String acceptBtnTooltip, final java.lang.String cancelBtnTooltip, final cc.kune.common.shared.utils.SimpleResponseCallback callback) { source.fireEvent(new ConfirmAskEvent(title, message, acceptBtnMsg, cancelBtnMsg, acceptBtnTooltip, cancelBtnTooltip, callback)); }
From source file:cc.kune.common.client.notify.ProgressHideEvent.java
License:GNU Affero Public License
/** * Fire.//from w ww . j a v a2s.co m * * @param source the source */ public static void fire(final HasHandlers source) { source.fireEvent(new ProgressHideEvent()); }
From source file:cc.kune.common.client.notify.ProgressShowEvent.java
License:GNU Affero Public License
/** * Fire.// ww w .ja va 2 s.com * * @param source the source * @param message the message */ public static void fire(final HasHandlers source, final java.lang.String message) { source.fireEvent(new ProgressShowEvent(message)); }
From source file:cc.kune.common.client.notify.UserNotifyEvent.java
License:GNU Affero Public License
/** * Fire.//from w w w . ja va2s .c o m * * @param source * the source * @param level * the level * @param message * the message */ public static void fire(final HasHandlers source, final NotifyLevel level, final java.lang.String message) { source.fireEvent(new UserNotifyEvent(level, "", message)); }
From source file:cc.kune.common.client.notify.UserNotifyEvent.java
License:GNU Affero Public License
/** * Fire.//from w w w. j ava 2s.c o m * * @param source * the source * @param level * the level * @param message * the message * @param closeable * the closeable */ public static void fire(final HasHandlers source, final NotifyLevel level, final java.lang.String message, final Boolean closeable) { source.fireEvent(new UserNotifyEvent(level, "", message, closeable)); }
From source file:cc.kune.common.client.notify.UserNotifyEvent.java
License:GNU Affero Public License
/** * Fire.//from w ww . j ava2 s .c om * * @param source * the source * @param level * the level * @param title * the title * @param message * the message */ public static void fire(final HasHandlers source, final NotifyLevel level, final java.lang.String title, final java.lang.String message) { source.fireEvent(new UserNotifyEvent(level, title, message)); }
From source file:cc.kune.common.client.ui.UploadFinishedEvent.java
License:GNU Affero Public License
public static void fire(final HasHandlers source, final cc.kune.common.shared.ui.UploadFile file) { final UploadFinishedEvent eventInstance = new UploadFinishedEvent(file); source.fireEvent(eventInstance); }
From source file:cc.kune.common.client.ui.UploadFinishedEvent.java
License:GNU Affero Public License
public static void fire(final HasHandlers source, final UploadFinishedEvent eventInstance) { source.fireEvent(eventInstance); }
From source file:cc.kune.core.client.events.AppStartEvent.java
License:GNU Affero Public License
/** * Fire./* w w w .ja v a 2 s.co m*/ * * @param source * the source * @param initData * the init data */ public static void fire(final HasHandlers source, final cc.kune.core.shared.dto.InitDataDTO initData) { source.fireEvent(new AppStartEvent(initData)); }