|
||||||||||
| 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<LinkConfig>
com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExplorerWizardStep
public abstract class AbstractExplorerWizardStep
Wizard step to provide an interface to selecting a wiki resource, using an XWikiExplorer.
| Field Summary | |
|---|---|
protected static java.lang.String |
FIELD_ERROR_STYLE
The style of the fields under error. |
| Constructor Summary | |
|---|---|
|
AbstractExplorerWizardStep(boolean addPage,
boolean showAttachments,
boolean addAttachments,
java.lang.String defaultSelection)
Builds a AbstractExplorerWizardStep from the passed settings. |
protected |
AbstractExplorerWizardStep(boolean addPage,
boolean showAttachments,
boolean addAttachments,
java.lang.String defaultSelection,
int width,
int height)
Builds a AbstractExplorerWizardStep from the passed settings, with parameters for size. |
| Method Summary | |
|---|---|
void |
addNavigationListener(NavigationListener listener)
|
com.google.gwt.user.client.ui.Widget |
display()
|
protected void |
displayError(java.lang.String errorMessage)
Displays the passed error message and markers in this wizard step. |
protected abstract java.lang.String |
getDefaultErrorText()
|
com.google.gwt.user.client.ui.Label |
getErrorLabel()
|
XWikiExplorer |
getExplorer()
|
protected abstract java.lang.String |
getHelpLabelText()
|
protected void |
hideError()
Hides the error messages and markers in this wizard step. |
void |
init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
|
protected void |
invalidateExplorerData()
Invalidates the cache on the explorer, so that it will be reloaded on next display. |
void |
onKeyPress(com.smartgwt.client.widgets.events.KeyPressEvent event)
|
void |
onRecordDoubleClick(com.smartgwt.client.widgets.grid.events.RecordDoubleClickEvent event)
|
void |
removeNavigationListener(NavigationListener listener)
|
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep |
|---|
getData, getDirectionName, getResult, getValidDirections, initializeSelection, setActive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.gwt.user.client.ui.wizard.WizardStep |
|---|
getNextStep, getStepTitle, onCancel, onSubmit |
| Field Detail |
|---|
protected static final java.lang.String FIELD_ERROR_STYLE
| Constructor Detail |
|---|
public AbstractExplorerWizardStep(boolean addPage,
boolean showAttachments,
boolean addAttachments,
java.lang.String defaultSelection)
AbstractExplorerWizardStep from the passed settings.
addPage - specifies whether the wiki explorer should show the option to add a pageshowAttachments - specifies whether the wiki explorer should show the attached files for pagesaddAttachments - specifies whether the wiki explorer should show the option to add an attachmentdefaultSelection - the default selection of the wiki explorer displayed by this step
protected AbstractExplorerWizardStep(boolean addPage,
boolean showAttachments,
boolean addAttachments,
java.lang.String defaultSelection,
int width,
int height)
AbstractExplorerWizardStep from the passed settings, with parameters for size.
addPage - specifies whether the wiki explorer should show the option to add a pageshowAttachments - specifies whether the wiki explorer should show the attached files for pagesaddAttachments - specifies whether the wiki explorer should show the option to add an attachmentdefaultSelection - the default selection of the wiki explorer displayed by this stepwidth - explorer width in pixelsheight - explorer height in pixels| Method Detail |
|---|
protected abstract java.lang.String getHelpLabelText()
protected abstract java.lang.String getDefaultErrorText()
protected void invalidateExplorerData()
public com.google.gwt.user.client.ui.Widget display()
display in interface WizardSteppublic XWikiExplorer getExplorer()
public com.google.gwt.user.client.ui.Label getErrorLabel()
public void init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
init in interface WizardStepinit in class AbstractSelectorWizardStep<LinkConfig>protected void displayError(java.lang.String errorMessage)
errorMessage - the error message to printprotected void hideError()
public void addNavigationListener(NavigationListener listener)
addNavigationListener in interface SourcesNavigationEventspublic void removeNavigationListener(NavigationListener listener)
removeNavigationListener in interface SourcesNavigationEventspublic void onRecordDoubleClick(com.smartgwt.client.widgets.grid.events.RecordDoubleClickEvent event)
onRecordDoubleClick in interface com.smartgwt.client.widgets.grid.events.RecordDoubleClickHandlerpublic void onKeyPress(com.smartgwt.client.widgets.events.KeyPressEvent event)
onKeyPress in interface com.smartgwt.client.widgets.events.KeyPressHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||