Commit 364665a6 authored by Ferdie Reijnen's avatar Ferdie Reijnen
Browse files

#364 Created CIF benchmark wizard.

parent 08c2378f
......@@ -16,4 +16,5 @@ bin.includes = META-INF/,\
.,\
plugin.xml,\
icons/,\
examples/
examples/,\
benchmarks/
......@@ -27,5 +27,15 @@
Create a project that contains various CIF examples.
</description>
</wizard>
<wizard category="org.eclipse.ui.Examples/org.eclipse.escet.cif.examples.category"
class="org.eclipse.escet.cif.examples.CifBenchmarksWizard"
icon="icons/cif_examples.png"
id="org.eclipse.escet.cif.examples.CifBenchmarksWizard"
name="CIF Benchmarks"
project="true">
<description>
Create a project that contains various CIF benchmarks.
</description>
</wizard>
</extension>
</plugin>
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, 2022 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available
// under the terms of the MIT License which is available at
// https://opensource.org/licenses/MIT
//
// SPDX-License-Identifier: MIT
//////////////////////////////////////////////////////////////////////////////
package org.eclipse.escet.cif.examples;
import static org.eclipse.escet.common.java.Maps.map;
import java.util.Map;
import org.eclipse.escet.common.eclipse.ui.CopyFilesNewProjectWizard;
import org.osgi.framework.FrameworkUtil;
/** Wizard to create a CIF benchmarks project. */
public class CifBenchmarksWizard extends CopyFilesNewProjectWizard {
@Override
protected String getInitialProjectName() {
String qualifier = FrameworkUtil.getBundle(getClass()).getVersion().toString();
return "CIFBenchmarks-" + qualifier;
}
@Override
protected Map<String, String> getPathsToCopy() {
Map<String, String> entries = map();
return entries;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment