Configuration of Formatters

Sep 21, 2006 20:35

Formatter is one of the key META-data components which needs to be configured in the system. I added the init(IParameterProvider pp) and save(IParameterProvider pp) methods to the IFormatter interface. All existing formatters are updated to read parameters from the configuration file during formatter instantiation. Just as a reminder, formatters are currently instantiated during MD instantiation. Needs to be checked that parameters can be migrated and re-configured in FieldInfo

DateFormatter and TimeFormatter are completed.

NB. Each DateTime formatter is configured with
  • A set of possible edit formats which will be recognised when typing
  • A view format which will be used to display the date in view mode
  • Default edit format will be used when in edit mode [NEW]
Previous post Next post
Up