Added separator support into the property sheet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-08-03 09:44:13 +00:00
parent d3fb5dd9fd
commit a4e8facbae
13 changed files with 333 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ public class PropertySheetElementReader implements ConfigElementReader
public static final String ELEMENT_SHOW_PROPERTY = "show-property";
public static final String ELEMENT_SHOW_ASSOC = "show-association";
public static final String ELEMENT_SHOW_CHILD_ASSOC = "show-child-association";
public static final String ELEMENT_SEPARATOR = "separator";
public static final String ATTR_NAME = "name";
public static final String ATTR_DISPLAY_LABEL = "display-label";
public static final String ATTR_DISPLAY_LABEL_ID = "display-label-id";
@@ -96,6 +97,10 @@ public class PropertySheetElementReader implements ConfigElementReader
configElement.addChildAssociation(propName, label, labelId, readOnly, converter,
inView, inEdit, compGenerator);
}
else if (ELEMENT_SEPARATOR.equals(item.getName()))
{
configElement.addSeparator(propName, label, labelId, inView, inEdit, compGenerator);
}
}
}