// prepare page action called on all physical pages
PageAction simulateSmartEditUsage = new SimulateSmartEditUsagePageAction();
// walk through all physical child pages for all given start pages
Page startPg = project.getPageById(startPageId);
walker.walk(startPg, simulateSmartEditUsage);
}
}