* @param node
* @param slist
*/
private void addNodes(String type, TreeNode<ServiceTreeItem> node, List<Service> slist ) {
for( int i = 0; i < slist.size(); i++ ) {
Service s = slist.get(i);
if( s.getType().startsWith(type) ) {
TreeNodeImpl<ServiceTreeItem> nodeImpl = new TreeNodeImpl<ServiceTreeItem>();
nodeImpl.setData( new ServiceTreeItem(s) );
node.addChild(new Integer(i), nodeImpl);
}
}