org.xwiki.test.ui.po.editor
Class ClassPropertyEditPane

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by 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: ec49415a4bff1fb57648fb8bc72a8efa8aa57257 $

Constructor Summary
ClassPropertyEditPane(FormElement form, String propertyName)
          Creates a new pane that can be used to set the meta-properties of the specified XClass property.
 
Method Summary
 ClassPropertyEditPane expand()
          Expands this property pane so that the meta-properties are visible and thus editable.
protected  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
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPropertyEditPane

public ClassPropertyEditPane(FormElement 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 form
propertyName - 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

protected ClassPropertyEditPane setMetaProperty(String metaPropertyName,
                                                String value)
Sets a meta property of the edited XClass property.

Parameters:
metaPropertyName - the name of the meta-property
value - 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


Copyright © 2004-2013 XWiki. All Rights Reserved.