}
/*
The landing panel
*/
NavItem item = new NavItem(LANDING_NAV_ITEM_ID, getStrings().landing(),
getStrings().landing_tt(), generateNavItemURL(LANDING_NAV_ITEM_ID));
m_navBar.add(item);
m_panels.put(item, new LandingPanel());
/*
The overview panel
*/
item = new NavItem(OVERVIEW_NAV_ITEM_ID, getStrings().overview(),
getStrings().overview_tt(), generateNavItemURL(OVERVIEW_NAV_ITEM_ID));
m_navBar.add(item);
m_panels.put(item, new OverviewPanel());
/*
The Getting started panels
*/
item = new NavItem(GET_STARTED_NAV_ITEM_ID, getStrings().getStarted(),
getStrings().getStarted_tt(), generateNavItemURL(GET_STARTED_NAV_ITEM_ID));
m_navBar.add(item);
m_panels.put(item, new GetStartedPanel());
/*
The samples panels
*/
item = new NavItem(SAMPLES_NAV_ITEM_ID, getStrings().samples(),
getStrings().samples_tt(), generateNavItemURL(SAMPLES_NAV_ITEM_ID));
m_navBar.add(item);
m_panels.put(item, new SamplesPanel());
/*
* Collapsible Features Nav Section
*/
NavSection featureSection = new NavSection("featuresNavSection", getStrings().features());
featureSection.setTitle(getStrings().features_tt());
m_navBar.add(featureSection);
/*
The CSS panel
*/
item = new NavItem(CSS_NAV_ITEM_ID, getStrings().css(), getStrings().css_tt(), generateNavItemURL(CSS_NAV_ITEM_ID));
featureSection.add(item);
m_panels.put(item, new CSSPanel());
/*
The date info panel
*/
item = new NavItem(DATES_NAV_ITEM_ID, getStrings().l10n(), getStrings().l10n_tt(), generateNavItemURL(DATES_NAV_ITEM_ID));
featureSection.add(item);
m_panels.put(item, new DatePanel());
/*
The rest info panel
*/
item = new NavItem(REST_NAV_ITEM_ID, getStrings().restTitle(),
getStrings().restTitle_tt(), generateNavItemURL(REST_NAV_ITEM_ID));
featureSection.add(item);
m_panels.put(item, new RESTPanel());
/*
The authentication info panel
*/
item = new NavItem(AUTH_NAV_ITEM_ID, getStrings().auth(),
getStrings().auth_tt(), generateNavItemURL(AUTH_NAV_ITEM_ID));
featureSection.add(item);
m_panels.put(item, new AuthPanel());
/*
The build info panel
*/
item = new NavItem(SPEED_NAV_ITEM_ID, getStrings().speed(),
getStrings().speed_tt(), generateNavItemURL(SPEED_NAV_ITEM_ID));
featureSection.add(item);
m_panels.put(item, new BuildPanel());
addSamplePanels();