lttng: Rename lttng2 feature/plugins to lttng2.control
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.control.ui / src / org / eclipse / linuxtools / internal / lttng2 / control / ui / views / dialogs / ConfirmDialog.java
... / ...
CommitLineData
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
13package org.eclipse.linuxtools.internal.lttng2.control.ui.views.dialogs;
14
15
16import org.eclipse.jface.dialogs.MessageDialog;
17import org.eclipse.linuxtools.internal.lttng2.control.ui.views.messages.Messages;
18import org.eclipse.swt.widgets.Shell;
19
20/**
21 * <p>
22 * Confirmation dialog implementation.
23 * </p>
24 *
25 * @author Bernd Hufmann
26 */
27
28public class ConfirmDialog implements IConfirmDialog {
29
30 @Override
31 public boolean openConfirm(Shell parent, String title, String message) {
32 return MessageDialog.openConfirm(parent,
33 Messages.TraceControl_DestroyConfirmationTitle,
34 Messages.TraceControl_DestroyConfirmationMessage);
35 }
36}
This page took 0.023775 seconds and 5 git commands to generate.