4c36519cee601e342cbe9ddc69d1a7671f4b26b0
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui / src / org / eclipse / linuxtools / internal / lttng2 / control / ui / views / dialogs / IConfirmDialog.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.control.ui.views.dialogs;
13
14 import org.eclipse.swt.widgets.Shell;
15
16 /**
17 * <p>
18 * Interface for a confirmation dialog.
19 * </p>
20 *
21 * @author Bernd Hufmann
22 */
23 public interface IConfirmDialog {
24
25 /**
26 * Open a confirmation dialog
27 *
28 * @param parent
29 * The parent shell
30 * @param title
31 * The title of the dialog window
32 * @param message
33 * The message in the dialog window
34 * @return If the user clicked OK (true) or Cancel (false)
35 */
36 boolean openConfirm(Shell parent, String title, String message);
37
38 }
This page took 0.030927 seconds and 4 git commands to generate.