Interface ILcyModelCustomizerFactory


@Deprecated public interface ILcyModelCustomizerFactory
Deprecated.
A more powerful ILcyCustomizerPanel framework has been introduced aside of this functionality. Please note that all existing uses of this mechanism, both adding custom implementations and retrieving implementations added by Lucy addons, keep on working. It is however strongly recommended to use the ILcyCustomizerPanel mechanism for new code. Please refer to the Lucy developer's guide or TLcyUserInterfaceManager.getCompositeCustomizerPanelFactory() for more information on the new mechanism.
Factory to create a Customizer for a ILcdModel.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns a Customizer for the given model.
  • Method Details

    • createModelCustomizer

      Customizer createModelCustomizer(ILcdModel aModel)
      Deprecated.
      Returns a Customizer for the given model. The Customizer should accept the given aModel, so it should not throw an exception when setObject( aModel ) is invoked on the created Customizer. Furthermore, the created Customizer must throw an IllegalArgumentException when an attempt is made to set any type of object to the Customizer that it cannot handle. All this is to be able to reuse the same Customizer instance (performance!) for customizing several objects, one after another.

      setObject(null) can be used on the created Customizer to (temporarily) de-initialize it.

      Note: the implementation of this method must not call setObject on the newly created Customizer as this is the responsibility of the user of the created Customizer.

      Parameters:
      aModel - The model to create a customizer for.
      Returns:
      The newly created customizer, or null in case this factory cannot create a Customizer for the given model.