public class ApplicationClassEditPage extends ApplicationEditPage
Modifier and Type | Field and Description |
---|---|
static String |
EMPTY_CANVAS_HINT
The message displayed when the canvas is empty.
|
nextStepButton, previousStepButton
Constructor and Description |
---|
ApplicationClassEditPage()
Default constructor which waits on xaction_save button.
|
Modifier and Type | Method and Description |
---|---|
ClassFieldEditPane |
addField(String fieldType)
Drags a field of the specified type from the field palette to the field canvas.
|
ApplicationTemplateProviderEditPage |
clickNextStep()
Clicks on the Next Step button.
|
ApplicationCreatePage |
clickPreviousStep()
Clicks on the Previous Step button.
|
static ApplicationClassEditPage |
createNewApplication(String appName)
Creates a new application with the given name.
|
static ApplicationClassEditPage |
goToEditor(org.xwiki.model.reference.DocumentReference reference)
Opens an AWM class editor at the provided document location.
|
boolean |
hasPreviousStep() |
void |
moveFieldBefore(String fieldToMove,
String beforeField)
Moves the class field specified by the first parameter before the class field specified by the second parameter
|
void |
setUpdateClassSheet(boolean update)
Sets whether the class sheet should be updated or not.
|
getSaveAndContinueButton, getSaveAndViewButton
clickCancel, clickPreview, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, createViewPage, getContent, getForm, getFormLocator, getValue, setValue, waitUntilPageJSIsLoaded
clickBreadcrumbLink, clickWantedLink, clickWantedLink, contentContainsElement, editSection, exists, getBreadcrumb, getBreadcrumbContent, getPageBackgroundColor, getTitleColor, getTitleFontFamily, getTranslateButton, hasBreadcrumbContent, hasBreadcrumbContent, hasTranslateButton, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, openInformationDocExtraPane, scrollToTop, useShortcutKeyForAttachmentPane, useShortcutKeyForCommentPane, useShortcutKeyForHistoryPane, useShortcutKeyForInformationPane, waitForDocExtraPaneActive, waitUntilContent
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getErrorContent, getHTMLMetaDataValue, getLocales, getMetaDataValue, getPageTitle, getPageURL, hasLeftPanel, hasLoginLink, hasNotificationsMenu, hasRenderingError, hideDrawer, isAuthenticated, isDrawerVisible, isForbidden, isNewDocument, isNotificationsMenuOpen, login, logout, register, rename, sendKeys, showDrawer, toggleActionMenu, toggleDrawer, toggleNotificationsMenu, useShortcutKeyForClassEditing, useShortcutKeyForEditing, useShortcutKeyForInlineEditing, useShortcutKeyForObjectEditing, useShortcutKeyForPageDeletion, useShortcutKeyForPageRenaming, useShortcutKeyForRightsEditing, useShortcutKeyForSourceViewer, useShortcutKeyForWikiEditing, useShortcutKeyForWysiwygEditing, viewChildren, waitUntilPageIsLoaded, watchDocument, watchSpace, watchWiki
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage
public static final String EMPTY_CANVAS_HINT
public ApplicationClassEditPage()
public ApplicationTemplateProviderEditPage clickNextStep()
public ApplicationCreatePage clickPreviousStep()
public boolean hasPreviousStep()
true
if the Previous Step button is present, false
otherwisepublic ClassFieldEditPane addField(String fieldType)
fieldType
- the type of field to add, as displayed on the field palettepublic void moveFieldBefore(String fieldToMove, String beforeField)
fieldToMove
- the class field to be movedbeforeField
- the class field before which to insert the field being movedpublic void setUpdateClassSheet(boolean update)
update
- true
to update the class sheet, false
otherwisepublic static ApplicationClassEditPage goToEditor(org.xwiki.model.reference.DocumentReference reference)
reference
- the location of the documentpublic static ApplicationClassEditPage createNewApplication(String appName)
appName
- the application nameCopyright © 2004–2021 XWiki. All rights reserved.