1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson.
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
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.tracecompass
.internal
.tmf
.ui
.project
.wizards
.importtrace
;
15 * Enumeration for import conflict dialog
17 * @author Bernd Hufmann
19 public enum ImportConfirmation
{
21 // ------------------------------------------------------------------------
23 // ------------------------------------------------------------------------
25 RENAME(Messages
.ImportTraceWizard_ImportConfigurationRename
),
27 RENAME_ALL(Messages
.ImportTraceWizard_ImportConfigurationRenameAll
),
28 /** Single overwrite */
29 OVERWRITE(Messages
.ImportTraceWizard_ImportConfigurationOverwrite
),
31 OVERWRITE_ALL(Messages
.ImportTraceWizard_ImportConfigurationOverwriteAll
),
33 SKIP(Messages
.ImportTraceWizard_ImportConfigurationSkip
),
35 SKIP_ALL(Messages
.ImportTraceWizard_ImportConfigurationSkipAll
),
37 CONTINUE("CONTINUE"); //$NON-NLS-1$
39 // ------------------------------------------------------------------------
41 // ------------------------------------------------------------------------
45 private final String fInName
;
47 // ------------------------------------------------------------------------
49 // ------------------------------------------------------------------------
56 private ImportConfirmation(String name
) {
60 // ------------------------------------------------------------------------
62 // ------------------------------------------------------------------------
66 public String
getInName() {