blob: 97b97a6ac2df52246f7ec3d1676c83264ea74d99 [file] [log] [blame]
/******************************************************************************
* 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 java.net.URL;
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 geoshapes example plug-in.
*/
public class LogicNewWizard
extends ProjectUnzipperNewWizard {
/**
* Wizard page title
*/
private static final String LOGIC_WIZARD_CREATEPROJECTPAGE_TITLE = ResourceManager
.getI18NString("Logic.wizard.createProjectPage.title"); //$NON-NLS-1$
/**
* Wizard page description
*/
private static final String LOGIC_WIZARD_CREATEPROJECTPAGE_DESC = ResourceManager
.getI18NString("Logic.wizard.createProjectPage.desc"); //$NON-NLS-1$
/**
* Constructor.
*/
public LogicNewWizard() {
super("exampleProjectLocation", //$NON-NLS-1$
LOGIC_WIZARD_CREATEPROJECTPAGE_TITLE,
LOGIC_WIZARD_CREATEPROJECTPAGE_DESC,
"org.eclipse.gmf.examples.runtime.diagram.logic", //$NON-NLS-1$
new URL[] {
GmfExamplesPlugin.getDefault().find(
new Path("examples/logic.zip")), //$NON-NLS-1$
GmfExamplesPlugin.getDefault().find(
new Path("examples/logicSemantic.zip")), //$NON-NLS-1$
GmfExamplesPlugin.getDefault().find(
new Path("examples/logicSemanticEdit.zip")), //$NON-NLS-1$
GmfExamplesPlugin.getDefault().find(
new Path("examples/logicSemanticEditor.zip")) //$NON-NLS-1$
}, new String[] {"{0}", "{0}.semantic", "{0}.semantic.edit", "{0}.semantic.editor"} //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
);
}
}