"a read-only open map of simples", false);
readOnlyOpenMapPropDef.setDisplayName(readOnlyOpenMapPropDef.getName());
readOnlyOpenMapPropDef.setReadOnly(true);
propertyDefinitions.put(readOnlyOpenMapPropDef.getName(), readOnlyOpenMapPropDef);
PropertyDefinitionList listOfSimplesPropDef = new PropertyDefinitionList("ListOfStrings",
"another list of Strings", true, new PropertyDefinitionSimple("note", "a note", false,
PropertySimpleType.STRING));
listOfSimplesPropDef.setDisplayName(listOfSimplesPropDef.getName());
propertyDefinitions.put(listOfSimplesPropDef.getName(), listOfSimplesPropDef);
PropertyDefinitionMap mapInListPropDef = new PropertyDefinitionMap("MapOfSimplesInList", "a map of simples in a list", false);
mapInListPropDef.put(createStringPropDef1());
mapInListPropDef.put(createStringPropDef2());
mapInListPropDef.put(createIntegerPropDef());
mapInListPropDef.setDisplayName(mapInListPropDef.getName());
PropertyDefinitionList listPropDef = new PropertyDefinitionList("ListOfMaps", "a list of maps", true,
mapInListPropDef);
listPropDef.setDisplayName(listPropDef.getName());
propertyDefinitions.put(listPropDef.getName(), listPropDef);
PropertyDefinitionMap mapInReadOnlyListPropDef = new PropertyDefinitionMap("MapOfSimplesInReadOnlyList", "a map of simples in a list", false);
mapInReadOnlyListPropDef.put(createStringPropDef1());
mapInReadOnlyListPropDef.put(createStringPropDef2());
mapInReadOnlyListPropDef.put(createIntegerPropDef());
mapInReadOnlyListPropDef.setDisplayName(mapInReadOnlyListPropDef.getName());
PropertyDefinitionList readOnlyListPropDef = new PropertyDefinitionList("ReadOnlyListOfMaps",
"a read-only list of maps", true, mapInReadOnlyListPropDef);
readOnlyListPropDef.setDisplayName(readOnlyListPropDef.getName());
readOnlyListPropDef.setReadOnly(true);
propertyDefinitions.put(readOnlyListPropDef.getName(), readOnlyListPropDef);
PropertyGroupDefinition propertyGroupDefinition = new PropertyGroupDefinition("myGroup");
propertyGroupDefinition.setDisplayName(propertyGroupDefinition.getName());
propertyGroupDefinition.setDescription("this is an example group");