|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
org.xwiki.gwt.wysiwyg.client.plugin.image.ImagePlugin
public class ImagePlugin
Rich text editor plug-in for inserting images, using a dialog to get image data settings from the user. It installs one button in the toolbar, to be used for both insert and edit image actions.
| Constructor Summary | |
|---|---|
ImagePlugin(WikiServiceAsync wikiService)
Create a new image plugin that used the specified wiki service. |
|
| Method Summary | |
|---|---|
void |
destroy()
|
void |
init(RichTextArea textArea,
Config config)
|
void |
onAttachedImage()
Start the insert attached image wizard. |
void |
onCancel(Wizard sender)
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
onFinish(Wizard sender,
Object result)
|
void |
onImage()
Function to handle the image event, when the tool bar button is clicked or the menu command is issued: either create a new image, or edit an existing image. |
void |
onImageEdit()
Start the edit image wizard. |
void |
onImageRemove()
Removes the selection if the insert image command is executed. |
void |
onURLImage()
Start the insert external image wizard. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin |
|---|
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagePlugin(WikiServiceAsync wikiService)
wikiService - the service used to access the wiki| Method Detail |
|---|
public void init(RichTextArea textArea,
Config config)
init in interface Plugininit in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginAbstractPlugin#init(XRichTextArea, Config)public void destroy()
destroy in interface Plugindestroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginAbstractPlugin.destroy()public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerClickHandler.onClick(ClickEvent)public void onImage()
public void onImageEdit()
public void onAttachedImage()
public void onURLImage()
public void onImageRemove()
public void onFinish(Wizard sender,
Object result)
onFinish in interface WizardListenerpublic void onCancel(Wizard sender)
onCancel in interface WizardListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||