Work on user facets
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 4 Jul 2022 05:52:00 +0000 (07:52 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 4 Jul 2022 05:52:00 +0000 (07:52 +0200)
org.argeo.app.ui/src/org/argeo/app/ui/people/PersonUiProvider.java

index 6fa991d0dc89350c26df1f7c6b1e68fc62da67a3..c82edbc443b7d133e0d880770124e1bd0582fa9a 100644 (file)
@@ -62,6 +62,16 @@ public class PersonUiProvider implements CmsUiProvider {
                                if (roles.contains(role))
                                        radio.setSelection(true);
                        }
+
+//                     Composite facetsSection = new Composite(main, SWT.NONE);
+//                     facetsSection.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
+//                     facetsSection.setLayout(new GridLayout());
+//                     if (context.hasContentClass(LdapObjs.groupOfNames.qName())) {
+//                             String[] members = context.attr(LdapAttrs.member.qName()).split("\n");
+//                             for (String member : members) {
+//                                     new Label(facetsSection, SWT.NONE).setText(member);
+//                             }
+//                     }
                }
 
 //             if (user instanceof Group) {