Package org.xwiki.test.ui.po.editor
Class ClassPropertyEditPane
- java.lang.Object
-
- org.xwiki.test.ui.po.BaseElement
-
- org.xwiki.test.ui.po.editor.ClassPropertyEditPane
-
- Direct Known Subclasses:
DatabaseListClassEditElement
,NumberClassEditElement
,StaticListClassEditElement
public class ClassPropertyEditPane extends BaseElement
Represents the pane used to edit a class property.- Since:
- 4.5
- Version:
- $Id: 4cb39bbf6e6cad0973d7317cd35f2aeda5dac4e3 $
-
-
Constructor Summary
Constructors Constructor Description ClassPropertyEditPane(FormContainerElement form, String propertyName)
Creates a new pane that can be used to set the meta-properties of the specified XClass property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassPropertyEditPane
expand()
Expands this property pane so that the meta-properties are visible and thus editable.ClassPropertyEditPane
setMetaProperty(String metaPropertyName, String value)
Sets a meta property of the edited XClass property.ClassPropertyEditPane
setPrettyName(String prettyName)
Sets the pretty name of the edited property.-
Methods inherited from class org.xwiki.test.ui.po.BaseElement
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageIsReady
-
-
-
-
Constructor Detail
-
ClassPropertyEditPane
public ClassPropertyEditPane(FormContainerElement form, String propertyName)
Creates a new pane that can be used to set the meta-properties of the specified XClass property.- Parameters:
form
- the class editor formpropertyName
- the name of the edited property
-
-
Method Detail
-
expand
public ClassPropertyEditPane expand()
Expands this property pane so that the meta-properties are visible and thus editable.- Returns:
- this
-
setMetaProperty
public ClassPropertyEditPane setMetaProperty(String metaPropertyName, String value)
Sets a meta property of the edited XClass property.- Parameters:
metaPropertyName
- the name of the meta-propertyvalue
- the value to set- Returns:
- this
-
setPrettyName
public ClassPropertyEditPane setPrettyName(String prettyName)
Sets the pretty name of the edited property.- Parameters:
prettyName
- the new pretty name- Returns:
- this
-
-