Search in sources :

Example 1 with IBeanProxyPlugin

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

the class BeanProxyImpl method getModifiedByPluginMessage.

private IBeanMessage getModifiedByPluginMessage(final IBeanMessage message) {
    final IPluginProperties pluginProperties = PluginProperties.create(IBeanProxyPlugin.BEAN_TYPE_PROPERTY_KEY, beanType);
    IBeanMessage result = message;
    for (final IBeanProxyPlugin plugin : PluginProvider.getPlugins(IBeanProxyPlugin.ID, pluginProperties)) {
        result = plugin.addMessage(this, result);
        if (result == null) {
            return null;
        }
    }
    return result;
}
Also used : IBeanProxyPlugin(org.jowidgets.cap.ui.api.plugin.IBeanProxyPlugin) IPluginProperties(org.jowidgets.plugin.api.IPluginProperties) IBeanMessage(org.jowidgets.cap.ui.api.bean.IBeanMessage)

Aggregations

IBeanMessage (org.jowidgets.cap.ui.api.bean.IBeanMessage)1 IBeanProxyPlugin (org.jowidgets.cap.ui.api.plugin.IBeanProxyPlugin)1 IPluginProperties (org.jowidgets.plugin.api.IPluginProperties)1