public class RefreshExecutable extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable implements com.google.gwt.user.client.rpc.AsyncCallback<Object>
cache, domUtilsrta| Constructor and Description |
|---|
RefreshExecutable(RichTextArea rta,
String url)
Creates a new executable that can be used to refresh the specified rich text area.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(String param) |
void |
onFailure(Throwable caught) |
void |
onSuccess(Object result) |
getParameter, hasValidSelection, isEnabled, isExecutedisSupportedpublic RefreshExecutable(RichTextArea rta, String url)
Reloader to
submit the content of the rich text area to the given URL and then use the response to reset the content of the
rich text area.rta - the execution targeturl - the URL to take the content frompublic boolean execute(String param)
execute in interface Executablepublic void onFailure(Throwable caught)
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<Object>Copyright © 2004–2016 XWiki. All rights reserved.