|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<D>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep<EntityLink<C>,E>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntityListSelectorWizardStep<LinkConfig,Attachment>
org.xwiki.gwt.wysiwyg.client.plugin.link.ui.CurrentPageAttachmentSelectorWizardStep
public class CurrentPageAttachmentSelectorWizardStep
Wizard step to select a file attached to a page.
| Constructor Summary | |
|---|---|
CurrentPageAttachmentSelectorWizardStep(WikiServiceAsync wikiService)
Builds a selector from the attachments of the link origin page. |
|
| Method Summary | |
|---|---|
protected void |
fetchData(com.google.gwt.user.client.rpc.AsyncCallback<java.util.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()
|
java.lang.String |
getNextStep()
|
protected java.lang.String |
getSelectErrorMessage()
|
protected java.lang.String |
getSelectHelpLabel()
|
java.lang.String |
getStepTitle()
|
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntityListSelectorWizardStep |
|---|
getWikiService, isSelectedByDefault, saveSelectedValue |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep |
|---|
addNavigationListener, display, displayError, fillList, getErrorLabel, getList, getMainPanel, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, setActive, setNewOptionOnTop |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep |
|---|
getData, getDirectionName, getResult, getValidDirections, initializeSelection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CurrentPageAttachmentSelectorWizardStep(WikiServiceAsync wikiService)
wikiService - the service used to retrieve the attachments of the current page| Method Detail |
|---|
protected java.lang.String getSelectHelpLabel()
getSelectHelpLabel in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>protected java.lang.String getSelectErrorMessage()
getSelectErrorMessage in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,Attachment>protected void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<java.util.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 java.lang.String getNextStep()
public java.lang.String getStepTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||