Interface IPluginFormRenderCallback
- All Superinterfaces:
IFCPlugin, INamedUiElement, INameProviding, ITransferable, Serializable
Can be used, for example, to modify rendered form elements, such as in combination with a
IPluginFormElementPropertiesExtension in order to render custom properties added to built-in elements.
- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from interface IFCPlugin
CONFIG_FILENAMEFields inherited from interface INamedUiElement
ATTR_DISPLAY_NAMEFields inherited from interface INameProviding
ATTR_NAME, COL_NAME -
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends IFormRenderPluginCallback> Gets a list of callbacks to invoke when a form is rendered.Methods inherited from interface IFCPlugin
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall, validateConfigurationData
-
Method Details
-
createCallbacks
Iterable<? extends IFormRenderPluginCallback> createCallbacks()Gets a list of callbacks to invoke when a form is rendered.This method is invoked once each time a form is rendered. If you need to share any state between several callback methods, you can create a new callback instance each time this method is called. Implementations need not be thread-safe if you create a new instance each time, they are used only on a single thread during a single form render operation. If you reuse the same instance, you must ensure thread safety (usually such instances should not have mutable state).
Note that sometimes items are rendered in isolation, without an associated form (such as within the form designer UI). In such cases, this method is invoked once for each such item.
- Returns:
- A list of callbacks to invoke when a form is rendered.
- Throws:
RuntimeException- Any exceptions are caught, logged, and ignored otherwise.
-