Commit | Line | Data |
---|---|---|
a26d90be BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 Ericsson | |
8e8c0226 | 3 | * |
a26d90be BH |
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 | |
8e8c0226 AM |
8 | * |
9 | * Contributors: | |
a26d90be BH |
10 | * Bernd Hufmann - Initial API and implementation |
11 | **********************************************************************/ | |
8e8c0226 | 12 | package org.eclipse.linuxtools.internal.lttng2.control.stubs.dialogs; |
a26d90be | 13 | |
8e8c0226 | 14 | import org.eclipse.linuxtools.internal.lttng2.control.ui.views.dialogs.IConfirmDialog; |
a26d90be BH |
15 | import org.eclipse.swt.widgets.Shell; |
16 | ||
17 | /** | |
8e8c0226 | 18 | * A confirmation dialog stub implementation. |
a26d90be BH |
19 | */ |
20 | public class DestroyConfirmDialogStub implements IConfirmDialog { | |
21 | ||
22 | @Override | |
23 | public boolean openConfirm(Shell parent, String title, String message) { | |
24 | return true; | |
25 | } | |
26 | } |