Author: julien(a)jboss.com
Date: 2008-03-27 06:45:01 -0400 (Thu, 27 Mar 2008)
New Revision: 10390
Modified:
branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model2/Refresh.java
branches/presentation/presentation/src/main/org/jboss/portal/presentation/model2/ViewPortContext.java
branches/presentation/presentation/src/main/org/jboss/portal/presentation/test/model2/UIObjectTree.java
Log:
rename initChildren method name to createChildren
Modified:
branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model2/Refresh.java
===================================================================
---
branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model2/Refresh.java 2008-03-27
07:08:25 UTC (rev 10389)
+++
branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model2/Refresh.java 2008-03-27
10:45:01 UTC (rev 10390)
@@ -164,7 +164,7 @@
if (!hadChildren)
{
object.childrenRefs = new HashMap<String, UIObjectImpl.ChildRef>();
- context.initChildren(objectId);
+ context.createChildren(objectId);
}
//
@@ -379,7 +379,7 @@
Map<String, UIObjectImpl.ChildRef> childrenRefs = new
HashMap<String, UIObjectImpl.ChildRef>(structuralChildren.size());
//
- context.initChildren(structuralObject.getId());
+ context.createChildren(structuralObject.getId());
//
for (StructuralObject structuralChild : structuralChildren)
Modified:
branches/presentation/presentation/src/main/org/jboss/portal/presentation/model2/ViewPortContext.java
===================================================================
---
branches/presentation/presentation/src/main/org/jboss/portal/presentation/model2/ViewPortContext.java 2008-03-27
07:08:25 UTC (rev 10389)
+++
branches/presentation/presentation/src/main/org/jboss/portal/presentation/model2/ViewPortContext.java 2008-03-27
10:45:01 UTC (rev 10390)
@@ -35,7 +35,7 @@
void addObject(UIObject object);
- void initChildren(String parentId);
+ void createChildren(String parentId);
void destroyChildren(String parentId);
Modified:
branches/presentation/presentation/src/main/org/jboss/portal/presentation/test/model2/UIObjectTree.java
===================================================================
---
branches/presentation/presentation/src/main/org/jboss/portal/presentation/test/model2/UIObjectTree.java 2008-03-27
07:08:25 UTC (rev 10389)
+++
branches/presentation/presentation/src/main/org/jboss/portal/presentation/test/model2/UIObjectTree.java 2008-03-27
10:45:01 UTC (rev 10390)
@@ -137,7 +137,7 @@
parent.removeChild(child);
}
- public void initChildren(String parentId)
+ public void createChildren(String parentId)
{
UIObjectNode parent = nodes.get(parentId);
if (parent == null)
Show replies by date