| | |
| | | import java.awt.event.KeyEvent; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.Comparator; |
| | | import java.util.HashMap; |
| | | import java.util.Set; |
| | | import java.util.TreeSet; |
| | |
| | | } |
| | | TreePath newSelectionPath = null; |
| | | |
| | | TreeSet<String> standardOcNames = new TreeSet<String>(); |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | Comparator<String> lowerCaseComparator = new Comparator<String>() |
| | | { |
| | | public int compare(String s1, String s2) |
| | | { |
| | | return s1.toLowerCase().compareTo(s2.toLowerCase()); |
| | | } |
| | | }; |
| | | |
| | | TreeSet<String> standardOcNames = new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, StandardObjectClassTreeNode> hmStandardOcs = |
| | | new HashMap<String, StandardObjectClassTreeNode>(); |
| | | TreeSet<String> configurationOcNames = new TreeSet<String>(); |
| | | TreeSet<String> configurationOcNames = |
| | | new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, ConfigurationObjectClassTreeNode> hmConfigurationOcs = |
| | | new HashMap<String, ConfigurationObjectClassTreeNode>(); |
| | | TreeSet<String> customOcNames = new TreeSet<String>(); |
| | | TreeSet<String> customOcNames = new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, CustomObjectClassTreeNode> hmCustomOcs = |
| | | new HashMap<String, CustomObjectClassTreeNode>(); |
| | | for (ObjectClass oc : lastSchema.getObjectClasses().values()) |
| | |
| | | } |
| | | |
| | | |
| | | TreeSet<String> standardAttrNames = new TreeSet<String>(); |
| | | TreeSet<String> standardAttrNames = |
| | | new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, StandardAttributeTreeNode> hmStandardAttrs = |
| | | new HashMap<String, StandardAttributeTreeNode>(); |
| | | TreeSet<String> configurationAttrNames = new TreeSet<String>(); |
| | | TreeSet<String> configurationAttrNames = |
| | | new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, ConfigurationAttributeTreeNode> hmConfigurationAttrs = |
| | | new HashMap<String, ConfigurationAttributeTreeNode>(); |
| | | TreeSet<String> customAttrNames = new TreeSet<String>(); |
| | | TreeSet<String> customAttrNames = new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, CustomAttributeTreeNode> hmCustomAttrs = |
| | | new HashMap<String, CustomAttributeTreeNode>(); |
| | | for (AttributeType attr : lastSchema.getAttributeTypes().values()) |
| | |
| | | } |
| | | } |
| | | |
| | | TreeSet<String> matchingRuleNames = new TreeSet<String>(); |
| | | TreeSet<String> matchingRuleNames = |
| | | new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, MatchingRuleTreeNode> hmMatchingRules = |
| | | new HashMap<String, MatchingRuleTreeNode>(); |
| | | for (MatchingRule matchingRule : lastSchema.getMatchingRules().values()) |
| | |
| | | } |
| | | } |
| | | |
| | | TreeSet<String> syntaxNames = new TreeSet<String>(); |
| | | TreeSet<String> syntaxNames = new TreeSet<String>(lowerCaseComparator); |
| | | HashMap<String, AttributeSyntaxTreeNode> hmSyntaxes = |
| | | new HashMap<String, AttributeSyntaxTreeNode>(); |
| | | for (AttributeSyntax syntax : lastSchema.getSyntaxes().values()) |