use of org.talend.mdm.repository.core.impl.eventmanager.EventManagerNodeConfiguration in project tmdm-studio-se by Talend.
the class RepositoryViewFilterDialog method solveProcTriCase.
private void solveProcTriCase() {
IRepositoryViewObject eventMgr = null;
boolean exist = false;
for (IRepositoryViewObject conf : enabledConfigs) {
Item item = conf.getProperty().getItem();
IRepositoryNodeConfiguration repositoryConf = RepositoryNodeConfigurationManager.getConfiguration(item);
if (repositoryConf instanceof EventManagerNodeConfiguration) {
exist = true;
break;
}
if (repositoryConf instanceof IRepositoryViewObject || repositoryConf instanceof TransformerV2NodeConfiguration)
for (IRepositoryViewObject confi : allConfigs) eventMgr = confi;
}
if (eventMgr != null && !exist)
enabledConfigs.add(eventMgr);
}
Aggregations