return sp;
}
protected void handleChildren(AbstractClient rootHandler, IContainer c, DomNode element)
{
SplitPane sp = (SplitPane) c;
List firstChild = getChildrenByTag(element, "firstComponent");
if (firstChild.size() > 0)
{
DomNode childNode = (DomNode) firstChild.get(0);
Widget w = (Widget) rootHandler.handle(c, getFirstChildElement(childNode));
sp.setFirstComponent(w);
}
List secondChild = getChildrenByTag(element, "secondComponent");
if (secondChild.size() > 0)
{
DomNode childNode = (DomNode) secondChild.get(0);
Widget w = (Widget) rootHandler.handle(c, getFirstChildElement(childNode));
sp.setSecondComponent(w);
}
}