use of org.jowidgets.plugin.api.IPluginProperties 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);
}
}
use of org.jowidgets.plugin.api.IPluginProperties 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);
}
}
use of org.jowidgets.plugin.api.IPluginProperties 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);
}
}
use of org.jowidgets.plugin.api.IPluginProperties 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);
}
}
use of org.jowidgets.plugin.api.IPluginProperties 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);
}
}
Aggregations