diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/ExportWizard.java')
-rwxr-xr-x | bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/ExportWizard.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/ExportWizard.java b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/ExportWizard.java new file mode 100755 index 000000000..0a75c19f0 --- /dev/null +++ b/bundles/org.eclipse.equinox.p2.ui.importexport/src/org/eclipse/equinox/internal/p2/importexport/internal/wizard/ExportWizard.java @@ -0,0 +1,40 @@ +/******************************************************************************* + * Copyright (c) 2011 WindRiver Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * WindRiver Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.equinox.internal.p2.importexport.internal.wizard; + +import org.eclipse.core.runtime.Platform; +import org.eclipse.equinox.internal.p2.importexport.internal.Constants; +import org.eclipse.equinox.internal.p2.importexport.internal.Messages; +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.ui.IExportWizard; +import org.eclipse.ui.IWorkbench; + + +public class ExportWizard extends AbstractWizard implements IExportWizard { + + public ExportWizard() { + } + + @Override + public void addPages() { + super.addPages(); + mainPage = new ExportPage("mainPage"); //$NON-NLS-1$ + addPage(mainPage); + } + + public void init(IWorkbench workbench, IStructuredSelection selection) { + setWindowTitle(Messages.ExportWizard_WizardTitle); + setDefaultPageImageDescriptor(ImageDescriptor.createFromURL(Platform.getBundle(Constants.Bundle_ID).getEntry("icons/install_wiz.gif"))); //$NON-NLS-1$ + setNeedsProgressMonitor(true); + } + +} |