1 package oic.simulator.serviceprovider.view.dialogs;
3 import org.eclipse.jface.dialogs.IDialogConstants;
4 import org.eclipse.jface.wizard.IWizard;
5 import org.eclipse.jface.wizard.WizardDialog;
6 import org.eclipse.swt.widgets.Button;
7 import org.eclipse.swt.widgets.Composite;
8 import org.eclipse.swt.widgets.Shell;
10 public class ResourceWizardDialog extends WizardDialog {
12 public ResourceWizardDialog(Shell parentShell, IWizard newWizard) {
13 super(parentShell, newWizard);
17 public boolean isHelpAvailable() {
22 public void finishPressed() {
23 super.finishPressed();
27 protected void createButtonsForButtonBar(Composite parent) {
28 super.createButtonsForButtonBar(parent);
29 Button finishButton = getButton(IDialogConstants.FINISH_ID);
30 if (finishButton != null) {
31 finishButton.setText(IDialogConstants.OK_LABEL);