public class ImportPlugin extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin implements WizardListener, com.google.gwt.event.dom.client.ClickHandler
| Constructor and Description |
|---|
ImportPlugin(ImportServiceAsync importService,
WikiServiceAsync wikiService)
Creates a new import plug-in that used the given import service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init(RichTextArea textArea,
Config config) |
void |
onCancel(Wizard sender) |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onFinish(Wizard sender,
Object result) |
void |
onImportOfficeFile()
Method invoked by
ImportMenuExtension when "Import -> Office File" menu item is clicked. |
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrationspublic 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 attachmentspublic void init(RichTextArea textArea, Config config)
init in interface Plugininit in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginpublic void onImportOfficeFile()
ImportMenuExtension when "Import -> Office File" menu item is clicked.public void onCancel(Wizard sender)
onCancel in interface WizardListenerpublic void onFinish(Wizard sender, 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)Copyright © 2004–2015 XWiki. All rights reserved.