| | |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.guitools.controlpanel.util.ViewPositions; |
| | | import org.opends.server.api.AttributeSyntax; |
| | | import org.forgerock.opendj.ldap.schema.Syntax; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.CommonSchemaElements; |
| | | import org.opends.server.types.ObjectClass; |
| | |
| | | |
| | | TreeSet<String> syntaxNames = new TreeSet<>(lowerCaseComparator); |
| | | HashMap<String, AttributeSyntaxTreeNode> hmSyntaxes = new HashMap<>(); |
| | | for (AttributeSyntax<?> syntax : lastSchema.getSyntaxes().values()) |
| | | for (Syntax syntax : lastSchema.getSyntaxes().values()) |
| | | { |
| | | if (mustAdd(syntax)) |
| | | { |
| | |
| | | * @return <CODE>true</CODE> if the attribute syntax must be added and |
| | | * <CODE>false</CODE> otherwise. |
| | | */ |
| | | private boolean mustAdd(AttributeSyntax<?> syntax) |
| | | private boolean mustAdd(Syntax syntax) |
| | | { |
| | | String f = filter.getText().trim(); |
| | | if (f.length () > 0) |