core/com.nokia.carbide.bugreport/src/com/nokia/carbide/internal/bugreport/ui/wizards/BugReporterWizardDialog.java
author fturovic <frank.turovich@nokia.com>
Wed, 13 Oct 2010 14:15:17 -0500
changeset 2156 76029713f570
parent 0 fb279309251b
permissions -rw-r--r--
updated version to 3.1 in text

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/
 
package com.nokia.carbide.internal.bugreport.ui.wizards;

import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jface.dialogs.*;

import com.nokia.carbide.internal.bugreport.resources.Messages;

/**
 * Our own wizard dialog class, so that we can have Send Report button 
 * instead of Finish button in the wizard.
 *
 */
public class BugReporterWizardDialog extends WizardDialog{

	@Override
	public void create() {
		super.create();
		
		getButton(IDialogConstants.FINISH_ID).setText(Messages.getString("BugReporterWizardDialog.SendReport")); //$NON-NLS-1$
	}

	public BugReporterWizardDialog(Shell parentShell, IWizard newWizard) {
		super(parentShell, newWizard);
	}
}