|
||||||||||
| 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<ImageConfig>
com.xpn.xwiki.wysiwyg.client.plugin.image.ui.ImagesExplorerWizardStep
public class ImagesExplorerWizardStep
Wizard step to explore and select images from all the pages in the wiki.
| Constructor Summary | |
|---|---|
ImagesExplorerWizardStep(ResourceName editedResource,
boolean displayWikiSelector,
WikiServiceAsync wikiService)
Builds an image explorer with the default selection on the passed resource. |
|
| Method Summary | |
|---|---|
void |
addNavigationListener(NavigationListener listener)
|
com.google.gwt.user.client.ui.Widget |
display()
|
java.lang.String |
getNextStep()
|
java.lang.String |
getStepTitle()
|
protected void |
initCurrentPage(ResourceName resource,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
Initializes and displays the page selector panel for the currently selected resource. |
protected void |
initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
Initializes the selection on AbstractSelectorWizardStep.init(Object, AsyncCallback) time. |
void |
onCancel()
|
void |
onChange(com.google.gwt.event.dom.client.ChangeEvent event)
|
void |
onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)
|
void |
removeNavigationListener(NavigationListener listener)
|
void |
setActive()
Notifies this wizard step that it has been activated, when part of an aggregator for example. |
void |
setSelection(java.lang.String wiki,
java.lang.String space,
java.lang.String page,
java.lang.String fileName,
boolean forceRefresh,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
Sets the selection to the specified wiki, space and page and reloads the images panel. |
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep |
|---|
getData, getDirectionName, getResult, getValidDirections, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagesExplorerWizardStep(ResourceName editedResource,
boolean displayWikiSelector,
WikiServiceAsync wikiService)
editedResource - the resource edited by the wizard in which this wizard step appears (the page currently
edited with the wysiwyg)displayWikiSelector - whether this explorer should show the selector to choose an image from a different
wiki or notwikiService - the service used to access the wiki| Method Detail |
|---|
public void setSelection(java.lang.String wiki,
java.lang.String space,
java.lang.String page,
java.lang.String fileName,
boolean forceRefresh,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
wiki - the wiki to set the selection tospace - the space to set the selection onpage - the page to set the selection onfileName - the filename of the image to set as currently selected imageforceRefresh - if a refresh should be forced on the list of wikis, spaces, pages in the list boxescb - callback to handle asynchronous fill of the wiki, space, page list boxespublic void onChange(com.google.gwt.event.dom.client.ChangeEvent event)
onChange in interface com.google.gwt.event.dom.client.ChangeHandlerChangeHandler.onChange(ChangeEvent)
protected void initCurrentPage(ResourceName resource,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
resource - the resource to display the selector panel forcb - the callback to handle asynchronous initializationpublic com.google.gwt.user.client.ui.Widget display()
display in interface WizardSteppublic java.lang.String getNextStep()
getNextStep in interface WizardSteppublic java.lang.String getStepTitle()
getStepTitle in interface WizardStepprotected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
AbstractSelectorWizardStep.init(Object, AsyncCallback) time.
initializeSelection in class AbstractSelectorWizardStep<ImageConfig>cb - the initialization callback, to handle asynchronous initialization.public void onCancel()
onCancel in interface WizardSteppublic void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)
onSubmit in interface WizardSteppublic void addNavigationListener(NavigationListener listener)
addNavigationListener in interface SourcesNavigationEventspublic void removeNavigationListener(NavigationListener listener)
removeNavigationListener in interface SourcesNavigationEventspublic void setActive()
setActive in class AbstractSelectorWizardStep<ImageConfig>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||