UserInterface uiinst = founduip.newInterfaceInstance();
for (InterfaceModulePlugin imp : uiPluginModules) {
if (imp.getInterfaceType().isInstance(uiinst))
try {
uiinst.addInterfaceModule(imp.newModuleInstance());
} catch (UnsupportedPluginException e) {
// TODO we should inform the user the plugin is
// incoherent with the interface
}
}