|
||||||||||
| 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.AbstractSelectorWizardStep<D>
com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep<LinkConfig,WikiPage>
com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep
public abstract class AbstractPageListSelectorWizardStep
Wizard step to select the wiki page to link to, from a list of wiki pages.
| Constructor Summary | |
|---|---|
AbstractPageListSelectorWizardStep(ResourceName editedResource)
Builds a selector from a list of pages of the specified page. |
|
| Method Summary | |
|---|---|
protected ListItem<WikiPage> |
getListItem(WikiPage data)
|
protected ListItem<WikiPage> |
getNewOptionListItem()
|
java.lang.String |
getNextStep()
|
protected java.lang.String |
getSelectErrorMessage()
|
protected java.lang.String |
getSelectHelpLabel()
|
protected java.lang.String |
getSelection()
|
java.lang.String |
getStepTitle()
|
protected boolean |
matchesSelection(WikiPage item,
java.lang.String selection)
Compares the current item with the passed string representation of the wizard step's selection. |
protected void |
saveSelectedValue()
Saves the current selection in this panel in the data managed by this wizard step, if all validation goes well on the sumbit time. |
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep |
|---|
addNavigationListener, display, displayError, fetchData, fillList, getErrorLabel, getList, getMainPanel, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, setActive, setNewOptionOnTop |
| Methods inherited from class com.xpn.xwiki.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 AbstractPageListSelectorWizardStep(ResourceName editedResource)
editedResource - the currently edited resource (page for which editing is done)| Method Detail |
|---|
protected java.lang.String getSelectHelpLabel()
getSelectHelpLabel in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>protected java.lang.String getSelectErrorMessage()
getSelectErrorMessage in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>protected java.lang.String getSelection()
getSelection in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>#matchesSelection(AbstractSelectorWizardStep, String) to handle selection preserving upon update
in this step's list.#matchesSelection(AbstractSelectorWizardStep, String)
protected boolean matchesSelection(WikiPage item,
java.lang.String selection)
matchesSelection in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>item - the item to compare with the selectionselection - the unique representation of the step's selection
true if the item matches the selection, false otherwise.AbstractListSelectorWizardStep.getSelection()protected ListItem<WikiPage> getListItem(WikiPage data)
getListItem in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>data - the data to build a list item representation for.
protected ListItem<WikiPage> getNewOptionListItem()
getNewOptionListItem in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>null if no such item
should be appended to the list.public java.lang.String getNextStep()
public java.lang.String getStepTitle()
protected void saveSelectedValue()
saveSelectedValue in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>AbstractListSelectorWizardStep.onSubmit(AsyncCallback)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||