|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractFileUploadWizardStep
com.xpn.xwiki.wysiwyg.client.plugin.importer.ui.ImportOfficeFileWizardStep
public class ImportOfficeFileWizardStep
Wizard step responsible for importing the content of an office document into the wysiwyg editor.
| Field Summary |
|---|
| Fields inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractFileUploadWizardStep |
|---|
FIELD_ERROR_STYLE |
| Constructor Summary | |
|---|---|
ImportOfficeFileWizardStep(Config config,
ImportServiceAsync importService)
Instantiates the office document import wizard step. |
|
| Method Summary | |
|---|---|
com.google.gwt.user.client.ui.Widget |
display()
|
java.lang.String |
getDirectionName(NavigationListener.NavigationDirection direction)
|
protected java.lang.String |
getFileHelpLabel()
|
protected java.util.Map<java.lang.String,java.lang.String> |
getHTMLCleaningParams()
Prepares the cleaning parameters map. |
java.lang.String |
getNextStep()
|
protected java.lang.String |
getPage()
|
java.lang.Object |
getResult()
|
protected java.lang.String |
getSpace()
|
java.lang.String |
getStepTitle()
|
java.util.EnumSet<NavigationListener.NavigationDirection> |
getValidDirections()
|
protected java.lang.String |
getWiki()
|
protected void |
onAttachmentUploaded(Attachment attach,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)
Notifies the successful completion of a file upload, to be overridden by subclasses to provide specific behavior. |
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractFileUploadWizardStep |
|---|
displayError, extractFileName, getFileLabel, getFileUploadInput, getFileUploadInputName, getMainPanel, getUploadURL, hideError, init, onCancel, onSubmit, onSubmitComplete, setWikiService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportOfficeFileWizardStep(Config config,
ImportServiceAsync importService)
config - the object used to configure this wizard stepimportService - the component used to import office documents| Method Detail |
|---|
public com.google.gwt.user.client.ui.Widget display()
display in interface WizardStepdisplay in class AbstractFileUploadWizardStepprotected java.lang.String getPage()
getPage in class AbstractFileUploadWizardStepprotected java.lang.String getSpace()
getSpace in class AbstractFileUploadWizardStepprotected java.lang.String getWiki()
getWiki in class AbstractFileUploadWizardStepprotected java.lang.String getFileHelpLabel()
getFileHelpLabel in class AbstractFileUploadWizardStep
protected void onAttachmentUploaded(Attachment attach,
com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)
onAttachmentUploaded in class AbstractFileUploadWizardStepattach - the successfully uploaded attachmentasync - the call-back used to indicate the completion of this method. It's required that the sub-classes
invoke async.onSuccess(true); method once they are done with processing the attachment. Without this
method being invoked, the submission of this wizard step will not complete.public java.lang.Object getResult()
public java.lang.String getNextStep()
public java.lang.String getDirectionName(NavigationListener.NavigationDirection direction)
getDirectionName in interface WizardStepgetDirectionName in class AbstractFileUploadWizardSteppublic java.lang.String getStepTitle()
getStepTitle in interface WizardStepgetStepTitle in class AbstractFileUploadWizardSteppublic java.util.EnumSet<NavigationListener.NavigationDirection> getValidDirections()
getValidDirections in interface WizardStepgetValidDirections in class AbstractFileUploadWizardStepprotected java.util.Map<java.lang.String,java.lang.String> getHTMLCleaningParams()
Map with cleaning parameters for office importer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||