org.dawnsci.plotting.tools.diffraction.ConfigurableMessageDialog.java Source code

Java tutorial

Introduction

Here is the source code for org.dawnsci.plotting.tools.diffraction.ConfigurableMessageDialog.java

Source

/*
 * Copyright (c) 2012 Diamond Light Source Ltd.
 *
 * 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
 */
package org.dawnsci.plotting.tools.diffraction;

import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Shell;

public class ConfigurableMessageDialog extends MessageDialog {

    public ConfigurableMessageDialog(Shell parentShell, String dialogTitle, Image dialogTitleImage,
            String dialogMessage, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) {
        super(parentShell, dialogTitle, dialogTitleImage, dialogMessage, dialogImageType, dialogButtonLabels,
                defaultIndex);
    }

    public void setShellStyle(int newShellStyle) {
        super.setShellStyle(newShellStyle);
    }
}