Child pages
  • Providing Converters and Validators from Plugins

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to build a column converter, the plugin class implementing the IClientPlugin interface (see Implement the plugin interfacePlugin Interface) also needs to implement the interface IColumnConverterProvider to produce ITypedColumnConverter instances in the getColumnConverters() method. See API docs.

...

For an example of a column converter, see the NrToJodaConverter class in the example given on Providing UI Converters from pluginsPlugins page.

The implemented column converters returned by the getColumnConverters() method of the plugin class implementing the IColumnConverterProvider interface, will be checked by the plugin manager which will add them to the list of Servoy column converters.

...

In order to build a column validator, the plugin class implementing the IClientPlugin interface (see Implement the plugin interfacePlugin Interface) also needs to implement the interface IColumnValidatorProvider to produce IColumnValidator instances in the getColumnValidators() method. See API docs.

...