final IRepositoryManager repository = project == null ? SigilCore.getGlobalRepositoryManager() : project.getRepositoryManager();
StringBuilder buf = new StringBuilder();
for (IBundleRepository rep : repository.getRepositories()) {
IRepositoryModel mod = SigilCore.getRepositoryModel(rep);
if ( buf.length() > 0 ) {
buf.append(" -> ");
}
buf.append(mod.getName());
}
buf.insert(0, "Repository Path: ");
repoPath.setText(buf.toString());