Child pages
  • Providing UI Converters from Plugins

Versions Compared

Key

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

...

  • convertFromObject()
    Convert from UI value to dataprovider value
  • convertToObject()
    Converts from dataprovider value to UI value
  • getToObjectType (one of TEXT, INTEGER, NUMBER, DATETIME or MEDIA)
    The UI data type (so the resulting type of the convertToObject()).
    This type can be provided by using the IColumnTypes constants.

A UI converter class can also define properties in the getDefaultProperties() method, which will be displayed in the Edit text format property dialog as well.

...