|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.link.ui.CreateNewPageWizardStep
public class CreateNewPageWizardStep
Wizard step to get the name of a new page from the user.
| Field Summary | |
|---|---|
protected static java.lang.String |
FIELD_ERROR_STYLE
The style of the fields under error. |
| Constructor Summary | |
|---|---|
CreateNewPageWizardStep(WikiServiceAsync wikiService)
Creates a new wizard step that allows the user to create a link to a new page. |
|
| Method Summary | |
|---|---|
void |
addNavigationListener(NavigationListener listener)
|
com.google.gwt.user.client.ui.Widget |
display()
|
NavigationListener.NavigationDirection |
getDefaultDirection()
|
java.lang.String |
getDirectionName(NavigationListener.NavigationDirection direction)
|
java.lang.String |
getNextStep()
|
java.lang.Object |
getResult()
|
java.lang.String |
getStepTitle()
|
java.util.EnumSet<NavigationListener.NavigationDirection> |
getValidDirections()
|
void |
init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
|
void |
onCancel()
|
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
|
void |
onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
|
void |
removeNavigationListener(NavigationListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String FIELD_ERROR_STYLE
| Constructor Detail |
|---|
public CreateNewPageWizardStep(WikiServiceAsync wikiService)
wikiService - the service to be used for creating a link to a wiki page| Method Detail |
|---|
public com.google.gwt.user.client.ui.Widget display()
display in interface WizardSteppublic java.lang.String getDirectionName(NavigationListener.NavigationDirection direction)
getDirectionName in interface WizardSteppublic java.lang.String getNextStep()
getNextStep in interface WizardSteppublic java.lang.Object getResult()
getResult in interface WizardSteppublic java.lang.String getStepTitle()
getStepTitle in interface WizardSteppublic java.util.EnumSet<NavigationListener.NavigationDirection> getValidDirections()
getValidDirections in interface WizardStep
public void init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
init in interface WizardSteppublic void onCancel()
onCancel in interface WizardSteppublic void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> callback)
onSubmit in interface WizardSteppublic void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerKeyPressHandler.onKeyPress(KeyPressEvent)public void addNavigationListener(NavigationListener listener)
addNavigationListener in interface SourcesNavigationEventspublic void removeNavigationListener(NavigationListener listener)
removeNavigationListener in interface SourcesNavigationEventspublic NavigationListener.NavigationDirection getDefaultDirection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||