Commit | Line | Data |
---|---|---|
291cbdbf | 1 | /********************************************************************** |
a6e6f7b4 BH |
2 | * Copyright (c) 2012, 2013 Ericsson |
3 | * | |
291cbdbf 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 | |
a6e6f7b4 BH |
8 | * |
9 | * Contributors: | |
291cbdbf BH |
10 | * Bernd Hufmann - Initial API and implementation |
11 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs; | |
13 | ||
291cbdbf | 14 | /** |
291cbdbf BH |
15 | * <p> |
16 | * Interface for dialog box for updating file import information. | |
17 | * </p> | |
a6e6f7b4 | 18 | * |
dbd4432d | 19 | * @author Bernd Hufmann |
291cbdbf BH |
20 | */ |
21 | public interface IImportConfirmationDialog { | |
a6e6f7b4 | 22 | |
291cbdbf BH |
23 | // ------------------------------------------------------------------------ |
24 | // Accessors | |
25 | // ------------------------------------------------------------------------ | |
26 | /** | |
27 | * @param name old trace name. | |
28 | */ | |
a6e6f7b4 | 29 | void setTraceName(String name); |
291cbdbf BH |
30 | |
31 | /** | |
32 | * @return the new trace name if not overwrite. | |
33 | */ | |
a6e6f7b4 BH |
34 | String getNewTraceName(); |
35 | ||
291cbdbf | 36 | /** |
a6e6f7b4 | 37 | * |
291cbdbf BH |
38 | * @return true to overwrite existing trace. |
39 | */ | |
a6e6f7b4 BH |
40 | boolean isOverwrite(); |
41 | ||
291cbdbf BH |
42 | // ------------------------------------------------------------------------ |
43 | // Operations | |
44 | // ------------------------------------------------------------------------ | |
45 | /** | |
46 | * @return the open return value | |
47 | */ | |
48 | int open(); | |
49 | } |