Search in sources :

Example 1 with IBeanModelBuilderPlugin

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

the class BeanRelationTreeModelBuilderImpl method modifyFromBeanModelPlugins.

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

Example 2 with IBeanModelBuilderPlugin

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

the class SingleBeanModelBuilder method modifyFromBeanModelPlugins.

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

Example 3 with IBeanModelBuilderPlugin

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

the class BeanTableModelBuilderImpl method modifyFromBeanModelPlugins.

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

Example 4 with IBeanModelBuilderPlugin

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

the class BeanTabFolderModelBuilderImpl method modifyFromBeanModelPlugins.

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

Example 5 with IBeanModelBuilderPlugin

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

the class BeanRelationNodeModelBuilder method modifyFromBeanModelPlugins.

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

Aggregations

IBeanModelBuilderPlugin (org.jowidgets.cap.ui.api.plugin.IBeanModelBuilderPlugin)5 IPluginProperties (org.jowidgets.plugin.api.IPluginProperties)5 IPluginPropertiesBuilder (org.jowidgets.plugin.api.IPluginPropertiesBuilder)5