/*************************************************************************************
 * Copyright (c) 2004 Actuate Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Actuate Corporation - Initial implementation.
 ************************************************************************************/

package org.eclipse.birt.report.presentation.aggregation.layout;

import org.eclipse.birt.report.presentation.aggregation.BirtBaseFragment;
import org.eclipse.birt.report.presentation.aggregation.control.TocFragment;
import org.eclipse.birt.report.presentation.aggregation.dialog.DialogContainerFragment;
import org.eclipse.birt.report.presentation.aggregation.dialog.ExceptionDialogFragment;
import org.eclipse.birt.report.presentation.aggregation.dialog.ParameterDialogFragment;
import org.eclipse.birt.report.presentation.aggregation.dialog.SimpleExportDataDialogFragment;

/**
 * Navigation fragment.
 * <p>
 * @see BaseFragment
 */
public class SidebarFragment extends BirtBaseFragment
{
	/**
	 * Build fragment by adding navigation fragment root.
	 */
	protected void build( )
	{
		addChild( new TocFragment( ) );
		addChild( new DialogContainerFragment( new SimpleExportDataDialogFragment( ) ) );
		addChild( new DialogContainerFragment( new ExceptionDialogFragment( ) ) );
		addChild( new DialogContainerFragment( new ParameterDialogFragment( ) ) );
	}
}