* @see org.eclipse.ui.internal.intro.impl.model.AbstractIntroPartImplementation#navigateHome()
*/
public boolean navigateHome() {
// Home is URL of root page in static case, and root page in
// dynamic.
IntroHomePage rootPage = getModel().getHomePage();
boolean success = false;
if (getModel().isDynamic()) {
// special case for when workbench is started with a cached URL. We
// set the url in the browser, but current page is Home Page, and so
// setting the root page will not fire an event. So, force a
// generation
// of root page.
if (history.currentLocationIsUrl())
generateDynamicContentForPage(rootPage);
success = getModel().setCurrentPageId(rootPage.getId());
updateHistory(rootPage);
} else {
String location = rootPage.getUrl();
success = browser.setUrl(location);
updateHistory(location);
}
return success;