Class ClassPropertyEditPane

    • 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 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

        public 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