use of org.jowidgets.cap.ui.api.plugin.IBeanFormPlugin in project jo-client-platform by jo-source.
the class BeanFormImpl method modifyBeanFormBpByPlugins.
private void modifyBeanFormBpByPlugins(final Object entityId, final Class<BEAN_TYPE> beanType, final IBeanFormBluePrint<BEAN_TYPE> beanFormBp) {
final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
propBuilder.add(IBeanFormPlugin.ENTITIY_ID_PROPERTY_KEY, entityId);
propBuilder.add(IBeanFormPlugin.BEAN_TYPE_PROPERTY_KEY, beanType);
final IPluginProperties properties = propBuilder.build();
for (final IBeanFormPlugin plugin : PluginProvider.getPlugins(IBeanFormPlugin.ID, properties)) {
plugin.modifySetup(properties, beanFormBp);
}
}
Aggregations