use of org.kie.workbench.common.stunner.core.definition.morph.MorphDefinitionProvider in project kie-wb-common by kiegroup.
the class ClientBindableMorphAdapter method init.
@PostConstruct
@SuppressWarnings("unchecked")
public void init() {
// Morph definitions.
Collection<SyncBeanDef<MorphDefinitionProvider>> beanMorphAdapters = beanManager.lookupBeans(MorphDefinitionProvider.class);
for (SyncBeanDef<MorphDefinitionProvider> morphAdapter : beanMorphAdapters) {
MorphDefinitionProvider provider = morphAdapter.getInstance();
morphDefinitions.addAll(provider.getMorphDefinitions());
}
}
Aggregations