diff -r 000000000000 -r 522a326673b6 sysmodelmgr/com.symbian.smt.gui/src/com/symbian/smt/gui/exportwizards/ExportSystemModelDiagram.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysmodelmgr/com.symbian.smt.gui/src/com/symbian/smt/gui/exportwizards/ExportSystemModelDiagram.java Thu Mar 11 19:08:43 2010 +0200 @@ -0,0 +1,41 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +package com.symbian.smt.gui.exportwizards; + +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.wizard.Wizard; +import org.eclipse.ui.IExportWizard; +import org.eclipse.ui.IWorkbench; + +public class ExportSystemModelDiagram extends Wizard implements IExportWizard { + + private ExportSelectionPage page; + + public void addPages(IStructuredSelection selection) { + page = new ExportSelectionPage(selection); + addPage(page); + } + + public void init(IWorkbench workbench, IStructuredSelection selection) { + setWindowTitle("System Model Manager Export Wizard"); + addPages(selection); + } + + @Override + public boolean performFinish() { + return page.copyFile(); + } +} \ No newline at end of file