|
||||||||||
| 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
com.xpn.xwiki.wysiwyg.client.plugin.link.ui.SearchSelectorWizardStep
public class SearchSelectorWizardStep
Wizard step to select the wiki page to link to, from the page search results for a keyword.
| Constructor Summary | |
|---|---|
SearchSelectorWizardStep(ResourceName editedResource)
Builds a search selector wizard step for the passed edited resource. |
|
| Method Summary | |
|---|---|
protected void |
fetchData(com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<WikiPage>> callback)
Fetches the list of items to be displayed in this list from the server. |
java.lang.String |
getKeyword()
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
|
void |
setActive()
Notifies this wizard step that it has been activated, when part of an aggregator for example. FIXME: this function should not be here but in it's own decorating interface for aggregated wizard steps or, cleaner, all wizard steps who need to be notified when they're activated should implement Focusable interface and all wizard step handlers (the dialog, the aggregator) should call setFocus(). This is a quick solution to handle tab change in the selector aggregator. |
void |
setKeyword(java.lang.String keyword)
|
void |
setWikiService(WikiServiceAsync wikiService)
Injects the wiki service. |
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep |
|---|
getListItem, getNewOptionListItem, getNextStep, getSelectErrorMessage, getSelectHelpLabel, getSelection, getStepTitle, matchesSelection, saveSelectedValue |
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep |
|---|
addNavigationListener, display, displayError, fillList, getErrorLabel, getList, getMainPanel, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, 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 SearchSelectorWizardStep(ResourceName editedResource)
editedResource - the currently edited resource (page for which editing is done)| Method Detail |
|---|
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerClickHandler.onClick(ClickEvent)protected void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<WikiPage>> callback)
fetchData in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>callback - the callback to notify when the fetching is done.public java.lang.String getKeyword()
public void setKeyword(java.lang.String keyword)
keyword - the keyword to setpublic void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerKeyPressHandler.onKeyPress(KeyPressEvent)public void setActive()
setActive in class AbstractListSelectorWizardStep<LinkConfig,WikiPage>public void setWikiService(WikiServiceAsync wikiService)
wikiService - the service used to search wiki pages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||