Class FormFieldRendererUtil


  • public final class FormFieldRendererUtil
    extends java.lang.Object
    Utility class for centralized logic related to form field rendering.
    • Field Detail

      • PROPERTIES_THAT_IMPACT_LAYOUT

        private static final int[] PROPERTIES_THAT_IMPACT_LAYOUT
    • Constructor Detail

      • FormFieldRendererUtil

        private FormFieldRendererUtil()
        Creates a new instance of FormFieldRendererUtil.
    • Method Detail

      • removeProperties

        public static java.util.Map<java.lang.Integer,​java.lang.Object> removeProperties​(IPropertyContainer modelElement)
        Removes properties that impact the lay outing of interactive form fields.
        Parameters:
        modelElement - The model element to remove the properties from.
        Returns:
        A map containing the removed properties.
      • reapplyProperties

        public static void reapplyProperties​(IPropertyContainer modelElement,
                                             java.util.Map<java.lang.Integer,​java.lang.Object> properties)
        Reapplies the properties IPropertyContainer.
        Parameters:
        modelElement - The model element to reapply the properties to.
        properties - The properties to reapply.