|
||||||||||
| 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<T>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep<EntityLink<C>>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntitySelectorAggregatorWizardStep<T>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AttachmentSelectorAggregatorWizardStep<T>
T - the type of entity link configuration managed by this wizard steppublic class AttachmentSelectorAggregatorWizardStep<T extends EntityConfig>
Generic wizard step that allows the user to select an attachment to link to by aggregating a current page selector step and an "all pages" selector step.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.xwiki.gwt.user.client.ui.wizard.NavigationListener |
|---|
NavigationListener.NavigationDirection |
| Constructor Summary | |
|---|---|
AttachmentSelectorAggregatorWizardStep(boolean selectionLimitedToCurrentPage,
WikiServiceAsync wikiService)
Creates a new attachment selector wizard step. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getRequiredStep()
|
protected WizardStep |
getStepInstance(java.lang.String name)
|
protected java.util.List<java.lang.String> |
getStepNames()
|
java.lang.String |
getStepTitle()
|
void |
setAllPagesSelector(WizardStep allPagesSelector)
Sets the wizard step to be used for selecting an attachment from all pages. |
void |
setCurrentPageSelector(WizardStep currentPageSelector)
Sets the wizard step to be used for selecting an attachment from the current page. |
void |
setStepTitle(java.lang.String stepTitle)
Sets the step title. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntitySelectorAggregatorWizardStep |
|---|
getWikiService, init |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep |
|---|
addNavigationListener, display, getDefaultStepName, getDirectionName, getNextStep, getResult, getStep, onCancel, onDirection, onSelection, onSubmit, removeNavigationListener, selectTab |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep |
|---|
getData, getValidDirections, initializeSelection, setActive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentSelectorAggregatorWizardStep(boolean selectionLimitedToCurrentPage,
WikiServiceAsync wikiService)
selectionLimitedToCurrentPage - true to limit the selection to the current page, false
otherwisewikiService - the service to be used to access the attachments| Method Detail |
|---|
protected java.lang.String getRequiredStep()
getRequiredStep in class AbstractSelectorAggregatorWizardStep<EntityLink<T extends EntityConfig>>protected WizardStep getStepInstance(java.lang.String name)
getStepInstance in class AbstractSelectorAggregatorWizardStep<EntityLink<T extends EntityConfig>>name - the name of the step to initialize
AbstractSelectorAggregatorWizardStep.getStepInstance(String)public void setCurrentPageSelector(WizardStep currentPageSelector)
currentPageSelector - the new current page attachment selectorpublic void setAllPagesSelector(WizardStep allPagesSelector)
allPagesSelector - the new all pages attachment selectorprotected java.util.List<java.lang.String> getStepNames()
getStepNames in class AbstractSelectorAggregatorWizardStep<EntityLink<T extends EntityConfig>>AbstractSelectorAggregatorWizardStep.getStepNames()public java.lang.String getStepTitle()
WizardStep.getStepTitle()public void setStepTitle(java.lang.String stepTitle)
stepTitle - the new step title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||