Adapt to changes in Argeo Commons
[gpl/argeo-suite.git] / swt / org.argeo.app.ui / src / org / argeo / app / ui / people / PeopleEntryArea.java
index 789698bcf21f4904a5217244478be393cf432a86..0329c335b9406422af77eb970f793745ef16c08c 100644 (file)
@@ -129,7 +129,7 @@ public class PeopleEntryArea implements SwtUiProvider, CmsUiProvider {
                        }
 
                };
-               SwtTreeView<HierarchyUnit> directoriesView = new SwtTreeView<>(sashForm, SWT.NONE, hierarchyPart);
+               SwtTreeView<HierarchyUnit> directoriesView = new SwtTreeView<>(sashForm, SWT.BORDER, hierarchyPart);
 
                DefaultTabularPart<HierarchyUnit, Content> usersPart = new DefaultTabularPart<>() {
 
@@ -152,7 +152,7 @@ public class PeopleEntryArea implements SwtUiProvider, CmsUiProvider {
                                                                Content content = ContentUtils.roleToContent(cmsUserManager, contentSession, r);
                                                                // if (r instanceof Person || r instanceof Organization)
                                                                if (content.hasContentClass(LdapObjs.inetOrgPerson.qName(),
-                                                                               LdapObjs.organization.qName()))
+                                                                               LdapObjs.organization.qName(), LdapObjs.groupOfNames.qName()))
                                                                        roles.add(content);
                                                        }
                                                }
@@ -197,7 +197,7 @@ public class PeopleEntryArea implements SwtUiProvider, CmsUiProvider {
                });
                usersPart.addColumn((Column<Content>) (role) -> role.attr(LdapAttrs.mail.qName()));
 
-               SwtTableView<HierarchyUnit, Content> usersView = new SwtTableView<>(sashForm, SWT.NONE, usersPart);
+               SwtTableView<HierarchyUnit, Content> usersView = new SwtTableView<>(sashForm, SWT.BORDER, usersPart);
 
                // toolbar
                Composite bottom = new Composite(parent, SWT.NONE);