public class ClassEditPage extends EditPage
EditPage.Editor
cancel, currentEditorDiv, save, saveandcontinue, syntaxIdSelect
Constructor and Description |
---|
ClassEditPage() |
Modifier and Type | Method and Description |
---|---|
ClassPropertyEditPane |
addProperty(String propertyName,
String propertyType) |
void |
addPropertyWithoutWaiting(String propertyName,
String propertyType) |
void |
deleteProperty(String propertyName) |
DatabaseListClassEditElement |
getDatabaseListClassEditElement(String propertyName) |
NumberClassEditElement |
getNumberClassEditElement(String propertyName) |
ClassPropertyEditPane |
getPropertyEditPane(String propertyName)
Use this method if you need to set generic meta-properties (common to all XClass property types).
|
org.openqa.selenium.WebElement |
getSaveAndViewButton()
Use this method instead of
EditPage.clickSaveAndView() and call WebElement.click() when you know that the
next page is not a standard XWiki InlinePage . |
StaticListClassEditElement |
getStaticListClassEditElement(String propertyName) |
static ClassEditPage |
gotoPage(String space,
String page)
Go to the passed page in object edit mode.
|
clickCancel, clickCancelCSRFWarningButton, clickForceSaveCSRFButton, clickSaveAndContinue, clickSaveAndContinue, clickSaveAndView, clickSaveAndView, clickTranslate, getDefaultLanguage, getDocumentTitle, getEditor, getExistingLocales, getExistingLocales, getNotExistingLocales, getParent, getSaveAndContinueButton, getSyntaxId, isCSRFWarningDisplayed, setDefaultLanguage, setSyntaxId, useShortcutKeyForCancellingEdition, waitUntilPageJSIsLoaded
canDelete, clickAdminActionsSubMenuEntry, clickEditSubMenuEntry, clickLocale, clickMoreActionsSubMenuEntry, copy, createInlinePage, createPage, delete, deletePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, 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 ClassEditPage gotoPage(String space, String page)
public ClassPropertyEditPane addProperty(String propertyName, String propertyType)
public void addPropertyWithoutWaiting(String propertyName, String propertyType)
public void deleteProperty(String propertyName)
public ClassPropertyEditPane getPropertyEditPane(String propertyName)
propertyName
- the name of a property of this classpublic DatabaseListClassEditElement getDatabaseListClassEditElement(String propertyName)
public StaticListClassEditElement getStaticListClassEditElement(String propertyName)
public NumberClassEditElement getNumberClassEditElement(String propertyName)
public org.openqa.selenium.WebElement getSaveAndViewButton()
EditPage
EditPage.clickSaveAndView()
and call WebElement.click()
when you know that the
next page is not a standard XWiki InlinePage
.getSaveAndViewButton
in class EditPage
Copyright © 2004–2021 XWiki. All rights reserved.