public class InsertImageExecutable extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<ImageConfig,com.google.gwt.dom.client.ImageElement>
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable.AbstractConfigJSONSerializer<C>, org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable.ConfigDOMReader<C,E extends com.google.gwt.dom.client.Element>, org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable.ConfigDOMWriter<C,E extends com.google.gwt.dom.client.Element>, org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable.ConfigJSONParser<C>, org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable.ConfigJSONSerializer<C>configDOMReader, configDOMWriter, configJSONParser, configJSONSerializercache, domUtilsrta| Constructor and Description |
|---|
InsertImageExecutable(RichTextArea rta)
Creates a new executable that can be used to insert images in the specified rich text area.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCacheKeyPrefix() |
protected com.google.gwt.dom.client.ImageElement |
getSelectedElement() |
protected com.google.gwt.dom.client.ImageElement |
newElement() |
protected void |
write(ImageConfig config,
com.google.gwt.dom.client.ImageElement image) |
execute, getParameter, isExecutedexecute, insertNodehasValidSelection, isEnabledisSupportedpublic InsertImageExecutable(RichTextArea rta)
rta - the execution targetprotected void write(ImageConfig config, com.google.gwt.dom.client.ImageElement image)
write in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<ImageConfig,com.google.gwt.dom.client.ImageElement>protected String getCacheKeyPrefix()
getCacheKeyPrefix in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<ImageConfig,com.google.gwt.dom.client.ImageElement>protected com.google.gwt.dom.client.ImageElement getSelectedElement()
Gets the image element in the current selection.
getSelectedElement in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<ImageConfig,com.google.gwt.dom.client.ImageElement>AbstractInsertElementExecutable.getSelectedElement()protected com.google.gwt.dom.client.ImageElement newElement()
newElement in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<ImageConfig,com.google.gwt.dom.client.ImageElement>Copyright © 2004–2016 XWiki. All rights reserved.