|
||||||||||
| 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.image.ui.ImageUploadWizardStep
public class ImageUploadWizardStep
Specialized wizard step to upload an image.
| Field Summary |
|---|
| Fields inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractFileUploadWizardStep |
|---|
FIELD_ERROR_STYLE |
| Constructor Summary | |
|---|---|
ImageUploadWizardStep(ResourceName editedResource)
Builds an image upload wizard step for the currently edited resource. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getFileHelpLabel()
|
java.lang.String |
getNextStep()
|
protected java.lang.String |
getPage()
|
java.lang.Object |
getResult()
|
protected java.lang.String |
getSpace()
|
protected java.lang.String |
getWiki()
|
void |
init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
|
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 |
|---|
display, displayError, extractFileName, getDirectionName, getFileLabel, getFileUploadInput, getFileUploadInputName, getMainPanel, getStepTitle, getUploadURL, getValidDirections, hideError, 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 ImageUploadWizardStep(ResourceName editedResource)
editedResource - the resource currently edited by this wizard step, i.e. the currently edited wiki document| Method Detail |
|---|
protected java.lang.String getPage()
getPage in class AbstractFileUploadWizardStepprotected java.lang.String getSpace()
getSpace in class AbstractFileUploadWizardStepprotected java.lang.String getWiki()
getWiki 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.protected java.lang.String getFileHelpLabel()
getFileHelpLabel in class AbstractFileUploadWizardSteppublic java.lang.String getNextStep()
public java.lang.Object getResult()
public void init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
init in interface WizardStepinit in class AbstractFileUploadWizardStep
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||