/*************************************************************************************
 * 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.designer.ui.dialogs;

import org.eclipse.birt.report.designer.internal.ui.dialogs.ParameterGroupGeneralPage;
import org.eclipse.birt.report.designer.internal.ui.dialogs.TabDialog;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.swt.widgets.Shell;

/**
 * The dialog used to create or edit a parameter group
 */

public class ParameterGroupDialog extends TabDialog
{

	private static final String GENERAL_PAGE_TITLE = Messages.getString( "ParameterGroupDialog.Page.Title" );//$NON-NLS-1$

	/**
	 * The constructor.
	 * 
	 * @param parentShell
	 * @param title
	 */
	public ParameterGroupDialog( Shell parentShell, String title )
	{
		super( parentShell, title );
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.internal.ui.dialogs.TabDialog#addTabPages()
	 */
	public void addTabPages( )
	{
		addTabPage( new ParameterGroupGeneralPage( GENERAL_PAGE_TITLE ) ); //$NON-NLS-1$
	}

}