| 1 | /********************************************************************** |
| 2 | * Copyright (c) 2012 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.ui.views.control.dialogs; |
| 13 | |
| 14 | import org.eclipse.swt.widgets.Shell; |
| 15 | |
| 16 | /** |
| 17 | * <b><u>IConfirmDialog</u></b> |
| 18 | * <p> |
| 19 | * Interface for a confirmation dialog. |
| 20 | * </p> |
| 21 | */ |
| 22 | public interface IConfirmDialog { |
| 23 | |
| 24 | public boolean openConfirm(Shell parent, String title, String message); |
| 25 | |
| 26 | } |