Search in sources :

Example 1 with IBeanTableModelBuilderPlugin

use of org.jowidgets.cap.ui.api.plugin.IBeanTableModelBuilderPlugin in project jo-client-platform by jo-source.

the class BeanTableModelBuilderImpl method modifyFromBeanTableModelPlugins.

@SuppressWarnings({ "rawtypes", "unchecked" })
private void modifyFromBeanTableModelPlugins() {
    final IPluginPropertiesBuilder propBuilder = PluginToolkit.pluginPropertiesBuilder();
    propBuilder.add(IBeanTableModelBuilderPlugin.ENTITIY_ID_PROPERTY_KEY, getEntityId());
    propBuilder.add(IBeanTableModelBuilderPlugin.BEAN_TYPE_PROPERTY_KEY, getBeanType());
    final IPluginProperties properties = propBuilder.build();
    for (final IBeanTableModelBuilderPlugin plugin : PluginProvider.getPlugins(IBeanTableModelBuilderPlugin.ID, properties)) {
        plugin.modify(this);
    }
}
Also used : IPluginProperties(org.jowidgets.plugin.api.IPluginProperties) IPluginPropertiesBuilder(org.jowidgets.plugin.api.IPluginPropertiesBuilder) IBeanTableModelBuilderPlugin(org.jowidgets.cap.ui.api.plugin.IBeanTableModelBuilderPlugin)

Aggregations

IBeanTableModelBuilderPlugin (org.jowidgets.cap.ui.api.plugin.IBeanTableModelBuilderPlugin)1 IPluginProperties (org.jowidgets.plugin.api.IPluginProperties)1 IPluginPropertiesBuilder (org.jowidgets.plugin.api.IPluginPropertiesBuilder)1