Search in sources :

Example 1 with IBeanRelationTreeModelPlugin

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

the class BeanRelationTreeModelBuilderImpl method modifyFromRelationTreeModelPlugins.

@SuppressWarnings({ "rawtypes", "unchecked" })
private void modifyFromRelationTreeModelPlugins() {
    final ITypedKey<Object> entitiyIdKey = IBeanRelationTreeModelPlugin.ENTITIY_ID_PROPERTY_KEY;
    final IPluginProperties properties = PluginProperties.create(entitiyIdKey, getEntityId());
    final List<IBeanRelationTreeModelPlugin<?>> plugins;
    plugins = PluginProvider.getPlugins(IBeanRelationTreeModelPlugin.ID, properties);
    for (final IBeanRelationTreeModelPlugin plugin : plugins) {
        plugin.modifySetup(properties, this);
    }
}
Also used : IPluginProperties(org.jowidgets.plugin.api.IPluginProperties) IBeanRelationTreeModelPlugin(org.jowidgets.cap.ui.api.plugin.IBeanRelationTreeModelPlugin)

Aggregations

IBeanRelationTreeModelPlugin (org.jowidgets.cap.ui.api.plugin.IBeanRelationTreeModelPlugin)1 IPluginProperties (org.jowidgets.plugin.api.IPluginProperties)1