core/com.nokia.carbide.bugreport/src/com/nokia/carbide/internal/bugreport/ui/wizards/BugReporterWizardDialog.java
author timkelly
Fri, 27 Mar 2009 10:47:09 -0500
changeset 17 71c0485f97c2
parent 2 d760517a8095
permissions -rw-r--r--
new image for CDK

/*
* 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);
	}
}