mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Phase 2 of the client config re-org
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -137,7 +137,7 @@ public class PropertySheetConfigElement extends ConfigElementAdapter
|
||||
*
|
||||
* @param itemConfig A pre-configured property or association config object
|
||||
*/
|
||||
public void addItem(ItemConfig itemConfig)
|
||||
/*package*/ void addItem(ItemConfig itemConfig)
|
||||
{
|
||||
if (this.itemsMap.containsKey(itemConfig.getName()) == false)
|
||||
{
|
||||
@@ -156,7 +156,7 @@ public class PropertySheetConfigElement extends ConfigElementAdapter
|
||||
* @param readOnly Sets whether the property should be rendered as read only
|
||||
* @param converter The name of a converter to apply to the property control
|
||||
*/
|
||||
public void addProperty(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
/*package*/ void addProperty(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
{
|
||||
addItem(new PropertyConfig(name, displayLabel, displayLabelId, Boolean.parseBoolean(readOnly), converter));
|
||||
}
|
||||
@@ -170,7 +170,7 @@ public class PropertySheetConfigElement extends ConfigElementAdapter
|
||||
* @param readOnly Sets whether the association should be rendered as read only
|
||||
* @param converter The name of a converter to apply to the association control
|
||||
*/
|
||||
public void addAssociation(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
/*package*/ void addAssociation(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
{
|
||||
addItem(new AssociationConfig(name, displayLabel, displayLabelId, Boolean.parseBoolean(readOnly), converter));
|
||||
}
|
||||
@@ -184,7 +184,7 @@ public class PropertySheetConfigElement extends ConfigElementAdapter
|
||||
* @param readOnly Sets whether the association should be rendered as read only
|
||||
* @param converter The name of a converter to apply to the association control
|
||||
*/
|
||||
public void addChildAssociation(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
/*package*/ void addChildAssociation(String name, String displayLabel, String displayLabelId, String readOnly, String converter)
|
||||
{
|
||||
addItem(new ChildAssociationConfig(name, displayLabel, displayLabelId, Boolean.parseBoolean(readOnly), converter));
|
||||
}
|
||||
|
Reference in New Issue
Block a user