| 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 | |
| 15 | /** |
| 16 | * <b><u>IImportConfirmationDialog</u></b> |
| 17 | * <p> |
| 18 | * Interface for dialog box for updating file import information. |
| 19 | * </p> |
| 20 | */ |
| 21 | public interface IImportConfirmationDialog { |
| 22 | |
| 23 | // ------------------------------------------------------------------------ |
| 24 | // Accessors |
| 25 | // ------------------------------------------------------------------------ |
| 26 | /** |
| 27 | * @param name old trace name. |
| 28 | */ |
| 29 | public void setTraceName(String name); |
| 30 | |
| 31 | /** |
| 32 | * @return the new trace name if not overwrite. |
| 33 | */ |
| 34 | public String getNewTraceName(); |
| 35 | |
| 36 | /** |
| 37 | * |
| 38 | * @return true to overwrite existing trace. |
| 39 | */ |
| 40 | public boolean isOverwrite(); |
| 41 | |
| 42 | // ------------------------------------------------------------------------ |
| 43 | // Operations |
| 44 | // ------------------------------------------------------------------------ |
| 45 | /** |
| 46 | * @return the open return value |
| 47 | */ |
| 48 | int open(); |
| 49 | } |