1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.project
.dialogs
;
15 import org
.eclipse
.jface
.viewers
.IStructuredSelection
;
16 import org
.eclipse
.linuxtools
.tmf
.ui
.views
.project
.model
.TmfProjectNode
;
17 import org
.eclipse
.ui
.IWorkbench
;
18 import org
.eclipse
.ui
.internal
.wizards
.datatransfer
.WizardFileSystemResourceImportPage1
;
21 * <b><u>ImportTraceWizardPage</u></b>
23 * TODO: Implement me. Please.
25 @SuppressWarnings("restriction")
26 public class ImportTraceWizardPage
extends WizardFileSystemResourceImportPage1
{
28 public ImportTraceWizardPage(IWorkbench workbench
, IStructuredSelection selection
) {
29 super(workbench
, selection
);
30 TmfProjectNode folder
= (TmfProjectNode
) selection
.getFirstElement();
31 String path
= folder
.getTracesFolder().getFolder().getFullPath().toOSString();
32 setContainerFieldValue(path
);