| /****************************************************************************** |
| * Copyright (c) 2005 IBM 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: |
| * IBM Corporation - initial API and implementation |
| ****************************************************************************/ |
| |
| |
| package org.eclipse.gmf.examples.runtime.ui.pde.internal.wizards; |
| |
| import org.eclipse.core.runtime.Path; |
| |
| import org.eclipse.gmf.examples.runtime.ui.pde.internal.GmfExamplesPlugin; |
| import org.eclipse.gmf.examples.runtime.ui.pde.internal.l10n.ResourceManager; |
| |
| /** |
| * This wizard generates the Review Decorator plug-in sample. |
| */ |
| public class DecoratorNewWizard |
| extends ProjectUnzipperNewWizard { |
| |
| /** Wizard page title. */ |
| private static final String DECORATORSERVICE_WIZARD_CREATEPROJECTPAGE_TITLE = ResourceManager |
| .getI18NString("DecoratorService.wizard.createProjectPage.title"); //$NON-NLS-1$ |
| |
| /** Wizard page description. */ |
| private static final String DECORATORSERVICE_WIZARD_CREATEPROJECTPAGE_DESC = ResourceManager |
| .getI18NString("DecoratorService.wizard.createProjectPage.desc"); //$NON-NLS-1$ |
| |
| /** |
| * Constructor |
| */ |
| public DecoratorNewWizard() { |
| super("exampleProjectLocation", //$NON-NLS-1$ |
| DECORATORSERVICE_WIZARD_CREATEPROJECTPAGE_TITLE, |
| DECORATORSERVICE_WIZARD_CREATEPROJECTPAGE_DESC, |
| "org.eclipse.gmf.examples.runtime.diagram.decorator", //$NON-NLS-1$ |
| GmfExamplesPlugin |
| .getDefault().find(new Path("examples/servicesDecorator.zip"))); //$NON-NLS-1$ |
| } |
| } |