|
||||||||||
| 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.importer.ImportPlugin
public class ImportPlugin
Plugin responsible for importing external content into wysiwyg editor.
| Constructor Summary | |
|---|---|
ImportPlugin(ImportServiceAsync importService,
WikiServiceAsync wikiService)
Creates a new import plug-in that used the given import service. |
|
| Method Summary | |
|---|---|
void |
destroy()
Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor. |
void |
init(RichTextArea textArea,
Config config)
Initialize the plug-in. |
void |
onCancel(Wizard sender)
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
onFinish(Wizard sender,
java.lang.Object result)
|
void |
onImportOfficeFile()
Method invoked by ImportMenuExtension when "Import -> Office File" menu item is clicked. |
| 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 ImportPlugin(ImportServiceAsync importService,
WikiServiceAsync wikiService)
importService - the component used to clean content pasted from office documents and to import office
documentswikiService - the component used to access the import attachments| Method Detail |
|---|
public void init(RichTextArea textArea,
Config config)
init in interface Plugininit in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugintextArea - the text area of the editorconfig - the configuration objectpublic void onImportOfficeFile()
ImportMenuExtension when "Import -> Office File" menu item is clicked.
public void onCancel(Wizard sender)
onCancel in interface WizardListener
public void onFinish(Wizard sender,
java.lang.Object result)
onFinish in interface WizardListenerpublic void destroy()
destroy in interface Plugindestroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerClickHandler.onClick(ClickEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||