Document toolboxDocument toolbox

This article is for Data Center. Visit Cloud

structure-attribute-loader-provider

You can use this module to add your support for attributes, either new or already existing, to Structure. The attributes are used by Structure Widget columns, by exporters and by generators.

Example

<structure-attribute-loader-provider key="provider-key"
    class="com.company.your.plugin.attribute.MyAttributeProvider"/>

Element

Required?

Description

structure-attribute-loader-provider

 

Yes

The module descriptor.

@key

Yes

The unique identifier of the plugin module.

@name

No

The human-readable name of the plugin module.

@orderNoTakes an integer number (including negative numbers) that will define the order in which attribute specs are offered to the providers.

@class

Yes

The class that implements the data provider. Must implement AttributeLoaderProvider.