|
||||||||||
| 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.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 |
onFinish(Wizard sender,
java.lang.Object result)
|
void |
onImportOfficeFile()
Method invoked by ImportMenuExtension when "Import -> Office File" menu item is clicked. |
void |
onImportOfficePaste()
Method invoked by ImportMenuExtension when "Import -> Office Content" menu item is clicked. |
| Methods inherited from class com.xpn.xwiki.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 com.xpn.xwiki.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 onImportOfficePaste()
ImportMenuExtension when "Import -> Office Content" 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 com.xpn.xwiki.wysiwyg.client.plugin.internal.AbstractPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||