public class CurrentPageAttachmentSelectorWizardStep extends AbstractEntityListSelectorWizardStep<LinkConfig,Attachment>
| Constructor and Description |
|---|
CurrentPageAttachmentSelectorWizardStep(WikiServiceAsync wikiService)
Builds a selector from the attachments of the link origin page.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fetchData(com.google.gwt.user.client.rpc.AsyncCallback<List<Attachment>> callback)
Fetches the list of items to be displayed in this list from the server.
|
protected ListItem<Attachment> |
getListItem(Attachment data) |
protected ListItem<Attachment> |
getNewOptionListItem() |
String |
getNextStep() |
protected String |
getSelectErrorMessage() |
protected String |
getSelectHelpLabel() |
isSelectedByDefault, saveSelectedValueaddNavigationListener, display, displayError, fillList, getErrorLabel, getList, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, setActive, setNewOptionOnTopgetData, getResult, initializeSelectiongetStepTitle, isAutoSubmit, setStepTitlegetDirectionName, getValidDirections, setDirectionName, setNextStep, setValidDirectionspublic CurrentPageAttachmentSelectorWizardStep(WikiServiceAsync wikiService)
wikiService - the service used to retrieve the attachments of the current pageprotected String getSelectHelpLabel()
getSelectHelpLabel in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>protected String getSelectErrorMessage()
getSelectErrorMessage in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>protected void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<List<Attachment>> callback)
fetchData in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>callback - the callback to notify when the fetching is done.protected ListItem<Attachment> getListItem(Attachment data)
getListItem in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>data - the data to build a list item representation for.protected ListItem<Attachment> getNewOptionListItem()
getNewOptionListItem in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>null if no such item
should be appended to the list.public String getNextStep()
getNextStep in interface WizardStepgetNextStep in class AbstractNavigationAwareWizardStepCopyright © 2004–2015 XWiki. All rights reserved.