public class ClassPropertyEditPane extends BaseElement
Constructor and Description |
---|
ClassPropertyEditPane(FormContainerElement form,
String propertyName)
Creates a new pane that can be used to set the meta-properties of the specified XClass property.
|
Modifier and Type | Method and 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.
|
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public ClassPropertyEditPane(FormContainerElement form, String propertyName)
form
- the class editor formpropertyName
- the name of the edited propertypublic ClassPropertyEditPane expand()
public ClassPropertyEditPane setMetaProperty(String metaPropertyName, String value)
metaPropertyName
- the name of the meta-propertyvalue
- the value to setpublic ClassPropertyEditPane setPrettyName(String prettyName)
prettyName
- the new pretty nameCopyright © 2004–2021 XWiki. All rights reserved.