|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.wysiwyg.client.plugin.internal.AbstractPlugin
com.xpn.xwiki.wysiwyg.client.plugin.sync.SyncPlugin
public class SyncPlugin
| Constructor Summary | |
|---|---|
SyncPlugin()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor. |
void |
init(Wysiwyg wysiwyg,
XRichTextArea textArea,
Config config)
Initialize the plug-in. |
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
|
void |
onElapsed(Timer sender)
Called whenever the delay period of the timer elapses. |
void |
onFailure(java.lang.Throwable caught)
|
void |
onSuccess(SyncResult result)
|
void |
onSync()
|
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.internal.AbstractPlugin |
|---|
getConfig, getTextArea, getUIExtensionList, getUIExtensions, getWysiwyg |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncPlugin()
| Method Detail |
|---|
public void init(Wysiwyg wysiwyg,
XRichTextArea textArea,
Config config)
init in interface Plugininit in class AbstractPluginwysiwyg - The WYSIWYG application context.textArea - The text area of the editor.config - The configuration.AbstractPlugin.init(Wysiwyg, XRichTextArea, Config)public void destroy()
destroy in interface Plugindestroy in class AbstractPluginAbstractPlugin.destroy()public void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick in interface com.google.gwt.user.client.ui.ClickListenerClickListener.onClick(Widget)public void onElapsed(Timer sender)
onElapsed in interface TimerListenersender - The timer whose delay period elapsed. The listener should be registered to this timer.TimerListener.onElapsed(Timer)public void onSync()
public void onFailure(java.lang.Throwable caught)
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<SyncResult>AsyncCallback.onFailure(Throwable)public void onSuccess(SyncResult result)
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<SyncResult>AsyncCallback.onSuccess(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||