|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<EntityLink<ImageConfig>>
org.xwiki.gwt.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(boolean displayWikiSelector,
WikiServiceAsync wikiService)
Builds an image explorer with the default selection on the passed resource. |
|
| Method Summary | |
|---|---|
void |
addNavigationListener(NavigationListener listener)
|
VerticalResizePanel |
display()
|
String |
getNextStep()
|
Object |
getResult()
|
protected void |
initCurrentPage(AttachmentReference imageReference,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
Initializes and displays list of images attached to the same page as the specified image, and selects the specified image. |
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<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(AttachmentReference imageReference,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
Refreshes the list of images with the images attached to the same page as the specified image, and then selects the specified image. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep |
|---|
getData, init |
| Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep |
|---|
getStepTitle, isAutoSubmit, setStepTitle |
| Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep |
|---|
getDirectionName, getValidDirections, setDirectionName, setNextStep, setValidDirections |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagesExplorerWizardStep(boolean displayWikiSelector,
WikiServiceAsync wikiService)
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(AttachmentReference imageReference,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
imageReference - a reference to the image to be selectedcb - the object to be notified after the specified image is selectedpublic 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(AttachmentReference imageReference,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
imageReference - a reference to the image to be selected after the list of images is updatedcb - the object to be notified after the list of images is updatedpublic VerticalResizePanel display()
display in interface WizardStepdisplay in class AbstractInteractiveWizardSteppublic String getNextStep()
getNextStep in interface WizardStepgetNextStep in class AbstractNavigationAwareWizardStepprotected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
AbstractSelectorWizardStep.init(Object, AsyncCallback) time.
initializeSelection in class AbstractSelectorWizardStep<EntityLink<ImageConfig>>cb - the initialization callback, to handle asynchronous initializationpublic void onCancel()
onCancel in interface WizardSteppublic void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<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<EntityLink<ImageConfig>>public Object getResult()
getResult in interface WizardStepgetResult in class AbstractSelectorWizardStep<EntityLink<ImageConfig>>AbstractSelectorWizardStep.getResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||