sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/actions/SaveSamples.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.carbide.cpp.internal.pi.actions; |
|
19 |
|
20 import org.eclipse.jface.wizard.Wizard; |
|
21 import org.eclipse.jface.wizard.WizardDialog; |
|
22 import org.eclipse.ui.PlatformUI; |
|
23 |
|
24 import com.nokia.carbide.cpp.internal.pi.interfaces.ISaveSamples; |
|
25 import com.nokia.carbide.cpp.internal.pi.save.SaveSamplesWizard; |
|
26 |
|
27 |
|
28 public class SaveSamples { |
|
29 public SaveSamples(ISaveSamples saveSamples) { |
|
30 WizardDialog dialog; |
|
31 Wizard wizard = new SaveSamplesWizard(saveSamples); |
|
32 dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard); |
|
33 dialog.open(); |
|
34 } |
|
35 } |