From 171964864636a8cbed0849f8216d7b6f728d8271 Mon Sep 17 00:00:00 2001 From: Nicholas Pacini <nicholas.pacini@intecs.it> Date: Wed, 13 May 2020 10:01:12 +0200 Subject: [PATCH 1/5] Update and polishing of Mobius plugins small fix to projectFileTemplate added/updated copyright headers and license file old tasks removal --- .../about.html | 28 ++++ .../about.html | 28 ++++ .../about.html | 28 ++++ .../mobius/handlers/CHESS2SANRunner.java | 25 +-- .../projectFileTemplate_sanmodel.mtl | 3 - .../transformations/QVToTransformation.java | 25 +-- .../chess/mobius/utils/QVTBlackBox.java | 15 ++ .../tasks/RewardTemplate.xml | 154 ------------------ .../tasks/RewardTemplateTarget.xml | 19 --- .../tasks/atomicComponentRewardTemplate.xml | 154 ------------------ .../tasks/atomicComponentTemplate.xml | 154 ------------------ .../tasks/atomicComponentTemplateTarget.xml | 19 --- .../atomicComponentTemplate_fromSANmodel.xml | 153 ----------------- .../atomicComponentTemplate_sanmodel.xml | 9 +- .../tasks/attackScenarioTemplate.xml | 154 ------------------ .../tasks/attackScenarioTemplateTarget.xml | 19 --- .../tasks/attackSimpleTemplate.xml | 105 ------------ .../tasks/attackSimpleTemplateTarget.xml | 19 --- .../tasks/attackTemplate.xml | 105 ------------ .../tasks/attackTemplateTarget.xml | 19 --- .../tasks/composedComponentTemplate.xml | 154 ------------------ .../tasks/composedComponentTemplateTarget.xml | 19 --- .../composedComponentTemplate_sanmodel.xml | 9 +- .../tasks/projectFileTemplate.xml | 154 ------------------ .../tasks/projectFileTemplateTarget.xml | 19 --- .../tasks/projectFileTemplate_sanmodel.xml | 9 +- .../tasks/vulnerableComponentsTemplate.xml | 154 ------------------ .../vulnerableComponentsTemplateTarget.xml | 19 --- 28 files changed, 134 insertions(+), 1638 deletions(-) create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model/about.html delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentRewardTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_fromSANmodel.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplateTarget.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplate.xml delete mode 100644 plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplateTarget.xml diff --git a/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html b/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html new file mode 100644 index 000000000..58211cf15 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>May 28, 2019</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html> diff --git a/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html b/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html new file mode 100644 index 000000000..58211cf15 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>May 28, 2019</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html> diff --git a/plugins/mobius/org.polarsys.chess.mobius.model/about.html b/plugins/mobius/org.polarsys.chess.mobius.model/about.html new file mode 100644 index 000000000..58211cf15 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>May 28, 2019</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html> diff --git a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/handlers/CHESS2SANRunner.java b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/handlers/CHESS2SANRunner.java index 76af5b459..fcd744f62 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/handlers/CHESS2SANRunner.java +++ b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/handlers/CHESS2SANRunner.java @@ -1,15 +1,16 @@ -/******************************************************************************* - * CHESS Mobius plugin - * - * Copyright (C) 2019 - * Intecs - * - * - * 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 - *******************************************************************************/ +/********************************************************************* +* Copyright (c) 2019 Intecs Solutions SpA +* +* This program and the accompanying materials are made +* available under the terms of the Eclipse Public License 2.0 +* which is available at https://www.eclipse.org/legal/epl-2.0/ +* +* SPDX-License-Identifier: EPL-2.0 +* +* Contributors: +* Intecs Solutions - Initial API and implementation +* +**********************************************************************/ package org.polarsys.chess.mobius.handlers; import static org.polarsys.chess.core.util.CHESSProjectSupport.printlnToCHESSConsole; diff --git a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/templates/projectFileTemplate_sanmodel.mtl b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/templates/projectFileTemplate_sanmodel.mtl index 2ad40a45c..001cde73d 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/templates/projectFileTemplate_sanmodel.mtl +++ b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/templates/projectFileTemplate_sanmodel.mtl @@ -28,9 +28,6 @@ [if (node.oclIsKindOf(AtomicNode))] <atomic key="[node.oclAsType(AtomicNode).model.replaceAll('\\.', '_')/]"> <value name="[node.oclAsType(AtomicNode).model.replaceAll('\\.', '_')/]" type="SAN Model"/> - </atomic> - <atomic key="[node.oclAsType(AtomicNode).name.replaceAll('\\.', '_')/]"> - <value name="[node.oclAsType(AtomicNode).name.replaceAll('\\.', '_')/]" type="SAN Model"/> </atomic> [else] [if (node.oclIsKindOf(ComposedNode) and node.eContainer().oclIsKindOf(SANModel))] diff --git a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/transformations/QVToTransformation.java b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/transformations/QVToTransformation.java index f31d36448..d0e2c076f 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/transformations/QVToTransformation.java +++ b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/transformations/QVToTransformation.java @@ -1,15 +1,16 @@ -/******************************************************************************* - * CHESS Mobius plugin - * - * Copyright (C) 2019 - * Intecs - * - * - * 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 - *******************************************************************************/ +/********************************************************************* +* Copyright (c) 2019 Intecs Solutions SpA +* +* This program and the accompanying materials are made +* available under the terms of the Eclipse Public License 2.0 +* which is available at https://www.eclipse.org/legal/epl-2.0/ +* +* SPDX-License-Identifier: EPL-2.0 +* +* Contributors: +* Intecs Solutions - Initial API and implementation +* +**********************************************************************/ package org.polarsys.chess.mobius.transformations; diff --git a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/utils/QVTBlackBox.java b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/utils/QVTBlackBox.java index 30c860c75..34ab96c72 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/utils/QVTBlackBox.java +++ b/plugins/mobius/org.polarsys.chess.mobius/src/org/polarsys/chess/mobius/utils/QVTBlackBox.java @@ -1,3 +1,18 @@ + +/********************************************************************* +* Copyright (c) 2019 Intecs Solutions SpA +* +* This program and the accompanying materials are made +* available under the terms of the Eclipse Public License 2.0 +* which is available at https://www.eclipse.org/legal/epl-2.0/ +* +* SPDX-License-Identifier: EPL-2.0 +* +* Contributors: +* Intecs Solutions - Initial API and implementation +* +**********************************************************************/ + package org.polarsys.chess.mobius.utils; import java.util.ArrayList; diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplate.xml deleted file mode 100644 index edf9d0a7a..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="RewardTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/workspace_san3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="RewardTemplate"> - <java classname="org.polarsys.chess.mobius.templates.RewardTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="RewardTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.RewardTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplateTarget.xml deleted file mode 100644 index fb860c909..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/RewardTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="RewardTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/RewardTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="RewardTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="RewardTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentRewardTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentRewardTemplate.xml deleted file mode 100644 index 69441b284..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentRewardTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="atomicComponentRewardTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_2"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="atomicComponentRewardTemplate"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentRewardTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="atomicComponentRewardTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentRewardTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate.xml deleted file mode 100644 index 618c9ab76..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="atomicComponentTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="atomicComponentTemplate"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="atomicComponentTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplateTarget.xml deleted file mode 100644 index da1622b51..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="atomicComponentTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/atomicComponentTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="atomicComponentTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="atomicComponentTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_fromSANmodel.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_fromSANmodel.xml deleted file mode 100644 index ffea269f9..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_fromSANmodel.xml +++ /dev/null @@ -1,153 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="atomicComponentTemplate_fromSANmodel" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/workspace_san/org.eclipse.uml2.uml/bin"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="atomicComponentTemplate_fromSANmodel"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentTemplate_fromSANmodel" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="atomicComponentTemplate_fromSANmodel.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AtomicComponentTemplate_fromSANmodel" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_sanmodel.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_sanmodel.xml index c88ba2281..f54e5e997 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_sanmodel.xml +++ b/plugins/mobius/org.polarsys.chess.mobius/tasks/atomicComponentTemplate_sanmodel.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project default="atomicComponentTemplate_sanmodel" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> + <property name="ECLIPSE_HOME" value="../../../../../../EclipseCHESS-Neon-win32-x86_64_1.0.0RC1"/> + <property name="ECLIPSE_WORKSPACE" value="../../../../../../runtime-EclipseApplication"/> <!-- The classpath with only the dependencies used by the project --> <path id="org.polarsys.chess.mobius.libraryclasspath"> @@ -49,8 +49,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> @@ -86,7 +84,7 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> + <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.0.201703081153.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> @@ -114,7 +112,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> </path> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplate.xml deleted file mode 100644 index 2e9560703..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="AttackScenarioTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="AttackScenarioTemplate"> - <java classname="org.polarsys.chess.mobius.templates.AttackScenarioTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="AttackScenarioTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AttackScenarioTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplateTarget.xml deleted file mode 100644 index 303b743e9..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackScenarioTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="AttackScenarioTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/AttackScenarioTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="AttackScenarioTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="AttackScenarioTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplate.xml deleted file mode 100644 index d5310be48..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplate.xml +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="attackSimpleTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../AQUAS/City/Eclipse"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../AQUAS/City/Workspace-aquas"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.0.0.201506111452.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201903150152.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="attackSimpleTemplate"> - <java classname="org.polarsys.chess.mobius.templates.AttackSimpleTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="attackSimpleTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AttackSimpleTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplateTarget.xml deleted file mode 100644 index 85abf33f7..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackSimpleTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="attackSimpleTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/attackSimpleTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="attackSimpleTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="attackSimpleTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplate.xml deleted file mode 100644 index 515f0b423..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplate.xml +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="attackTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../AQUAS/City/Eclipse"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../AQUAS/City/Workspace-aquas"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.0.0.201506111452.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201903150152.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="attackTemplate"> - <java classname="org.polarsys.chess.mobius.templates.AttackTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="attackTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.AttackTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplateTarget.xml deleted file mode 100644 index d567d541f..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/attackTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="attackTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/attackTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="attackTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="attackTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate.xml deleted file mode 100644 index 747b250da..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="composedComponentTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="composedComponentTemplate"> - <java classname="org.polarsys.chess.mobius.templates.ComposedComponentTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="composedComponentTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.ComposedComponentTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplateTarget.xml deleted file mode 100644 index 9865c14ff..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="composedComponentTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/composedComponentTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="composedComponentTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="composedComponentTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate_sanmodel.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate_sanmodel.xml index 4fb71225d..442194402 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate_sanmodel.xml +++ b/plugins/mobius/org.polarsys.chess.mobius/tasks/composedComponentTemplate_sanmodel.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project default="composedComponentTemplate_sanmodel" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> + <property name="ECLIPSE_HOME" value="../../../../../../EclipseCHESS-Neon-win32-x86_64_1.0.0RC1"/> + <property name="ECLIPSE_WORKSPACE" value="../../../../../../runtime-EclipseApplication"/> <!-- The classpath with only the dependencies used by the project --> <path id="org.polarsys.chess.mobius.libraryclasspath"> @@ -49,8 +49,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> @@ -86,7 +84,7 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> + <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.0.201703081153.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> @@ -114,7 +112,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> </path> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate.xml deleted file mode 100644 index 62521fa6e..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="projectFileTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="projectFileTemplate"> - <java classname="org.polarsys.chess.mobius.templates.ProjectFileTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="projectFileTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.ProjectFileTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplateTarget.xml deleted file mode 100644 index c85208082..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="projectFileTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/projectFileTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="projectFileTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="projectFileTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate_sanmodel.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate_sanmodel.xml index 90e4732b5..ed93b0b0e 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate_sanmodel.xml +++ b/plugins/mobius/org.polarsys.chess.mobius/tasks/projectFileTemplate_sanmodel.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <project default="projectFileTemplate_sanmodel" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> + <property name="ECLIPSE_HOME" value="../../../../../../EclipseCHESS-Neon-win32-x86_64_1.0.0RC1"/> + <property name="ECLIPSE_WORKSPACE" value="../../../../../../runtime-EclipseApplication"/> <!-- The classpath with only the dependencies used by the project --> <path id="org.polarsys.chess.mobius.libraryclasspath"> @@ -49,8 +49,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> @@ -86,7 +84,7 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> + <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.0.201703081153.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> @@ -114,7 +112,6 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> </path> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplate.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplate.xml deleted file mode 100644 index 7cb818263..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplate.xml +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project default="vulnerableComponentsTemplate" name="org.polarsys.chess.mobius"> - <property name="ECLIPSE_HOME" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/runtime-New_configuration_3"/> - - <!-- The classpath with only the dependencies used by the project --> - <path id="org.polarsys.chess.mobius.libraryclasspath"> - <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.mobius/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.108.1.v20160929-1045.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.12.2.v20170113-2113.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.108.3.v20170216-1539.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.13.100.v20160506-0759.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.6.0.v20160523-1914.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.4.0.v20160521-2033.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.1.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20170227-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.9.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.service_0.11.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.polarsys.chess.core_0.9.0.201812071049.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.ui_1.3.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.tools_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.log_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_15.0.0.v201403281430.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding.observable_1.6.0.v20160511-1747.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sashwindows.di_1.2.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.transaction_1.9.0.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.edit_2.12.0.v20160526-0356.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.change_2.11.0.v20160420-0247.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.validation_1.8.0.201606071713.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.expressions_3.5.100.v20160418-1621.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.12.3.v20170119-0935.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_2.0.0.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.widgets_2.0.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.databinding_1.6.0.v20160412-0910.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views.properties.tabbed_3.7.0.v20160310-0903.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.forms_3.7.1.v20161220-1635.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.8.102.v20170111-0801.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.services.labelprovider_1.2.1.201703080851.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.jface.text_3.11.2.v20170220-1911.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.text_3.6.0.v20160503-1849.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.6.6.201610060831.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.cst.parser_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.ecore.imperativeocl_3.4.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.project_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.runtime_3.6.0.v20160606-1156.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.ui_1.8.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gef_3.11.0.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.draw2d_3.10.100.201606061308.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.workspace_1.5.1.201606071900.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.clipboard.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services.action_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui.services_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.common.ui_1.8.1.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.console_3.6.201.v20161107-0337.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench.texteditor_3.10.1.v20160818-1626.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.team.core_3.8.0.v20160418-1534.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.type.core_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.emf.commands.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.gef.ui_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.draw2d.ui_1.9.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.notation_1.8.0.201606071631.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.gmf.runtime.diagram.core_1.7.0.201606071959.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.debug.core_3.10.100.v20160419-1720.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath"> - <path refid="org.polarsys.chess.mobius.libraryclasspath"/> - </path> - - <!-- The classpath with only the jars available in the plugin folder of Eclipse --> - <path id="org.polarsys.chess.mobius.libraryclasspath.alljars"> - <pathelement location="../org.polarsys.chess.mobius/bin"/> - <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> - </path> - - <path id="org.polarsys.chess.mobius.classpath.alljars"> - <path refid="org.polarsys.chess.mobius.libraryclasspath.alljars"/> - </path> - - <!-- The default task with the jars used by this project --> - <target name="vulnerableComponentsTemplate"> - <java classname="org.polarsys.chess.mobius.templates.VulnerableComponentsTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> - - <!-- - In case of problem you can also try with all the jar available in your Eclipse - Keep in mind that having two versions of the same jar can create problems - --> - <target name="vulnerableComponentsTemplate.alljars"> - <java classname="org.polarsys.chess.mobius.templates.VulnerableComponentsTemplate" classpathref="org.polarsys.chess.mobius.classpath"> - <arg value="${model}"/> - <arg value="${target}"/> - </java> - </target> -</project> diff --git a/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplateTarget.xml b/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplateTarget.xml deleted file mode 100644 index eec845af6..000000000 --- a/plugins/mobius/org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplateTarget.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" --> -<!-- You have to change the MODEL and the TARGET values --> - -<project basedir="." default="vulnerableComponentsTemplateSample" name="org.polarsys.chess.mobiusSample"> - <import file="../../org.polarsys.chess.mobius/tasks/vulnerableComponentsTemplate.xml"/> - - <!-- Change the values of MODEL and TARGET to point to your model and output folder --> - <property name="MODEL" value="${basedir}/model/file.xmi"/> - <property name="TARGET" value="${basedir}/src-gen"/> - - <target name="vulnerableComponentsTemplateSample" description="Generate files in 'TARGET'"> - <antcall target="vulnerableComponentsTemplate" > - <param name="model" value="${MODEL}"/> - <param name="target" value="${TARGET}"/> - </antcall> - </target> -</project> -- GitLab From 71cb82391683085ad8f51cf633e6de11354ffdad Mon Sep 17 00:00:00 2001 From: Alberto Debiasi <adebiasi@fbk.eu> Date: Wed, 13 May 2020 15:50:29 +0200 Subject: [PATCH 2/5] Update/Add about.html EPL 2.0 Change-Id: I3d7a2598ad0e8d1952df6f8de83fa900b19f1226 --- .../about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 40 ++++++----- .../about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 40 ++++++----- .../about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 62 +++++++++-------- .../about.html | 36 ++++++++++ .../org.polarsys.chess.fla.feature/about.html | 62 +++++++++-------- .../org.polarsys.chess.fla.flamm/about.html | 62 +++++++++-------- .../org.polarsys.chess.fla.flaxml/about.html | 62 +++++++++-------- .../about.html | 62 +++++++++-------- plugins/fla/org.polarsys.chess.fla/about.html | 62 +++++++++-------- .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 42 +++++++----- .../org.polarsys.chess.mobius/about.html | 42 +++++++----- .../org.polarsys.chess.OSSImporter/about.html | 36 ++++++++++ plugins/org.polarsys.chess.cdo/about.html | 40 ++++++----- .../about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../org.polarsys.chess.codegen.ada/about.html | 36 ++++++++++ .../org.polarsys.chess.commands/about.html | 40 ++++++----- .../about.html | 36 ++++++++++ plugins/org.polarsys.chess.core/about.html | 40 ++++++----- .../org.polarsys.chess.diagram.ui/about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../org.polarsys.chess.discovery/about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../about.html | 40 ++++++----- plugins/org.polarsys.chess.m2m/about.html | 40 ++++++----- .../org.polarsys.chess.mainmenu/about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../org.polarsys.chess.monitoring/about.html | 40 ++++++----- .../org.polarsys.chess.multicore/about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../org.polarsys.chess.patterns/about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ plugins/org.polarsys.chess.service/about.html | 40 ++++++----- .../org.polarsys.chess.smvExporter/about.html | 36 ++++++++++ .../about.html | 36 ++++++++++ .../about.html | 40 ++++++----- .../about.html | 28 ++++++++ .../about.html | 66 +++++++++++++++++++ .../about.html | 36 ++++++++++ .../org.polarsys.chess.validator/about.html | 40 ++++++----- plugins/org.polarsys.chess.wizards/about.html | 40 ++++++----- .../about.html | 36 ++++++++++ .../org.polarsys.chess.statebased/about.html | 40 ++++++----- 62 files changed, 1998 insertions(+), 500 deletions(-) create mode 100644 plugins/contracts/org.polarsys.chess.contracts.contractEditor/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.refinementView/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/about.html create mode 100644 plugins/contracts/org.polarsys.chess.contracts.verificationService/about.html create mode 100644 plugins/fla/org.polarsys.chess.fla.faultTreeGenerator/about.html create mode 100644 plugins/fla/org.polarsys.chess.xtext.fladsl.ui/about.html create mode 100644 plugins/fla/org.polarsys.chess.xtext.fladsl/about.html create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html create mode 100644 plugins/mobius/org.polarsys.chess.mobius.model/about.html create mode 100644 plugins/org.polarsys.chess.OSSImporter/about.html create mode 100644 plugins/org.polarsys.chess.cleanCExporter/about.html create mode 100644 plugins/org.polarsys.chess.codegen.ada/about.html create mode 100644 plugins/org.polarsys.chess.constraints.constraintEditor/about.html create mode 100644 plugins/org.polarsys.chess.diagram.ui/about.html create mode 100644 plugins/org.polarsys.chess.diagramsCreator/about.html create mode 100644 plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/about.html create mode 100644 plugins/org.polarsys.chess.mainmenu/about.html create mode 100644 plugins/org.polarsys.chess.monitoring.edit/about.html create mode 100644 plugins/org.polarsys.chess.monitoring.editor/about.html create mode 100644 plugins/org.polarsys.chess.monitoring.tests/about.html create mode 100644 plugins/org.polarsys.chess.paramArchConfigurator/about.html create mode 100644 plugins/org.polarsys.chess.patterns.library/about.html create mode 100644 plugins/org.polarsys.chess.patterns.profile/about.html create mode 100644 plugins/org.polarsys.chess.patterns/about.html create mode 100644 plugins/org.polarsys.chess.properties.propertyEditor/about.html create mode 100644 plugins/org.polarsys.chess.smvExporter/about.html create mode 100644 plugins/org.polarsys.chess.tabbedproperties/about.html create mode 100644 plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.jdt.debug_3.10.1.v20160811-0441/about.html create mode 100644 plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.pde.build_3.9.200.v20160204-0642/about.html create mode 100644 plugins/org.polarsys.chess.tradeoffAnalysis/about.html create mode 100644 plugins/org.polarsys.chess.xtext.global/about.html diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/about.html b/plugins/contracts/org.polarsys.chess.contracts.chessextension/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/about.html +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/about.html b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/about.html b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/about.html b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/about.html b/plugins/contracts/org.polarsys.chess.contracts.integration/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/about.html +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/about.html b/plugins/contracts/org.polarsys.chess.contracts.profile/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/about.html +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/about.html b/plugins/contracts/org.polarsys.chess.contracts.refinementView/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/about.html b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/about.html b/plugins/contracts/org.polarsys.chess.contracts.transformations/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/about.html +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/about.html b/plugins/contracts/org.polarsys.chess.contracts.validation/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/about.html +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/about.html b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/about.html b/plugins/contracts/org.polarsys.chess.contracts.verificationService/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.FPTC2FLABehavior/about.html b/plugins/fla/org.polarsys.chess.fla.FPTC2FLABehavior/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla.FPTC2FLABehavior/about.html +++ b/plugins/fla/org.polarsys.chess.fla.FPTC2FLABehavior/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.faultTreeGenerator/about.html b/plugins/fla/org.polarsys.chess.fla.faultTreeGenerator/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/fla/org.polarsys.chess.fla.faultTreeGenerator/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.feature/about.html b/plugins/fla/org.polarsys.chess.fla.feature/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla.feature/about.html +++ b/plugins/fla/org.polarsys.chess.fla.feature/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/about.html b/plugins/fla/org.polarsys.chess.fla.flamm/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/about.html +++ b/plugins/fla/org.polarsys.chess.fla.flamm/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/about.html b/plugins/fla/org.polarsys.chess.fla.flaxml/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/about.html +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla.transformations/about.html b/plugins/fla/org.polarsys.chess.fla.transformations/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla.transformations/about.html +++ b/plugins/fla/org.polarsys.chess.fla.transformations/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.fla/about.html b/plugins/fla/org.polarsys.chess.fla/about.html index 209103075..164f781a8 100644 --- a/plugins/fla/org.polarsys.chess.fla/about.html +++ b/plugins/fla/org.polarsys.chess.fla/about.html @@ -1,28 +1,36 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> </html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/about.html b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/about.html b/plugins/fla/org.polarsys.chess.xtext.fladsl/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html b/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model.edit/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html b/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model.editor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/mobius/org.polarsys.chess.mobius.model/about.html b/plugins/mobius/org.polarsys.chess.mobius.model/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/mobius/org.polarsys.chess.mobius.model/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/mobius/org.polarsys.chess.mobius.preferences/about.html b/plugins/mobius/org.polarsys.chess.mobius.preferences/about.html index 58211cf15..164f781a8 100644 --- a/plugins/mobius/org.polarsys.chess.mobius.preferences/about.html +++ b/plugins/mobius/org.polarsys.chess.mobius.preferences/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>May 28, 2019</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> -</html> +</html> \ No newline at end of file diff --git a/plugins/mobius/org.polarsys.chess.mobius/about.html b/plugins/mobius/org.polarsys.chess.mobius/about.html index 58211cf15..164f781a8 100644 --- a/plugins/mobius/org.polarsys.chess.mobius/about.html +++ b/plugins/mobius/org.polarsys.chess.mobius/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>May 28, 2019</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> -</html> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.OSSImporter/about.html b/plugins/org.polarsys.chess.OSSImporter/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.OSSImporter/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.cdo/about.html b/plugins/org.polarsys.chess.cdo/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.cdo/about.html +++ b/plugins/org.polarsys.chess.cdo/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.chessmlprofile/about.html b/plugins/org.polarsys.chess.chessmlprofile/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/about.html +++ b/plugins/org.polarsys.chess.chessmlprofile/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.cleanCExporter/about.html b/plugins/org.polarsys.chess.cleanCExporter/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.cleanCExporter/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.codegen.ada/about.html b/plugins/org.polarsys.chess.codegen.ada/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.codegen.ada/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.commands/about.html b/plugins/org.polarsys.chess.commands/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.commands/about.html +++ b/plugins/org.polarsys.chess.commands/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.constraints.constraintEditor/about.html b/plugins/org.polarsys.chess.constraints.constraintEditor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.constraints.constraintEditor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.core/about.html b/plugins/org.polarsys.chess.core/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.core/about.html +++ b/plugins/org.polarsys.chess.core/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.diagram.ui/about.html b/plugins/org.polarsys.chess.diagram.ui/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.diagram.ui/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.diagramsCreator/about.html b/plugins/org.polarsys.chess.diagramsCreator/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.diagramsCreator/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.discovery/about.html b/plugins/org.polarsys.chess.discovery/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.discovery/about.html +++ b/plugins/org.polarsys.chess.discovery/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/about.html b/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.instance.view/about.html b/plugins/org.polarsys.chess.instance.view/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.instance.view/about.html +++ b/plugins/org.polarsys.chess.instance.view/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.m2m/about.html b/plugins/org.polarsys.chess.m2m/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.m2m/about.html +++ b/plugins/org.polarsys.chess.m2m/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.mainmenu/about.html b/plugins/org.polarsys.chess.mainmenu/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.mainmenu/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.monitoring.edit/about.html b/plugins/org.polarsys.chess.monitoring.edit/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.monitoring.edit/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.monitoring.editor/about.html b/plugins/org.polarsys.chess.monitoring.editor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.monitoring.editor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.monitoring.tests/about.html b/plugins/org.polarsys.chess.monitoring.tests/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.monitoring.tests/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.monitoring/about.html b/plugins/org.polarsys.chess.monitoring/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.monitoring/about.html +++ b/plugins/org.polarsys.chess.monitoring/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.multicore/about.html b/plugins/org.polarsys.chess.multicore/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.multicore/about.html +++ b/plugins/org.polarsys.chess.multicore/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/about.html b/plugins/org.polarsys.chess.paramArchConfigurator/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.paramArchConfigurator/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.patterns.library/about.html b/plugins/org.polarsys.chess.patterns.library/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.patterns.library/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.patterns.profile/about.html b/plugins/org.polarsys.chess.patterns.profile/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.patterns.profile/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.patterns/about.html b/plugins/org.polarsys.chess.patterns/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.patterns/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.properties.propertyEditor/about.html b/plugins/org.polarsys.chess.properties.propertyEditor/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.properties.propertyEditor/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.service/about.html b/plugins/org.polarsys.chess.service/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.service/about.html +++ b/plugins/org.polarsys.chess.service/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.smvExporter/about.html b/plugins/org.polarsys.chess.smvExporter/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.smvExporter/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.tabbedproperties/about.html b/plugins/org.polarsys.chess.tabbedproperties/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.tabbedproperties/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.test.runtime/about.html b/plugins/org.polarsys.chess.test.runtime/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.test.runtime/about.html +++ b/plugins/org.polarsys.chess.test.runtime/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.jdt.debug_3.10.1.v20160811-0441/about.html b/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.jdt.debug_3.10.1.v20160811-0441/about.html new file mode 100644 index 000000000..460233046 --- /dev/null +++ b/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.jdt.debug_3.10.1.v20160811-0441/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 2, 2006</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.pde.build_3.9.200.v20160204-0642/about.html b/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.pde.build_3.9.200.v20160204-0642/about.html new file mode 100644 index 000000000..5ac3da734 --- /dev/null +++ b/plugins/org.polarsys.chess.test.runtime/target/work/plugins/org.eclipse.pde.build_3.9.200.v20160204-0642/about.html @@ -0,0 +1,66 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>February 08, 2007</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +<h3>Third Party Content</h3> + +<p>The Content includes items that have been sourced from third parties as set out below. If you +did not receive this Content directly from the Eclipse Foundation, the following is provided +for informational purposes only, and you should look to the Redistributor’s license for +terms and conditions of use.</p> + +<h4>OSGi Materials</h4> + +<p>The following file:</p> + +<ul> + <li>org/osgi/framework/Version</li> +</ul> + +<p>shall be defined as a subset of the "OSGi Materials." The OSGi Materials are:</p> + +<blockquote> +Copyright (c) 2000, 2006 +<br /><br /> +OSGi Alliance +Bishop Ranch 6<br/> +2400 Camino Ramon, Suite 375<br/> +San Ramon, CA 94583 USA +<br /><br /> +All Rights Reserved. +</blockquote> + +<p>The OSGi Materials are provided to you under the terms and conditions of the Apache License, Version 2.0. A copy of the license is contained +in the file <a href="about_files/LICENSE-2.0.txt" target="_blank">LICENSE-2.0.txt</a> and is also available at <a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>.</p> + +<p>Implementation of certain elements of the OSGi Materials may be subject to third party intellectual property rights, including without limitation, patent rights (such a third party may +or may not be a member of the OSGi Alliance). The OSGi Alliance and its members are not responsible and shall not be held responsible in any manner for identifying or failing to identify any or all such third party +intellectual property rights.</p> + +<small>OSGi™ is a trademark, registered trademark, or service mark of The OSGi Alliance in the US and other countries. Java is a trademark, +registered trademark, or service mark of Sun Microsystems, Inc. in the US and other countries. All other trademarks, registered trademarks, or +service marks used in the Content are the property of their respective owners and are hereby recognized.</small> +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.tradeoffAnalysis/about.html b/plugins/org.polarsys.chess.tradeoffAnalysis/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.tradeoffAnalysis/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.validator/about.html b/plugins/org.polarsys.chess.validator/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.validator/about.html +++ b/plugins/org.polarsys.chess.validator/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.wizards/about.html b/plugins/org.polarsys.chess.wizards/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/org.polarsys.chess.wizards/about.html +++ b/plugins/org.polarsys.chess.wizards/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file diff --git a/plugins/org.polarsys.chess.xtext.global/about.html b/plugins/org.polarsys.chess.xtext.global/about.html new file mode 100644 index 000000000..164f781a8 --- /dev/null +++ b/plugins/org.polarsys.chess.xtext.global/about.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> +<title>About</title> +</head> +<body lang="EN-US"> + <h2>About This Content</h2> + + <p>November 30, 2017</p> + <h3>License</h3> + + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> + +</body> +</html> \ No newline at end of file diff --git a/plugins/sba/org.polarsys.chess.statebased/about.html b/plugins/sba/org.polarsys.chess.statebased/about.html index dd3c089a9..164f781a8 100644 --- a/plugins/sba/org.polarsys.chess.statebased/about.html +++ b/plugins/sba/org.polarsys.chess.statebased/about.html @@ -2,27 +2,35 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>About</title> </head> <body lang="EN-US"> -<h2>About This Content</h2> - -<p>November 14, 2008</p> -<h3>License</h3> + <h2>About This Content</h2> -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> + <p>November 30, 2017</p> + <h3>License</h3> -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + <p> + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content + is provided to you under the terms and conditions of the Eclipse + Public License Version 2.0 ("EPL"). A copy of the EPL is + available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>. + For purposes of the EPL, "Program" will mean the Content. + </p> + + <p> + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may + apply to your use of any object code in the Content. Check the + Redistributor's license that was provided with the Content. If no such + license exists, contact the Redistributor. Unless otherwise indicated + below, the terms and conditions of the EPL still apply to any source + code in the Content and such source code may be obtained at <a + href="http://www.eclipse.org/">http://www.eclipse.org</a>. + </p> </body> </html> \ No newline at end of file -- GitLab From 44bc673f4e1b5f371f8009ac2777f903cb003583 Mon Sep 17 00:00:00 2001 From: Alberto Debiasi <adebiasi@fbk.eu> Date: Wed, 13 May 2020 16:45:29 +0200 Subject: [PATCH 3/5] Update header EPL 1.0 -> EPL 2.0 Change-Id: I80d1f02eebb800c26ff03608aab3689a980856ab --- .../build.properties | 4 +- .../plugin.xml | 4 +- .../contracts/chessextension/Activator.java | 4 +- .../dialogs/SetContractRefinementDialog.java | 4 +- .../listeners/PapyrusModelListener.java | 4 +- .../listeners/SelectionListener.java | 4 +- .../managers/ApplyCHESSContractProfile.java | 4 +- .../managers/CHESSContractProfileManager.java | 4 +- .../managers/PaletteManager.java | 4 +- .../popup/commands/SetContractRefinement.java | 4 +- .../propertytab/BlockEditPartSection.java | 4 +- ...BlockPropertyCompositeEditPartSection.java | 4 +- .../CustomContractEditorFilter.java | 4 +- .../CustomContractEditorTab.java | 4 +- .../CustomContractEditorView.java | 4 +- .../ui/profile/listener/MessageDialog.java | 4 +- .../ui/profile/listener/PapyrusListener.java | 4 +- .../listener/PapyrusListener.java | 4 +- .../listener/SelectionListener.java | 4 +- .../treeElements/CHESSComponentNode.java | 4 +- .../treeElements/CHESSRootNode.java | 4 +- .../treeElements/CHESSSystemNode.java | 4 +- .../view/CustomHierarchicalView.java | 4 +- .../build.properties | 4 +- .../plugin.xml | 4 +- .../contracts/integration/Activator.java | 4 +- .../contracts/integration/InputStreamer.java | 4 +- .../integration/ToolIntegration.java | 4 +- .../OcraAnalysisPreferencePage.java | 4 +- .../build.properties | 4 +- .../palettes/ForeverBDD.Palette.xml | 4 +- .../palettes/ForeverCD.Palette.xml | 4 +- .../palettes/ForeverCSD.Palette.xml | 4 +- .../palettes/ForeverDeploymentCD.Palette.xml | 4 +- .../palettes/ForeverIBD.Palette.xml | 4 +- .../palettes/ForeverReq.Palette.xml | 4 +- .../plugin.properties | 4 +- .../plugin.xml | 4 +- .../chess/contracts/profile/Activator.java | 4 +- .../util/ContractEntityUtil.java | 4 +- .../chesscontract/util/EntityUtil.java | 4 +- .../listener/PapyrusListener.java | 4 +- .../listener/SelectionListener.java | 4 +- .../treeElements/CHESSContractNode.java | 4 +- .../treeElements/CHESSRootNode.java | 4 +- .../view/CustomRefinementView.java | 4 +- .../ComputeContractFaultTreeCommand.java | 4 +- ...ComputeContractFaultTreeOnFileCommand.java | 4 +- .../build.properties | 4 +- .../plugin.properties | 4 +- .../plugin.xml | 4 +- .../contracts/transformations/Activator.java | 4 +- .../commands/AbstractXSapHandler.java | 4 +- ...CHESSContractValidateAndRefineCommand.java | 4 +- .../CHESSContractValidatePropertyCommand.java | 4 +- .../CHESSContractValidatePropertyHandler.java | 4 +- ...ontractValidationAndRefinementHandler.java | 4 +- .../commands/CheckImplHandler.java | 4 +- .../commands/CheckRefHandler.java | 4 +- .../commands/CheckValidPropHandler.java | 4 +- .../commands/CommandsCommon.java | 4 +- .../commands/FMEAXSapHandler.java | 4 +- .../commands/FTANuSMV3Handler.java | 4 +- .../commands/FTAXSapHandler.java | 4 +- .../dialogs/RefinementResultDialog.java | 4 +- .../dialogs/SelectAnalysisCtxDialog.java | 4 +- .../SelectFTAFMEAAnalysisCtxDialog.java | 4 +- .../dialogs/SelectImplementationDialog.java | 4 +- .../dialogs/SelectOcraAnalysisCtxDialog.java | 4 +- .../dialogs/SelectSystemDialog.java | 4 +- .../transformations/main/Generate.java | 4 +- .../main/GenerateErrorModel.java | 4 +- .../main/GenerateFaultExtensions.java | 4 +- .../main/GenerateImplementation.java | 4 +- .../transformations/main/generate.mtl | 4 +- .../main/generateErrorModel.mtl | 4 +- .../main/generateFaultExtensions.mtl | 4 +- .../main/generateImplementation.mtl | 4 +- .../transformations/service/Service.java | 4 +- .../build.properties | 4 +- .../plugin.xml | 4 +- .../chess/contracts/validation/Activator.java | 4 +- .../CHESSContractValidationHandler.java | 4 +- .../ValidationDelegateClientSelector.java | 4 +- .../command/CHESSContractValidateCommand.java | 4 +- .../constraints/OCRAConstraints.java | 4 +- .../log4j.properties | 4 +- .../runtime/commands/ModelCheckingTest.java | 4 +- .../tests/TestApplyCHESSStereotype.java | 4 +- .../runtime/tests/TestApplyRecursively.java | 4 +- ...eckContractRefinementOfCHESSComponent.java | 4 +- .../test/runtime/tests/TestCreateViews.java | 4 +- .../test/runtime/tests/TestModelChecking.java | 4 +- .../test/runtime/util/TestUtil.java | 4 +- ...eckValidationAssertionPropertyCommand.java | 4 +- ...heckValidationContractPropertyCommand.java | 4 +- ...ompositeContractImplementationCommand.java | 4 +- .../ContractImplementationCommand.java | 4 +- .../commands/ContractRefinementCommand.java | 4 +- .../ui/commands/ExportModelToFileCommand.java | 4 +- .../ui/commands/ModelCheckingCommand.java | 4 +- .../CheckValidationPropertyOnFileCommand.java | 4 +- .../ContractImplementationOnFileCommand.java | 4 +- .../ContractRefinementOnFileCommand.java | 4 +- .../debug/ModelCheckingOnFileCommand.java | 4 +- .../debug/RuntimeErrorsOnOSSFileCommand.java | 4 +- .../debug/RuntimeErrorsOnSMVFileCommand.java | 4 +- .../ui/services/ExecCommandService.java | 4 +- .../build.properties | 2 +- .../plugin.properties | 2 +- .../chess/fla/flamm/ACIDavoidable.java | 2 +- .../chess/fla/flamm/ACIDmitigation.java | 2 +- .../polarsys/chess/fla/flamm/Component.java | 2 +- .../chess/fla/flamm/CompositeComponent.java | 2 +- .../polarsys/chess/fla/flamm/Connection.java | 2 +- .../polarsys/chess/fla/flamm/Expression.java | 2 +- .../org/polarsys/chess/fla/flamm/Failure.java | 2 +- .../fla/flamm/FailureTypes/A_avoidable.java | 2 +- .../fla/flamm/FailureTypes/A_mitigation.java | 2 +- .../fla/flamm/FailureTypes/C_avoidable.java | 2 +- .../fla/flamm/FailureTypes/C_mitigation.java | 2 +- .../fla/flamm/FailureTypes/D_avoidable.java | 2 +- .../fla/flamm/FailureTypes/D_mitigation.java | 2 +- .../fla/flamm/FailureTypes/FailureType.java | 2 +- .../FailureTypes/FailureTypesFactory.java | 2 +- .../FailureTypes/FailureTypesPackage.java | 2 +- .../fla/flamm/FailureTypes/I_avoidable.java | 2 +- .../fla/flamm/FailureTypes/I_mitigation.java | 2 +- .../chess/fla/flamm/FlaBehaviour.java | 2 +- .../chess/fla/flamm/FlammFactory.java | 2 +- .../chess/fla/flamm/FlammPackage.java | 2 +- .../chess/fla/flamm/NamedElement.java | 2 +- .../org/polarsys/chess/fla/flamm/Port.java | 2 +- .../chess/fla/flamm/PortFailureTuple.java | 2 +- .../org/polarsys/chess/fla/flamm/Rule.java | 2 +- .../chess/fla/flamm/SimpleComponent.java | 2 +- .../chess/fla/flamm/analysis/FlaLogger.java | 2 +- .../chess/fla/flamm/analysis/FlaSystem.java | 2 +- .../fla/flamm/analysis/SimpleFlaLogger.java | 2 +- .../fla/flamm/util/FlammAdapterFactory.java | 2 +- .../chess/fla/flamm/util/FlammReader.java | 2 +- .../flamm/util/FlammResourceFactoryImpl.java | 2 +- .../fla/flamm/util/FlammResourceImpl.java | 2 +- .../chess/fla/flamm/util/FlammSwitch.java | 2 +- .../fla/flamm/util/FlammXMLProcessor.java | 2 +- .../build.properties | 2 +- .../plugin.properties | 2 +- .../polarsys/chess/fla/flaxml/Component.java | 2 +- .../polarsys/chess/fla/flaxml/Components.java | 2 +- .../chess/fla/flaxml/CompositeComponent.java | 2 +- .../polarsys/chess/fla/flaxml/Connection.java | 2 +- .../chess/fla/flaxml/Connections.java | 2 +- .../chess/fla/flaxml/DocumentRoot.java | 2 +- .../polarsys/chess/fla/flaxml/Failure.java | 2 +- .../chess/fla/flaxml/FailureType.java | 2 +- .../chess/fla/flaxml/FlaxmlFactory.java | 2 +- .../chess/fla/flaxml/FlaxmlPackage.java | 2 +- .../polarsys/chess/fla/flaxml/FptcRules.java | 2 +- .../polarsys/chess/fla/flaxml/InputPort.java | 2 +- .../polarsys/chess/fla/flaxml/InputPorts.java | 2 +- .../chess/fla/flaxml/NamedElement.java | 2 +- .../polarsys/chess/fla/flaxml/OutputPort.java | 2 +- .../chess/fla/flaxml/OutputPorts.java | 2 +- .../polarsys/chess/fla/flaxml/RuleString.java | 2 +- .../chess/fla/flaxml/SimpleComponent.java | 2 +- .../org/polarsys/chess/fla/flaxml/System.java | 2 +- .../chess/fla/flaxml/impl/ComponentImpl.java | 2 +- .../chess/fla/flaxml/impl/ComponentsImpl.java | 2 +- .../flaxml/impl/CompositeComponentImpl.java | 2 +- .../chess/fla/flaxml/impl/ConnectionImpl.java | 2 +- .../fla/flaxml/impl/ConnectionsImpl.java | 2 +- .../fla/flaxml/impl/DocumentRootImpl.java | 2 +- .../chess/fla/flaxml/impl/FailureImpl.java | 2 +- .../fla/flaxml/impl/FlaxmlFactoryImpl.java | 2 +- .../fla/flaxml/impl/FlaxmlPackageImpl.java | 2 +- .../chess/fla/flaxml/impl/FptcRulesImpl.java | 2 +- .../chess/fla/flaxml/impl/InputPortImpl.java | 2 +- .../chess/fla/flaxml/impl/InputPortsImpl.java | 2 +- .../fla/flaxml/impl/NamedElementImpl.java | 2 +- .../chess/fla/flaxml/impl/OutputPortImpl.java | 2 +- .../fla/flaxml/impl/OutputPortsImpl.java | 2 +- .../chess/fla/flaxml/impl/RuleStringImpl.java | 2 +- .../fla/flaxml/impl/SimpleComponentImpl.java | 2 +- .../chess/fla/flaxml/impl/SystemImpl.java | 2 +- .../fla/flaxml/util/FlaxmlAdapterFactory.java | 2 +- .../util/FlaxmlResourceFactoryImpl.java | 2 +- .../fla/flaxml/util/FlaxmlResourceImpl.java | 2 +- .../chess/fla/flaxml/util/FlaxmlSwitch.java | 2 +- .../fla/flaxml/util/FlaxmlValidator.java | 2 +- .../fla/flaxml/util/FlaxmlXMLProcessor.java | 2 +- .../src/org/polarsys/chess/fla/Activator.java | 2 +- .../fla/common/FlaAnalysisException.java | 2 +- .../polarsys/chess/fla/common/FlaLogger.java | 2 +- .../fla/common/TransformationException.java | 2 +- .../chess/fla/impl/FlaAnalysisRunner.java | 2 +- .../chess/fla/impl/FlaAnalysisRunnerXml.java | 2 +- .../polarsys/chess/fla/launch/Activator.java | 2 +- .../chess/fla/launch/FlaAnalysisCommand.java | 2 +- .../fla/launch/FlaAnalysisCommandXml.java | 2 +- .../ConcertoFlaPreferencePage.java | 2 +- .../chess/fla/preferences/FlaParameters.java | 2 +- .../preferences/PreferenceInitializer.java | 2 +- .../transformations/QVToTransformation.java | 2 +- .../FlaDslDescriptionLabelProvider.xtend | 4 +- .../ui/labeling/FlaDslLabelProvider.xtend | 4 +- .../outline/FlaDslOutlineTreeProvider.xtend | 4 +- .../ui/quickfix/FlaDslQuickfixProvider.xtend | 4 +- .../polarsys/chess/xtext/GenerateFlaDsl.mwe2 | 4 +- .../xtext/formatting/FlaDslFormatter.xtend | 4 +- .../xtext/generator/FlaDslGenerator.xtend | 4 +- .../xtext/scoping/FlaDslScopeProvider.xtend | 4 +- .../xtext/validation/FlaDslValidator.xtend | 4 +- .../commands/ImportOSSFileCommand.java | 4 +- .../core/actions/ImportOSSFileAction.java | 4 +- .../core/exceptions/ImportException.java | 4 +- .../core/utils/ChessElementsUtil.java | 4 +- .../core/utils/OssTypeTranslator.java | 4 +- .../core/utils/StereotypeUtil.java | 4 +- .../wizards/CreateCDOCHESSModelWizard.java | 2 +- .../chess/cdo/wizards/InitCDOModelWizard.java | 2 +- .../build.properties | 4 +- .../plugin.properties | 4 +- .../ComponentImplementation.java | 4 +- .../ComponentModel/ComponentModelFactory.java | 4 +- .../ComponentModel/ComponentModelPackage.java | 4 +- .../ComponentModel/ComponentType.java | 4 +- .../ComponentModel/FunctionalPartition.java | 4 +- .../impl/ComponentImplementationImpl.java | 4 +- .../impl/ComponentModelFactoryImpl.java | 4 +- .../impl/ComponentModelPackageImpl.java | 4 +- .../impl/ComponentTypeImpl.java | 4 +- .../impl/FunctionalPartitionImpl.java | 4 +- .../util/ComponentModelAdapterFactory.java | 4 +- .../ComponentModelResourceFactoryImpl.java | 4 +- .../util/ComponentModelResourceImpl.java | 4 +- .../util/ComponentModelSwitch.java | 4 +- .../util/ComponentModelXMLProcessor.java | 4 +- .../chess/chessmlprofile/Core/CHESS.java | 4 +- .../Core/CHESSViews/AnalysisView.java | 4 +- .../Core/CHESSViews/CHESSViewsFactory.java | 4 +- .../Core/CHESSViews/CHESSViewsPackage.java | 4 +- .../Core/CHESSViews/ComponentView.java | 4 +- .../CHESSViews/DependabilityAnalysisView.java | 4 +- .../Core/CHESSViews/DeploymentView.java | 4 +- .../Core/CHESSViews/ExtraFunctionalView.java | 4 +- .../Core/CHESSViews/PSMView.java | 4 +- .../Core/CHESSViews/RTAnalysisView.java | 4 +- .../Core/CHESSViews/RequirementView.java | 4 +- .../Core/CHESSViews/SystemView.java | 4 +- .../Core/CHESSViews/TimingDataFlowView.java | 4 +- .../CHESSViews/impl/AnalysisViewImpl.java | 4 +- .../impl/CHESSViewsFactoryImpl.java | 4 +- .../impl/CHESSViewsPackageImpl.java | 4 +- .../CHESSViews/impl/ComponentViewImpl.java | 4 +- .../impl/DependabilityAnalysisViewImpl.java | 4 +- .../CHESSViews/impl/DeploymentViewImpl.java | 4 +- .../impl/ExtraFunctionalViewImpl.java | 4 +- .../Core/CHESSViews/impl/PSMViewImpl.java | 4 +- .../CHESSViews/impl/RTAnalysisViewImpl.java | 4 +- .../CHESSViews/impl/RequirementViewImpl.java | 4 +- .../Core/CHESSViews/impl/SystemViewImpl.java | 4 +- .../impl/TimingDataFlowViewImpl.java | 4 +- .../util/CHESSViewsAdapterFactory.java | 4 +- .../util/CHESSViewsResourceFactoryImpl.java | 4 +- .../util/CHESSViewsResourceImpl.java | 4 +- .../CHESSViews/util/CHESSViewsSwitch.java | 4 +- .../util/CHESSViewsXMLProcessor.java | 4 +- .../Core/CHGaResourcePlatform.java | 4 +- .../chessmlprofile/Core/CoreFactory.java | 4 +- .../chessmlprofile/Core/CorePackage.java | 4 +- .../Core/FunctionalPartitions.java | 4 +- .../chessmlprofile/Core/IdentifInstance.java | 4 +- .../chessmlprofile/Core/IdentifSlot.java | 4 +- .../chessmlprofile/Core/MultiInstance.java | 4 +- .../chess/chessmlprofile/Core/MultiSlot.java | 4 +- .../chess/chessmlprofile/Core/PSMPackage.java | 4 +- .../chessmlprofile/Core/impl/CHESSImpl.java | 4 +- .../Core/impl/CHGaResourcePlatformImpl.java | 4 +- .../Core/impl/CoreFactoryImpl.java | 4 +- .../Core/impl/CorePackageImpl.java | 4 +- .../Core/impl/PSMPackageImpl.java | 4 +- .../Core/util/CoreAdapterFactory.java | 4 +- .../Core/util/CoreResourceFactoryImpl.java | 4 +- .../Core/util/CoreResourceImpl.java | 4 +- .../chessmlprofile/Core/util/CoreSwitch.java | 4 +- .../Core/util/CoreXMLProcessor.java | 4 +- .../DependableComponent.java | 4 +- .../DependableComponentFactory.java | 4 +- .../DependableComponentPackage.java | 4 +- .../DependableComponent/FailureMode.java | 4 +- .../DependableComponent/Propagation.java | 4 +- .../impl/DependableComponentFactoryImpl.java | 4 +- .../impl/DependableComponentImpl.java | 4 +- .../impl/DependableComponentPackageImpl.java | 4 +- .../impl/FailureModeImpl.java | 4 +- .../DependableComponentAdapterFactory.java | 4 +- ...ependableComponentResourceFactoryImpl.java | 4 +- .../util/DependableComponentResourceImpl.java | 4 +- .../util/DependableComponentSwitch.java | 4 +- .../util/DependableComponentXMLProcessor.java | 4 +- .../FailurePropagation/ACIDAvoidable.java | 4 +- .../FailurePropagation/ACIDMitigation.java | 4 +- .../FailurePropagation/FI4FA.java | 4 +- .../FailurePropagation/FI4FAAnalysis.java | 4 +- .../FI4FASpecification.java | 4 +- .../FailurePropagation/FPTC.java | 4 +- .../FailurePropagation/FPTCPortSlot.java | 4 +- .../FailurePropagation/FPTCSpecification.java | 4 +- .../FailurePropagationAnalysis.java | 4 +- .../A_avoidable.java | 4 +- .../A_mitigation.java | 4 +- .../C_avoidable.java | 4 +- .../C_mitigation.java | 4 +- .../D_avoidable.java | 4 +- .../D_mitigation.java | 4 +- .../FailurePropagationDataTypesFactory.java | 4 +- .../FailurePropagationDataTypesPackage.java | 4 +- .../FailureType.java | 4 +- .../I_avoidable.java | 4 +- .../I_mitigation.java | 4 +- ...ailurePropagationDataTypesFactoryImpl.java | 4 +- ...ailurePropagationDataTypesPackageImpl.java | 4 +- .../FailurePropagationFactory.java | 4 +- .../FailurePropagationPackage.java | 4 +- .../impl/ACIDAvoidableImpl.java | 4 +- .../impl/ACIDMitigationImpl.java | 4 +- .../impl/FI4FAAnalysisImpl.java | 4 +- .../FailurePropagation/impl/FI4FAImpl.java | 4 +- .../impl/FI4FASpecificationImpl.java | 4 +- .../FailurePropagation/impl/FPTCImpl.java | 4 +- .../impl/FPTCPortSlotImpl.java | 4 +- .../impl/FPTCSpecificationImpl.java | 4 +- .../impl/FailurePropagationAnalysisImpl.java | 4 +- .../impl/FailurePropagationFactoryImpl.java | 4 +- .../impl/FailurePropagationPackageImpl.java | 4 +- .../FailurePropagationAdapterFactory.java | 4 +- ...FailurePropagationResourceFactoryImpl.java | 4 +- .../util/FailurePropagationResourceImpl.java | 4 +- .../util/FailurePropagationSwitch.java | 4 +- .../util/FailurePropagationXMLProcessor.java | 4 +- .../MitigationMeansFactory.java | 4 +- .../MitigationMeansPackage.java | 4 +- .../TransmissionWithProtocol.java | 4 +- .../impl/MitigationMeansFactoryImpl.java | 4 +- .../impl/MitigationMeansPackageImpl.java | 4 +- .../impl/TransmissionWithProtocolImpl.java | 4 +- .../util/MitigationMeansAdapterFactory.java | 4 +- .../MitigationMeansResourceFactoryImpl.java | 4 +- .../util/MitigationMeansResourceImpl.java | 4 +- .../util/MitigationMeansSwitch.java | 4 +- .../util/MitigationMeansXMLProcessor.java | 4 +- .../FaultTolerance/Adjudicator.java | 4 +- .../FaultTolerance/FaultToleranceFactory.java | 4 +- .../FaultTolerance/FaultTolerancePackage.java | 4 +- .../FaultTolerance/FaultTolerant.java | 4 +- .../FaultTolerance/RedundancyManager.java | 4 +- .../StateBased/FaultTolerance/Variant.java | 4 +- .../FaultTolerance/impl/AdjudicatorImpl.java | 4 +- .../impl/FaultToleranceFactoryImpl.java | 4 +- .../impl/FaultTolerancePackageImpl.java | 4 +- .../impl/FaultTolerantImpl.java | 4 +- .../impl/RedundancyManagerImpl.java | 4 +- .../FaultTolerance/impl/VariantImpl.java | 4 +- .../util/FaultToleranceAdapterFactory.java | 4 +- .../FaultToleranceResourceFactoryImpl.java | 4 +- .../util/FaultToleranceResourceImpl.java | 4 +- .../util/FaultToleranceSwitch.java | 4 +- .../util/FaultToleranceXMLProcessor.java | 4 +- .../MaintenanceMonitoring/ErrorDetection.java | 4 +- .../FailureDetection.java | 4 +- .../MaintenanceMonitoring/MMActivities.java | 4 +- .../MaintenanceMonitoringFactory.java | 4 +- .../MaintenanceMonitoringPackage.java | 4 +- .../MaintenanceMonitoring/Repair.java | 4 +- .../MaintenanceMonitoring/Replace.java | 4 +- .../impl/ErrorDetectionImpl.java | 4 +- .../impl/FailureDetectionImpl.java | 4 +- .../impl/MMActivitiesImpl.java | 4 +- .../MaintenanceMonitoringFactoryImpl.java | 4 +- .../MaintenanceMonitoringPackageImpl.java | 4 +- .../impl/RepairImpl.java | 4 +- .../impl/ReplaceImpl.java | 4 +- .../MaintenanceMonitoringAdapterFactory.java | 4 +- ...ntenanceMonitoringResourceFactoryImpl.java | 4 +- .../MaintenanceMonitoringResourceImpl.java | 4 +- .../util/MaintenanceMonitoringSwitch.java | 4 +- .../MaintenanceMonitoringXMLProcessor.java | 4 +- .../StateBasedAnalysis.java | 4 +- .../StateBasedAnalysisFactory.java | 4 +- .../StateBasedAnalysisPackage.java | 4 +- .../impl/StateBasedAnalysisFactoryImpl.java | 4 +- .../impl/StateBasedAnalysisImpl.java | 4 +- .../impl/StateBasedAnalysisPackageImpl.java | 4 +- .../StateBasedAnalysisAdapterFactory.java | 4 +- ...StateBasedAnalysisResourceFactoryImpl.java | 4 +- .../util/StateBasedAnalysisResourceImpl.java | 4 +- .../util/StateBasedAnalysisSwitch.java | 4 +- .../util/StateBasedAnalysisXMLProcessor.java | 4 +- .../StateBasedComponentsFactory.java | 4 +- .../StateBasedComponentsPackage.java | 4 +- .../StatefulHardware.java | 4 +- .../StatefulSoftware.java | 4 +- .../StatelessHardware.java | 4 +- .../StatelessSoftware.java | 4 +- .../StochasticFailureBehaviour.java | 4 +- .../impl/StateBasedComponentsFactoryImpl.java | 4 +- .../impl/StateBasedComponentsPackageImpl.java | 4 +- .../impl/StatefulHardwareImpl.java | 4 +- .../impl/StatefulSoftwareImpl.java | 4 +- .../impl/StatelessHardwareImpl.java | 4 +- .../impl/StatelessSoftwareImpl.java | 4 +- .../impl/StochasticFailureBehaviourImpl.java | 4 +- .../StateBasedComponentsAdapterFactory.java | 4 +- ...ateBasedComponentsResourceFactoryImpl.java | 4 +- .../StateBasedComponentsResourceImpl.java | 4 +- .../util/StateBasedComponentsSwitch.java | 4 +- .../StateBasedComponentsXMLProcessor.java | 4 +- .../StateBasedDataTypes/Availability.java | 4 +- .../StateBasedDataTypes/ConfidenceKind.java | 4 +- .../DependabilityMeasure.java | 4 +- .../EvaluationAnalytical.java | 4 +- .../EvaluationBySimulation.java | 4 +- .../StateBasedDataTypes/EvaluationMethod.java | 4 +- .../StateBasedDataTypes/EvaluationType.java | 4 +- .../StateBased/StateBasedDataTypes/MTTF.java | 4 +- .../StateBasedDataTypes/RedundancyKind.java | 4 +- .../StateBasedDataTypes/Reliability.java | 4 +- .../StateBasedDataTypesFactory.java | 4 +- .../StateBasedDataTypesPackage.java | 4 +- .../StateBasedDataTypes/SteadyState.java | 4 +- .../impl/AvailabilityImpl.java | 4 +- .../impl/DependabilityMeasureImpl.java | 4 +- .../impl/EvaluationAnalyticalImpl.java | 4 +- .../impl/EvaluationBySimulationImpl.java | 4 +- .../impl/EvaluationMethodImpl.java | 4 +- .../impl/EvaluationTypeImpl.java | 4 +- .../StateBasedDataTypes/impl/MTTFImpl.java | 4 +- .../impl/ReliabilityImpl.java | 4 +- .../impl/StateBasedDataTypesFactoryImpl.java | 4 +- .../impl/StateBasedDataTypesPackageImpl.java | 4 +- .../impl/SteadyStateImpl.java | 4 +- .../StateBasedDataTypesAdapterFactory.java | 4 +- .../util/StateBasedDataTypesSwitch.java | 4 +- .../ThreatsPropagation/DegradedState.java | 4 +- .../ThreatsPropagation/DepEvent.java | 4 +- .../ThreatsPropagation/ErrorModel.java | 4 +- .../ThreatsPropagation/Failure.java | 4 +- .../ThreatsPropagation/InternalFault.java | 4 +- .../InternalPropagation.java | 4 +- .../ThreatsPropagation/Inverted.java | 4 +- .../ThreatsPropagation/NormalInput.java | 4 +- .../ThreatsPropagation/NormalOutput.java | 4 +- .../ThreatsPropagation/RampDown.java | 4 +- .../ThreatsPropagation/RecoveryKind.java | 4 +- .../ThreatsPropagation/StuckAt.java | 4 +- .../ThreatsPropagation/StuckAtFixed.java | 4 +- .../ThreatsPropagation/ThreatState.java | 4 +- .../ThreatsPropagationFactory.java | 4 +- .../ThreatsPropagationPackage.java | 4 +- .../impl/DegradedStateImpl.java | 4 +- .../ThreatsPropagation/impl/DepEventImpl.java | 4 +- .../impl/ErrorModelImpl.java | 4 +- .../ThreatsPropagation/impl/FailureImpl.java | 4 +- .../impl/InternalFaultImpl.java | 4 +- .../impl/InternalPropagationImpl.java | 4 +- .../ThreatsPropagation/impl/InvertedImpl.java | 4 +- .../impl/NormalInputImpl.java | 4 +- .../impl/NormalOutputImpl.java | 4 +- .../ThreatsPropagation/impl/RampDownImpl.java | 4 +- .../impl/StuckAtFixedImpl.java | 4 +- .../ThreatsPropagation/impl/StuckAtImpl.java | 4 +- .../impl/ThreatStateImpl.java | 4 +- .../impl/ThreatsPropagationFactoryImpl.java | 4 +- .../impl/ThreatsPropagationPackageImpl.java | 4 +- .../ThreatsPropagationAdapterFactory.java | 4 +- ...ThreatsPropagationResourceFactoryImpl.java | 4 +- .../util/ThreatsPropagationResourceImpl.java | 4 +- .../util/ThreatsPropagationSwitch.java | 4 +- .../util/ThreatsPropagationXMLProcessor.java | 4 +- .../HardwareBaseline/CH_HwBus.java | 4 +- .../CH_HwComputingResource.java | 4 +- .../HardwareBaseline/CH_HwProcessor.java | 4 +- .../HardwareBaselineFactory.java | 4 +- .../HardwareBaselinePackage.java | 4 +- .../HardwareBaseline/impl/CH_HwBusImpl.java | 4 +- .../impl/CH_HwComputingResourceImpl.java | 4 +- .../impl/CH_HwProcessorImpl.java | 4 +- .../impl/HardwareBaselineFactoryImpl.java | 4 +- .../impl/HardwareBaselinePackageImpl.java | 4 +- .../util/HardwareBaselineAdapterFactory.java | 4 +- .../HardwareBaselineResourceFactoryImpl.java | 4 +- .../util/HardwareBaselineResourceImpl.java | 4 +- .../util/HardwareBaselineSwitch.java | 4 +- .../util/HardwareBaselineXMLProcessor.java | 4 +- .../RTComponentModel/CHRtPortSlot.java | 4 +- .../RTComponentModel/CHRtSpecification.java | 4 +- .../RTComponentModelFactory.java | 4 +- .../RTComponentModelPackage.java | 4 +- .../RTDataTypes/CH_BurstPattern.java | 4 +- .../RTDataTypes/CH_PeriodicPattern.java | 4 +- .../RTDataTypes/CH_SporadicPattern.java | 4 +- .../RTDataTypes/RTDataTypesFactory.java | 4 +- .../RTDataTypes/RTDataTypesPackage.java | 4 +- .../RTDataTypes/TA_ArbitraryPattern.java | 4 +- .../RTDataTypes/TA_Pattern.java | 4 +- .../RTDataTypes/impl/CH_BurstPatternImpl.java | 4 +- .../impl/CH_PeriodicPatternImpl.java | 4 +- .../impl/CH_SporadicPatternImpl.java | 4 +- .../impl/RTDataTypesFactoryImpl.java | 4 +- .../impl/RTDataTypesPackageImpl.java | 4 +- .../impl/TA_ArbitraryPatternImpl.java | 4 +- .../RTDataTypes/impl/TA_PatternImpl.java | 4 +- .../util/RTDataTypesAdapterFactory.java | 4 +- .../RTDataTypes/util/RTDataTypesSwitch.java | 4 +- .../impl/CHRtPortSlotImpl.java | 4 +- .../impl/CHRtSpecificationImpl.java | 4 +- .../impl/RTComponentModelFactoryImpl.java | 4 +- .../impl/RTComponentModelPackageImpl.java | 4 +- .../util/RTComponentModelAdapterFactory.java | 4 +- .../RTComponentModelResourceFactoryImpl.java | 4 +- .../util/RTComponentModelResourceImpl.java | 4 +- .../util/RTComponentModelSwitch.java | 4 +- .../util/RTComponentModelXMLProcessor.java | 4 +- .../CriticalityInterfaceSpecification.java | 4 +- .../Safety/CriticalityLevel.java | 4 +- .../Safety/CriticalitySpecification.java | 4 +- .../chessmlprofile/Safety/SafetyFactory.java | 4 +- .../chessmlprofile/Safety/SafetyPackage.java | 4 +- ...CriticalityInterfaceSpecificationImpl.java | 4 +- .../Safety/impl/CriticalityLevelImpl.java | 4 +- .../impl/CriticalitySpecificationImpl.java | 4 +- .../Safety/impl/SafetyFactoryImpl.java | 4 +- .../Safety/impl/SafetyPackageImpl.java | 4 +- .../Safety/util/SafetyAdapterFactory.java | 4 +- .../Safety/util/SafetySwitch.java | 4 +- .../chessmlprofile/SystemModel/STS/Human.java | 4 +- .../SystemModel/STS/STSFactory.java | 4 +- .../SystemModel/STS/STSPackage.java | 4 +- .../SystemModel/STS/Technological.java | 4 +- .../SystemModel/STS/TimePressure.java | 4 +- .../SystemModel/STS/impl/HumanImpl.java | 4 +- .../SystemModel/STS/impl/STSFactoryImpl.java | 4 +- .../SystemModel/STS/impl/STSPackageImpl.java | 4 +- .../STS/impl/TechnologicalImpl.java | 4 +- .../STS/impl/TimePressureImpl.java | 4 +- .../STS/util/STSAdapterFactory.java | 4 +- .../SystemModel/STS/util/STSSwitch.java | 4 +- .../chessmlprofile/chessmlprofileFactory.java | 4 +- .../chessmlprofile/chessmlprofilePackage.java | 4 +- .../polarsys/chess/chessmlprofile/dummy.java | 4 +- .../impl/chessmlprofileFactoryImpl.java | 4 +- .../impl/chessmlprofilePackageImpl.java | 4 +- .../chess/chessmlprofile/impl/dummyImpl.java | 4 +- .../chess/chessmlprofile/util/Constants.java | 4 +- .../util/chessmlprofileAdapterFactory.java | 4 +- .../util/chessmlprofileSwitch.java | 4 +- .../ExportNominalSMsToCleanCFilesCommand.java | 4 +- ...electedNominalSMsToCleanCFilesCommand.java | 4 +- .../ui/services/CleanCExportServiceUI.java | 4 +- .../build.properties | 4 +- .../src-lib/src/cpa/container_protection.adb | 2 +- .../src-lib/src/cpa/container_protection.ads | 2 +- .../src/dataStructure/data_structure.adb | 2 +- .../src/dataStructure/data_structure.ads | 2 +- .../src-lib/src/dataStructure/system_time.ads | 2 +- .../src/dataStructure/system_types.adb | 2 +- .../src/dataStructure/system_types.ads | 2 +- .../src/dataStructure/task_attributes.ads | 2 +- .../src-lib/src/task/cyclic_task.adb | 2 +- .../src-lib/src/task/cyclic_task.ads | 2 +- .../src/task/cyclic_task_monitored.adb | 2 +- .../src/task/cyclic_task_monitored.ads | 2 +- .../cyclic_task_monitored_rtverification.adb | 2 +- .../cyclic_task_monitored_rtverification.ads | 2 +- .../src/task/cyclic_task_rtverification.adb | 2 +- .../src/task/cyclic_task_rtverification.ads | 2 +- .../middleware/remote_msg_server_task.adb | 2 +- .../middleware/remote_msg_server_task.ads | 2 +- .../src/task/multi_activity_cyclic_task.adb | 2 +- .../src/task/multi_activity_cyclic_task.ads | 2 +- .../src-lib/src/task/sporadic_task.adb | 2 +- .../src-lib/src/task/sporadic_task.ads | 2 +- .../src/task/sporadic_task_monitored.adb | 2 +- .../src/task/sporadic_task_monitored.ads | 2 +- .../polarsys/chess/codegen/ada/Activator.java | 4 +- .../ada/component/ComponentImplementation.mtl | 2 +- .../component/ComponentImplementationAda.mtl | 2 +- .../component/ComponentImplementationC.mtl | 2 +- .../codegen/ada/component/ComponentType.mtl | 2 +- .../chess/codegen/ada/container/Container.mtl | 2 +- .../chess/codegen/ada/datatype/DataType.mtl | 2 +- .../chess/codegen/ada/datatype/DataTypeC.mtl | 2 +- .../codegen/ada/deployment/Deployment.mtl | 2 +- .../codegen/ada/handlers/AdaGenUIHandler.java | 4 +- .../chess/codegen/ada/ifs/Interface.mtl | 2 +- .../chess/codegen/ada/main/Copyright.mtl | 8 ++-- .../chess/codegen/ada/main/GNATadc.mtl | 2 +- .../polarsys/chess/codegen/ada/main/GPR.mtl | 2 +- .../ada/main/GenerateInfrastructure.java | 7 +-- .../chess/codegen/ada/main/License.mtl | 2 +- .../polarsys/chess/codegen/ada/main/Main.mtl | 2 +- .../ada/main/generateInfrastructure.mtl | 2 +- .../chess/codegen/ada/middleware/CRClib.mtl | 2 +- .../ada/middleware/DistributionNamingData.mtl | 2 +- .../MiddlewareRealTimeAttribute.mtl | 2 +- .../ada/middleware/RemoteMsgClient.mtl | 2 +- .../ada/middleware/RemoteMsgServer.mtl | 2 +- .../codegen/ada/service/UML2Service.java | 2 +- .../ada/transformations/AcceleoCodeGen.java | 4 +- .../ada/transformations/Transformations.java | 4 +- .../tasks/generateInfrastructure.xml | 44 +++---------------- .../transformations/monitoring.qvto | 2 +- .../polarsys/chess/commands/Activator.java | 4 +- .../polarsys/chess/commands/AssignCopy.java | 4 +- .../commands/BuildModelInstanceCommand.java | 4 +- .../commands/HideRTInformationCommand.java | 4 +- .../commands/ShowRTInformationCommand.java | 4 +- .../ConstraintEditorFilter.java | 4 +- .../CustomConstraintEditorTab.java | 4 +- .../license/Copyright.txt | 2 +- .../org.polarsys.chess.diagramListener.exsd | 2 +- .../org.polarsys.chess.resourceListener.exsd | 2 +- .../org.polarsys.chess.selectionListener.exsd | 2 +- .../org/polarsys/chess/core/Activator.java | 2 +- .../chess/core/constraint/ConstraintList.java | 2 +- .../core/constraint/DynamicConstraint.java | 2 +- .../FilterableDynamicConstraint.java | 2 +- .../chess/core/constraint/IConstraint.java | 2 +- .../chess/core/constraint/SettableStatus.java | 2 +- .../internal/preferences/CHESSMainPage.java | 2 +- .../ConstraintPreferenceInitializer.java | 2 +- .../preferences/ConstraintPreferencePage.java | 2 +- .../core/internal/preferences/LabelField.java | 2 +- .../core/internal/util/MainRegistry.java | 2 +- .../internal/views/InternalViewUtils.java | 2 +- .../internal/views/ReloadXMLPermissions.java | 2 +- .../core/internal/views/ViewPermissions.java | 2 +- .../views/commands/CreateViewsCommand.java | 2 +- .../internal/views/permissions/EntryId.java | 2 +- .../views/permissions/PermissionEntry.java | 2 +- .../views/permissions/PermissionList.java | 2 +- .../chess/core/natures/CHESSNature.java | 2 +- .../notifications/ResourceNotification.java | 2 +- .../preferences/FilterableConstraint.java | 2 +- .../chess/core/preferences/IFilterable.java | 2 +- .../core/profiles/CHESSProfileManager.java | 2 +- .../core/profiles/MARTEProfileManager.java | 2 +- .../core/profiles/SysMLProfileManager.java | 2 +- .../ResourceSetListenerExtra.java | 2 +- .../ResourceSetListenerManager.java | 2 +- .../SelectionListenerExtra.java | 2 +- .../SelectionListenerManager.java | 2 +- .../TransformationExecutorManager.java | 2 +- .../chess/core/util/AnalysisResultData.java | 4 +- .../chess/core/util/CHESSProjectSupport.java | 2 +- .../chess/core/util/EndToEndResultData.java | 4 +- .../chess/core/util/HWAnalysisResultData.java | 4 +- .../chess/core/util/NotificationManager.java | 2 +- .../core/util/commands/AddDiagramElement.java | 2 +- .../chess/core/util/uml/ProfileUtils.java | 2 +- .../chess/core/util/uml/ResourceUtils.java | 2 +- .../chess/core/util/uml/UMLUtils.java | 2 +- .../chess/core/util/uml/ValueNFP.java | 4 +- .../chess/core/views/DiagramStatus.java | 2 +- .../core/views/ViewDiagramAssociations.java | 2 +- .../polarsys/chess/core/views/ViewUtils.java | 2 +- .../theme/frame_theme.css | 4 +- .../theme/papyrus_theme.css | 4 +- .../org.polarsys.chess.core/theme/sysml.css | 4 +- .../org.polarsys.chess.core/theme/umlBase.css | 4 +- .../unused/CreateCHESSModelCommand.java | 2 +- .../unused/NewCHESSModelCommand.java | 2 +- .../unused/annotations/DynamicConstraint.java | 2 +- .../annotations/DynamicConstraintLib.java | 2 +- .../DynamicConstraintProcessor.java | 2 +- .../unused/annotations/IEl.java | 2 +- .../unused/annotations/LibExample.java | 2 +- .../ExportComponentToImageCommand.java | 4 +- .../ExportModelToDocumentCommand.java | 4 +- .../ui/commands/GenerateDocumentCommand.java | 4 +- .../CHESSBlockDefinitionDiagramModel.java | 4 +- .../CHESSInternalBlockDiagramModel.java | 4 +- .../CHESSDiagramsGeneratorService.java | 4 +- .../ui/services/ResultsGeneratorService.java | 4 +- .../diagram/ui/utils/ExportDialogUtils.java | 4 +- .../actions/ShowBDDElementsAction.java | 4 +- .../actions/ShowIBDElementsAction.java | 4 +- .../actions/ShowSMDElementsAction.java | 4 +- .../commands/AdjustAssociationsHandler.java | 4 +- .../commands/AdjustConnectorsHandler.java | 4 +- .../commands/ArrangeHandler.java | 4 +- .../commands/CreateBDDCommand.java | 4 +- .../commands/CreateBDDHandler.java | 4 +- .../commands/CreateIBDMultipleCommand.java | 4 +- .../commands/CreateIBDMultipleHandler.java | 4 +- .../commands/CreateIBDSingleCommand.java | 4 +- .../commands/CreateIBDSingleHandler.java | 4 +- .../commands/CreateSMDHandler.java | 4 +- .../commands/RefreshBDDHandler.java | 4 +- .../commands/RefreshIBDHandler.java | 4 +- .../commands/RefreshSMDHandler.java | 4 +- .../connectors/BDDDiagramLayoutConnector.java | 4 +- .../connectors/IBDDiagramLayoutConnector.java | 4 +- .../connectors/SMDDiagramLayoutConnector.java | 4 +- .../dialogs/BDDCreatorDialog.java | 4 +- .../dialogs/IBDCreatorDialog.java | 4 +- .../layouts/BDDLayoutSetup.java | 4 +- .../layouts/IBDLayoutSetup.java | 4 +- .../layouts/SMDLayoutSetup.java | 4 +- .../polarsys/chess/discovery/Activator.java | 4 +- .../ui/menu/handler/CHESSDiscoveryAction.java | 4 +- .../menu/handler/CHESSDiscoveryHandler.java | 4 +- .../ui/wizards/DiscoveryComponent.java | 4 +- .../functionBehaviorEditor/StartupClass.java | 4 +- .../license/Copyright-CeilingCalculator.txt | 2 +- .../license/Copyright.txt | 2 +- .../src/org/polarsys/chess/m2m/Activator.java | 2 +- .../BackpropagationFullVERDE.java | 2 +- .../chess/m2m/blackbox/Java4QVTutils.java | 4 +- .../polarsys/chess/m2m/blackbox/VSLUtils.java | 2 +- .../CompareAnalysisResultsHandler.java | 4 +- .../chess/m2m/handlers/PurgePSMHandler.java | 2 +- .../m2m/handlers/QVToUIHandlerEnd2End.java | 2 +- .../m2m/handlers/QVToUIHandlerVERDE.java | 2 +- .../PIMPSMTransformationVERDE.java | 2 +- .../transformations/QVToTransformation.java | 2 +- .../chess/m2m/transformations/TransUtil.java | 2 +- .../m2m/ui/CompareSchedResultDialog.java | 4 +- .../transformations/BuildMultiInstance.qvto | 2 +- .../CHESS_CeilingAssignment.qvto | 2 +- .../CHESS_PIM2PSM_Inst_full_VERDE.qvto | 2 +- .../CHESS_PIM2PSM_Inst_full_VERDE_RUN.qvto | 2 +- .../transformations/MARTEUtils.qvto | 2 +- .../ProfileUtils_Inst_full.qvto | 2 +- .../transformations/RemoveMultiInstance.qvto | 2 +- .../transformations/UMLUtils_Inst_full.qvto | 2 +- .../transformations/Unused.qvto | 2 +- .../monitoring/monitoringxml/Activator.java | 2 +- .../monitoringxml/AnalysisContext.java | 2 +- .../monitoringxml/BlockingTime.java | 2 +- .../monitoringxml/ExecutionTime.java | 2 +- .../monitoringxml/MeasuredValue.java | 2 +- .../monitoringxml/MonitoredResource.java | 2 +- .../monitoring/monitoringxml/Monitoring.java | 2 +- .../monitoringxml/MonitoringxmlFactory.java | 2 +- .../monitoringxml/MonitoringxmlPackage.java | 2 +- .../monitoring/monitoringxml/Period.java | 2 +- .../monitoring/monitoringxml/Resource.java | 2 +- .../monitoringxml/ResponseTime.java | 2 +- .../monitoring/monitoringxml/Thread.java | 2 +- .../impl/AnalysisContextImpl.java | 2 +- .../monitoringxml/impl/BlockingTimeImpl.java | 2 +- .../monitoringxml/impl/ExecutionTimeImpl.java | 2 +- .../monitoringxml/impl/MeasuredValueImpl.java | 2 +- .../impl/MonitoredResourceImpl.java | 2 +- .../monitoringxml/impl/MonitoringImpl.java | 2 +- .../impl/MonitoringxmlFactoryImpl.java | 2 +- .../monitoringxml/impl/PeriodImpl.java | 2 +- .../monitoringxml/impl/ResourceImpl.java | 2 +- .../monitoringxml/impl/ResponseTimeImpl.java | 2 +- .../monitoringxml/impl/ThreadImpl.java | 2 +- .../popup/actions/ImportLogHandler.java | 2 +- .../popup/actions/LaunchBackpropagation.java | 2 +- .../popup/actions/LaunchTraceAnalysis.java | 2 +- .../util/MonitoringxmlAdapterFactory.java | 2 +- .../MonitoringxmlResourceFactoryImpl.java | 2 +- .../util/MonitoringxmlResourceImpl.java | 2 +- .../util/MonitoringxmlSwitch.java | 2 +- .../preferences/MonitoringPreferencePage.java | 2 +- .../preferences/PreferenceConstants.java | 2 +- .../preferences/PreferenceInitializer.java | 2 +- .../chess/monitoring/traceanalyser/Event.java | 2 +- .../monitoring/traceanalyser/EventType.java | 2 +- .../monitoring/traceanalyser/Parameters.java | 2 +- .../traceanalyser/ThreadEvents.java | 2 +- .../traceanalyser/TraceAnalyser.java | 2 +- .../monitoring/traceanalyser/TraceReader.java | 2 +- .../transforms/CommonUtilities.qvto | 2 +- .../transforms/MonitoringXML2Chess.qvto | 2 +- .../polarsys/chess/multicore/Activator.java | 4 +- .../ReferenceSelectorNoDoubleClick.java | 4 +- .../AssignComponents2CoresCommand.java | 4 +- .../commands/AssignTasks2CoresCommand.java | 4 +- .../GenerateTask2CoreAssignmentsCommand.java | 4 +- ...teTask2CoreAssignmentsUsingRUNCommand.java | 4 +- .../multicore/dialogs/CoreSelectorDialog.java | 4 +- .../dialogs/SystemSelectionDialog.java | 4 +- .../multicore/model/AbstractCommand.java | 4 +- .../chess/multicore/model/CHCore.java | 4 +- .../chess/multicore/model/CHTask.java | 4 +- .../chess/multicore/model/SupertaskInfo.java | 4 +- .../chess/multicore/partitioning/Bin.java | 4 +- .../multicore/partitioning/BinPacker.java | 4 +- .../multicore/partitioning/Heuristic.java | 4 +- .../multicore/partitioning/RUNReduction.java | 4 +- .../chess/multicore/partitioning/Task.java | 4 +- .../partitioning/WorstFitBinPacker.java | 4 +- .../chess/multicore/utils/GeneratorUtils.java | 4 +- .../chess/multicore/utils/InstanceQuery.java | 4 +- .../chess/multicore/utils/QueryUtils.java | 4 +- .../chess/multicore/utils/VSLUtils.java | 4 +- .../InstantiateArchitectureViaWizard.java | 4 +- .../InstantiateParamArchAsOssFileCommand.java | 4 +- .../ui/dialog/ConfigParameter.java | 4 +- .../ui/wizard/InstantiateArchWizard.java | 4 +- .../ui/wizard/PackageViewFilter.java | 4 +- .../ui/wizard/TreeSelector.java | 4 +- .../ui/wizard/page/AssignValuesPage.java | 4 +- .../ui/wizard/page/BasicWizardPage.java | 4 +- .../ui/wizard/page/LastPage.java | 4 +- .../CustomPropertyEditorTab.java | 4 +- .../propertyEditor/PropertyEditorFilter.java | 4 +- .../core/exceptions/NoComponentException.java | 4 +- .../exceptions/NoDiagramStatusException.java | 4 +- .../service/core/model/ChessSystemModel.java | 4 +- .../core/model/UMLStateMachineModel.java | 4 +- .../core/utils/AnalysisResultUtil.java | 4 +- .../service/core/utils/FileNamesUtil.java | 4 +- .../service/gui/utils/CHESSEditorUtils.java | 2 +- .../chess/service/gui/utils/DialogUtils.java | 4 +- .../service/gui/utils/ReportProblemsUtil.java | 4 +- .../service/gui/utils/SelectionUtil.java | 4 +- .../chess/service/internal/Activator.java | 2 +- .../service/internal/MatchingStrategy.java | 2 +- .../commands/CurrentViewStatusCommand.java | 2 +- .../commands/SupersuserToggleCommand.java | 2 +- .../switchers/SwitchSourceProvider.java | 2 +- .../SwitchToDependabilityCommand.java | 2 +- .../SwitchToExtraFunctionalCommand.java | 2 +- .../switchers/SwitchToRailwayCommand.java | 2 +- .../commands/switchers/SwitchToView.java | 2 +- .../internal/palette/PaletteManager.java | 2 +- .../internal/service/CHESSService.java | 2 +- .../internal/service/CHESSServiceFactory.java | 2 +- .../internal/service/SelectionListener.java | 2 +- .../utils/CHESSInternalEditorUtils.java | 2 +- .../internal/visibility/HidePortCommand.java | 2 +- .../ExportModelToMonolithicSMVCommand.java | 4 +- .../ExportNominalSMsToSmvFilesCommand.java | 4 +- ...rtSelectedNominalSMsToSmvFilesCommand.java | 4 +- .../ui/services/CHESSSmvExporterService.java | 4 +- .../ui/utils/SMVGenerationDialogUtil.java | 4 +- .../build.properties | 4 +- .../plugin.properties | 4 +- .../chess/test/runtime/Activator.java | 4 +- .../test/runtime/handlers/TestsHandler.java | 4 +- .../chess/test/runtime/tests/AllTests.java | 4 +- .../tests/TestApplyCHESSStereotype.java | 4 +- .../runtime/tests/TestApplyRecursively.java | 4 +- .../test/runtime/tests/TestCreateViews.java | 4 +- .../chess/test/runtime/util/TestUtil.java | 4 +- .../commands/TradeoffCommand.java | 4 +- .../dialogs/ConfigurationSelectionDialog.java | 4 +- .../tradeoffAnalysis/views/TradeoffView.java | 4 +- .../license/Copyright.txt | 2 +- .../polarsys/chess/validator/Activator.java | 2 +- .../automatedActions/IAutomatedAction.java | 2 +- .../command/CHESSCoreValidationHandler.java | 4 +- .../command/ChessGenericValidateCommand.java | 4 +- .../chess/validator/constraints/AV_03.java | 4 +- .../validator/constraints/ArincProc_01.java | 2 +- .../validator/constraints/Connector_01.java | 2 +- .../validator/constraints/Connector_02.java | 2 +- .../validator/constraints/Connector_03.java | 2 +- .../chess/validator/constraints/DV_01.java | 2 +- .../chess/validator/constraints/DV_02.java | 4 +- .../chess/validator/constraints/DV_03.java | 2 +- .../chess/validator/constraints/DV_04.java | 2 +- .../chess/validator/constraints/DV_05.java | 2 +- .../chess/validator/constraints/DV_06.java | 2 +- .../chess/validator/constraints/EFVRT_01.java | 2 +- .../chess/validator/constraints/EFVRT_02.java | 2 +- .../validator/constraints/EFVRT_02_1.java | 2 +- .../chess/validator/constraints/EFVRT_03.java | 2 +- .../chess/validator/constraints/EFVRT_04.java | 2 +- .../chess/validator/constraints/EFVRT_20.java | 2 +- .../chess/validator/constraints/EFVRT_30.java | 2 +- .../chess/validator/constraints/EFVRT_40.java | 2 +- .../chess/validator/constraints/FV_02.java | 2 +- .../chess/validator/constraints/FV_03.java | 2 +- .../chess/validator/constraints/FV_04.java | 2 +- .../chess/validator/constraints/FV_05.java | 2 +- .../chess/validator/constraints/FV_06.java | 2 +- .../chess/validator/constraints/FV_07.java | 2 +- .../validator/constraints/FlowPorts_01.java | 2 +- .../validator/constraints/FlowPorts_02.java | 2 +- .../validator/constraints/FlowPorts_03.java | 2 +- .../validator/constraints/StringParser.java | 2 +- .../chess/validator/libs/ActionsLib.java | 2 +- .../chess/validator/libs/ConstraintsLib.java | 2 +- .../validator/libs/CrossViewActionLib.java | 2 +- .../validator/managers/AddDiagramElement.java | 2 +- .../validator/managers/ModelManager.java | 2 +- .../chess/validator/managers/ModelParser.java | 2 +- .../validator/managers/ResourceListener.java | 2 +- .../ValidationDelegateClientSelector.java | 2 +- .../chess/validator/managers/ViewManager.java | 2 +- .../chess/validator/messages/Messages.java | 2 +- .../plugin.properties | 4 +- .../org/polarsys/chess/wizards/Activator.java | 2 +- .../wizards/CHESSNewProjectWizard.java | 2 +- .../wizards/CreateCHESSModelWizard.java | 2 +- .../wizards/wizards/InitModelWizard.java | 2 +- .../chess/xtext/global/Activator.java | 4 +- .../chess/xtext/global/utils/XtextUtils.java | 4 +- .../ATL/CHESS2IM.atl | 2 +- .../ATL/IDM2PNML.atl | 2 +- .../ATL/PNML2DEEM.atl | 2 +- .../build.properties | 4 +- .../polarsys/chess/statebased/Activator.java | 2 +- .../polarsys/chess/statebased/DEEMClient.java | 2 +- .../statebased/DEEMProgressInformation.java | 2 +- .../statebased/PeriodicExecutionDialog.java | 2 +- .../SelectionListenerForStateBased.java | 2 +- .../statebased/StateBasedSourceProvider.java | 2 +- .../StateBasedTransformationCommand.java | 2 +- .../StateBasedWithParametersCommand.java | 2 +- .../daemon/DEEMProgressInformation.java | 2 +- .../statebased/daemon/ParameterList.java | 2 +- .../preferences/StateBasedPreferencePage.java | 2 +- 920 files changed, 1518 insertions(+), 1553 deletions(-) diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/build.properties b/plugins/contracts/org.polarsys.chess.contracts.chessextension/build.properties index 84e38722a..32a129e0c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/build.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/build.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/plugin.xml b/plugins/contracts/org.polarsys.chess.contracts.chessextension/plugin.xml index e1812501d..9633ab53e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/plugin.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/plugin.xml @@ -4,9 +4,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/Activator.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/Activator.java index 6b4bba357..b3ca234da 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/Activator.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/Activator.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/dialogs/SetContractRefinementDialog.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/dialogs/SetContractRefinementDialog.java index f7a231f6e..27bd44b3e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/dialogs/SetContractRefinementDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/dialogs/SetContractRefinementDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/PapyrusModelListener.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/PapyrusModelListener.java index 0030ee5a9..3c2dd12d0 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/PapyrusModelListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/PapyrusModelListener.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/SelectionListener.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/SelectionListener.java index 7bfdc8a53..5ab91667a 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/SelectionListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/listeners/SelectionListener.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/ApplyCHESSContractProfile.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/ApplyCHESSContractProfile.java index 89274a810..0b7f5f3ad 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/ApplyCHESSContractProfile.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/ApplyCHESSContractProfile.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/CHESSContractProfileManager.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/CHESSContractProfileManager.java index ab60510ca..08de1cbdd 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/CHESSContractProfileManager.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/CHESSContractProfileManager.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/PaletteManager.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/PaletteManager.java index a21ef558a..1639af08b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/PaletteManager.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/managers/PaletteManager.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/popup/commands/SetContractRefinement.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/popup/commands/SetContractRefinement.java index bde3624e7..5ac447983 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/popup/commands/SetContractRefinement.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/popup/commands/SetContractRefinement.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockEditPartSection.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockEditPartSection.java index a0aa68d36..7264e85d9 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockEditPartSection.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockEditPartSection.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2017 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockPropertyCompositeEditPartSection.java b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockPropertyCompositeEditPartSection.java index 425b85d17..33be5d9ce 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockPropertyCompositeEditPartSection.java +++ b/plugins/contracts/org.polarsys.chess.contracts.chessextension/src/org/polarsys/chess/contracts/chessextension/propertytab/BlockPropertyCompositeEditPartSection.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorFilter.java b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorFilter.java index 282625e8f..6199dc323 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorFilter.java +++ b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorFilter.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorTab.java b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorTab.java index 3b8509006..f701564a7 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorTab.java +++ b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorTab.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorView.java b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorView.java index dc692ed4d..5333f6144 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorView.java +++ b/plugins/contracts/org.polarsys.chess.contracts.contractEditor/src/org/polarsys/chess/contracts/contractEditor/CustomContractEditorView.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/MessageDialog.java b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/MessageDialog.java index f63b93634..18b446983 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/MessageDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/MessageDialog.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/PapyrusListener.java b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/PapyrusListener.java index 0e6e0b974..f3b598c8e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/PapyrusListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.contractPropertyManager/src/org/polarsys/chess/contracts/contractPropertyManager/ui/profile/listener/PapyrusListener.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/PapyrusListener.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/PapyrusListener.java index c430054fb..ef8f2074e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/PapyrusListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/PapyrusListener.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/SelectionListener.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/SelectionListener.java index c3bffa886..16c03a085 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/SelectionListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/listener/SelectionListener.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSComponentNode.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSComponentNode.java index 4b37085d8..e85b14626 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSComponentNode.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSComponentNode.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSRootNode.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSRootNode.java index 51d3a980b..a1f6e896e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSRootNode.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSRootNode.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSSystemNode.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSSystemNode.java index 5b47ce2d7..f5e0bbb85 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSSystemNode.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/treeElements/CHESSSystemNode.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/view/CustomHierarchicalView.java b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/view/CustomHierarchicalView.java index e9221ff98..2ccbbb0b6 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/view/CustomHierarchicalView.java +++ b/plugins/contracts/org.polarsys.chess.contracts.hierarchicalContractView/src/org/polarsys/chess/contracts/hierarchicalContractView/view/CustomHierarchicalView.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/build.properties b/plugins/contracts/org.polarsys.chess.contracts.integration/build.properties index be97beff3..738e52b9c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/build.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/build.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/plugin.xml b/plugins/contracts/org.polarsys.chess.contracts.integration/plugin.xml index 70155c0b5..d0373e02f 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/plugin.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/plugin.xml @@ -4,9 +4,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/Activator.java b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/Activator.java index 61e5d6be9..911c4ba19 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/Activator.java +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/Activator.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/InputStreamer.java b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/InputStreamer.java index 972aca536..81aa240d3 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/InputStreamer.java +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/InputStreamer.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/ToolIntegration.java b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/ToolIntegration.java index 4d53401bd..5ea4d8651 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/ToolIntegration.java +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/ToolIntegration.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/OcraAnalysisPreferencePage.java b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/OcraAnalysisPreferencePage.java index 5eed24422..2b5037b34 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/OcraAnalysisPreferencePage.java +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/OcraAnalysisPreferencePage.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/build.properties b/plugins/contracts/org.polarsys.chess.contracts.profile/build.properties index b3de30dbc..a6fa2ea06 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/build.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/build.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverBDD.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverBDD.Palette.xml index 0b18e373c..d1712869a 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverBDD.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverBDD.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCD.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCD.Palette.xml index e4d1456d9..615b8cd83 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCD.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCD.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCSD.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCSD.Palette.xml index f9a6aba06..2b54a31d1 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCSD.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverCSD.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverDeploymentCD.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverDeploymentCD.Palette.xml index 498e4032b..98f6fea4f 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverDeploymentCD.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverDeploymentCD.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverIBD.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverIBD.Palette.xml index 8a27de7cb..d080d918b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverIBD.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverIBD.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverReq.Palette.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverReq.Palette.xml index 4795b39a0..87cf5b903 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverReq.Palette.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/palettes/ForeverReq.Palette.xml @@ -3,9 +3,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.properties b/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.properties index 07e9dae6d..12feb24d3 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.xml b/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.xml index 28ff49ae3..e2eba5f8c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/plugin.xml @@ -5,9 +5,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/Activator.java b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/Activator.java index c2b38eb04..32f44750b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/Activator.java +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/Activator.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/ContractEntityUtil.java b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/ContractEntityUtil.java index 59885f1e8..ed54d9b51 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/ContractEntityUtil.java +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/ContractEntityUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/EntityUtil.java b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/EntityUtil.java index e165db025..f79e68a7b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/EntityUtil.java +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/EntityUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/PapyrusListener.java b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/PapyrusListener.java index 2a30bd85d..16f5a0f33 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/PapyrusListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/PapyrusListener.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/SelectionListener.java b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/SelectionListener.java index 230b79211..c317a5814 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/SelectionListener.java +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/listener/SelectionListener.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSContractNode.java b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSContractNode.java index 65c75f88c..f5e4554ac 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSContractNode.java +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSContractNode.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSRootNode.java b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSRootNode.java index 227771809..e961d6926 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSRootNode.java +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/treeElements/CHESSRootNode.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/view/CustomRefinementView.java b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/view/CustomRefinementView.java index 567e72150..de603d808 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/view/CustomRefinementView.java +++ b/plugins/contracts/org.polarsys.chess.contracts.refinementView/src/org/polarsys/chess/contracts/refinementView/view/CustomRefinementView.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/ComputeContractFaultTreeCommand.java b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/ComputeContractFaultTreeCommand.java index d9db66a74..a5a3b6f79 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/ComputeContractFaultTreeCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/ComputeContractFaultTreeCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/debug/ComputeContractFaultTreeOnFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/debug/ComputeContractFaultTreeOnFileCommand.java index 0360a40d8..fc3d14eac 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/debug/ComputeContractFaultTreeOnFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.safetyAnalysis/src/org/polarsys/chess/safetyAnalysis/commands/debug/ComputeContractFaultTreeOnFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/build.properties b/plugins/contracts/org.polarsys.chess.contracts.transformations/build.properties index 6cd763ba6..d986645df 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/build.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/build.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.properties b/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.properties index bcea85cb9..176b09470 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.xml b/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.xml index 5a123a74a..da3dd58a3 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/plugin.xml @@ -4,9 +4,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/Activator.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/Activator.java index 50524f0bb..906a2a4ff 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/Activator.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/Activator.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/AbstractXSapHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/AbstractXSapHandler.java index 8b4788856..2adb47231 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/AbstractXSapHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/AbstractXSapHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidateAndRefineCommand.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidateAndRefineCommand.java index f9532bd66..aae1c7a7f 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidateAndRefineCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidateAndRefineCommand.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyCommand.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyCommand.java index 2ff12fda2..fff32bf9d 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyCommand.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyHandler.java index 9e3cd498f..ba66084bd 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidatePropertyHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidationAndRefinementHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidationAndRefinementHandler.java index 474896788..f242b6f2f 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidationAndRefinementHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CHESSContractValidationAndRefinementHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckImplHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckImplHandler.java index 080e1193e..59fb17d68 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckImplHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckImplHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckRefHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckRefHandler.java index f8ab54644..8648c16cf 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckRefHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckRefHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckValidPropHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckValidPropHandler.java index 25ea0ed97..74db65c34 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckValidPropHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CheckValidPropHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CommandsCommon.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CommandsCommon.java index 6bb68026c..405cf833c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CommandsCommon.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/CommandsCommon.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FMEAXSapHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FMEAXSapHandler.java index 7b98428cd..1f7469a77 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FMEAXSapHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FMEAXSapHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTANuSMV3Handler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTANuSMV3Handler.java index cbfeab3aa..8e7e62813 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTANuSMV3Handler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTANuSMV3Handler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTAXSapHandler.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTAXSapHandler.java index 911590917..67036a56b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTAXSapHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/FTAXSapHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/RefinementResultDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/RefinementResultDialog.java index 8fb7cd849..dd2876764 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/RefinementResultDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/RefinementResultDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectAnalysisCtxDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectAnalysisCtxDialog.java index ce039f753..2f087851b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectAnalysisCtxDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectAnalysisCtxDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectFTAFMEAAnalysisCtxDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectFTAFMEAAnalysisCtxDialog.java index 61ea398cd..26ceb5c9d 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectFTAFMEAAnalysisCtxDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectFTAFMEAAnalysisCtxDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectImplementationDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectImplementationDialog.java index e8f53f928..f2eea7878 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectImplementationDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectImplementationDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectOcraAnalysisCtxDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectOcraAnalysisCtxDialog.java index 8cf2c81d4..7f9d7106f 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectOcraAnalysisCtxDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectOcraAnalysisCtxDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectSystemDialog.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectSystemDialog.java index 775921b7b..ba39f7974 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectSystemDialog.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/dialogs/SelectSystemDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/Generate.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/Generate.java index 529fad88b..31c236cf8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/Generate.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/Generate.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateErrorModel.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateErrorModel.java index 79bc3d34c..4dcdb6bcb 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateErrorModel.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateErrorModel.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateFaultExtensions.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateFaultExtensions.java index 2d6c71bb7..cd8906933 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateFaultExtensions.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateFaultExtensions.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateImplementation.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateImplementation.java index 236ce41d9..9a509aed4 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateImplementation.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/GenerateImplementation.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generate.mtl b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generate.mtl index 9c9410430..4d52c03f1 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generate.mtl +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generate.mtl @@ -3,9 +3,9 @@ /***************************************************************************** * Copyright (c) 2013 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateErrorModel.mtl b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateErrorModel.mtl index 807321507..37ddef029 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateErrorModel.mtl +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateErrorModel.mtl @@ -3,9 +3,9 @@ /***************************************************************************** * Copyright (c) 2013 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateFaultExtensions.mtl b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateFaultExtensions.mtl index 161f15979..e449f64c1 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateFaultExtensions.mtl +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateFaultExtensions.mtl @@ -3,9 +3,9 @@ /***************************************************************************** * Copyright (c) 2013 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateImplementation.mtl b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateImplementation.mtl index e9827989a..f4b4461ad 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateImplementation.mtl +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/main/generateImplementation.mtl @@ -3,9 +3,9 @@ /***************************************************************************** * Copyright (c) 2013 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/service/Service.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/service/Service.java index 960cf97ef..7c26a6e9e 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/service/Service.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/service/Service.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/build.properties b/plugins/contracts/org.polarsys.chess.contracts.validation/build.properties index 84e38722a..32a129e0c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/build.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/build.properties @@ -2,9 +2,9 @@ # # Copyright (c) 2013, 2015 Intecs SpA # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/plugin.xml b/plugins/contracts/org.polarsys.chess.contracts.validation/plugin.xml index dde035266..493610968 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/plugin.xml +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/plugin.xml @@ -4,9 +4,9 @@ Copyright (c) 2013, 2015 Intecs SpA All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 + are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html + http://www.eclipse.org/legal/epl-v20.html Contributors: Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/Activator.java b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/Activator.java index 1192fa4d1..9cd1178f6 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/Activator.java +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/Activator.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/CHESSContractValidationHandler.java b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/CHESSContractValidationHandler.java index 2398ba212..91411fe14 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/CHESSContractValidationHandler.java +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/CHESSContractValidationHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/ValidationDelegateClientSelector.java b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/ValidationDelegateClientSelector.java index 15417efb9..a88e67b86 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/ValidationDelegateClientSelector.java +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/ValidationDelegateClientSelector.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/command/CHESSContractValidateCommand.java b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/command/CHESSContractValidateCommand.java index c4b90f0f5..7e9b9a5b8 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/command/CHESSContractValidateCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/command/CHESSContractValidateCommand.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/constraints/OCRAConstraints.java b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/constraints/OCRAConstraints.java index ecb91cc67..0408e850c 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/constraints/OCRAConstraints.java +++ b/plugins/contracts/org.polarsys.chess.contracts.validation/src/org/polarsys/chess/contracts/validation/constraints/OCRAConstraints.java @@ -2,9 +2,9 @@ * * Copyright (c) 2013, 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini nicholas.pacini@intecs.it diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/log4j.properties b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/log4j.properties index 8f19ebda1..5cabcd5d7 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/log4j.properties +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/log4j.properties @@ -2,9 +2,9 @@ # /******************************************************************************* # * Copyright (C) 2017 Fondazione Bruno Kessler. # * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 +# * are made available under the terms of the Eclipse Public License v2.0 # * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html +# * http://www.eclipse.org/legal/epl-v20.html # * # * Contributors: # * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/commands/ModelCheckingTest.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/commands/ModelCheckingTest.java index 8cb3fd27f..51b6482da 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/commands/ModelCheckingTest.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/commands/ModelCheckingTest.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyCHESSStereotype.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyCHESSStereotype.java index 5da7b578d..5dfa00b59 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyCHESSStereotype.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyCHESSStereotype.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyRecursively.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyRecursively.java index 38af9bf74..23e095114 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyRecursively.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestApplyRecursively.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCheckContractRefinementOfCHESSComponent.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCheckContractRefinementOfCHESSComponent.java index 3aa909963..fcc14cd42 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCheckContractRefinementOfCHESSComponent.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCheckContractRefinementOfCHESSComponent.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCreateViews.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCreateViews.java index 5e22c060c..bf68806f6 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCreateViews.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestCreateViews.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestModelChecking.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestModelChecking.java index 9e478f853..0fd8d0c34 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestModelChecking.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestModelChecking.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestUtil.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestUtil.java index 9d09ea3af..3a3135efd 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestUtil.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationAssertionPropertyCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationAssertionPropertyCommand.java index 8dd679444..cb05a8084 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationAssertionPropertyCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationAssertionPropertyCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationContractPropertyCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationContractPropertyCommand.java index 5883db63e..988fa6010 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationContractPropertyCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CheckValidationContractPropertyCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CompositeContractImplementationCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CompositeContractImplementationCommand.java index c4895f240..fdab92386 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CompositeContractImplementationCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/CompositeContractImplementationCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractImplementationCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractImplementationCommand.java index 22d16b7f7..8ace9d147 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractImplementationCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractImplementationCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractRefinementCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractRefinementCommand.java index abec69057..f21037cba 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractRefinementCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ContractRefinementCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ExportModelToFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ExportModelToFileCommand.java index 8d9f54f66..7d495e6ef 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ExportModelToFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ExportModelToFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ModelCheckingCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ModelCheckingCommand.java index 236e0b4a2..0dd7d5a89 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ModelCheckingCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/ModelCheckingCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/CheckValidationPropertyOnFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/CheckValidationPropertyOnFileCommand.java index 6d73e2b73..18cd4fe98 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/CheckValidationPropertyOnFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/CheckValidationPropertyOnFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractImplementationOnFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractImplementationOnFileCommand.java index 6ca251ece..0063c6170 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractImplementationOnFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractImplementationOnFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractRefinementOnFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractRefinementOnFileCommand.java index 705a9e6e6..41de88627 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractRefinementOnFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ContractRefinementOnFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ModelCheckingOnFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ModelCheckingOnFileCommand.java index 2f51a28e3..cb72b6b73 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ModelCheckingOnFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/ModelCheckingOnFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnOSSFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnOSSFileCommand.java index bbf5ea5e0..984b61e96 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnOSSFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnOSSFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnSMVFileCommand.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnSMVFileCommand.java index 4d67a776c..e63b39d43 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnSMVFileCommand.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/commands/debug/RuntimeErrorsOnSMVFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/services/ExecCommandService.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/services/ExecCommandService.java index 16088e39d..e5b97c0b7 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/services/ExecCommandService.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService/src/org/polarsys/chess/verificationService/ui/services/ExecCommandService.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/build.properties b/plugins/fla/org.polarsys.chess.fla.flamm/build.properties index f69ac01b6..7e81b13ea 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/build.properties +++ b/plugins/fla/org.polarsys.chess.fla.flamm/build.properties @@ -8,7 +8,7 @@ # 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 +# http://www.eclipse.org/legal/epl-v20.html ############################################################################### # diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/plugin.properties b/plugins/fla/org.polarsys.chess.fla.flamm/plugin.properties index c302312cf..d83ca0ff5 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/plugin.properties +++ b/plugins/fla/org.polarsys.chess.fla.flamm/plugin.properties @@ -8,7 +8,7 @@ # 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 +# http://www.eclipse.org/legal/epl-v20.html ############################################################################### # diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDavoidable.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDavoidable.java index 557881b02..d762e848b 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDavoidable.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDavoidable.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDmitigation.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDmitigation.java index f003516bd..1d22ff583 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDmitigation.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/ACIDmitigation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Component.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Component.java index 564f63ab8..1dfc5683a 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Component.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Component.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/CompositeComponent.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/CompositeComponent.java index 344ea19e2..b6b6d8289 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/CompositeComponent.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/CompositeComponent.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Connection.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Connection.java index bb56e8fde..622681cec 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Connection.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Connection.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Expression.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Expression.java index 360fcae3b..b5ae0f02a 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Expression.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Expression.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Failure.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Failure.java index c2cd7ffe9..c580b72ba 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Failure.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Failure.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_avoidable.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_avoidable.java index f69be6ce1..75963f2b2 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_avoidable.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_avoidable.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_mitigation.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_mitigation.java index 918fab6d5..f9ca79e15 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_mitigation.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/A_mitigation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_avoidable.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_avoidable.java index 131e6e752..fd4a810c4 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_avoidable.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_avoidable.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_mitigation.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_mitigation.java index 9123d93f4..afd6ae7b9 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_mitigation.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/C_mitigation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_avoidable.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_avoidable.java index 30c2189d8..90082f8ef 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_avoidable.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_avoidable.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_mitigation.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_mitigation.java index 701481d38..fa81b0463 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_mitigation.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/D_mitigation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureType.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureType.java index b8710715a..52a610714 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureType.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureType.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesFactory.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesFactory.java index 4d1bc59fd..3e93608c9 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesFactory.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesFactory.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesPackage.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesPackage.java index 28327d47e..e2f639b3b 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesPackage.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/FailureTypesPackage.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_avoidable.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_avoidable.java index b94deb00f..9f88e421e 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_avoidable.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_avoidable.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_mitigation.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_mitigation.java index 275cbb3e7..b7826d9e5 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_mitigation.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FailureTypes/I_mitigation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.FailureTypes; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlaBehaviour.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlaBehaviour.java index b6aa4de9d..aa4451272 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlaBehaviour.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlaBehaviour.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammFactory.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammFactory.java index f285bbf16..77693069a 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammFactory.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammFactory.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammPackage.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammPackage.java index 05014e019..18e0a1877 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammPackage.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/FlammPackage.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/NamedElement.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/NamedElement.java index b583af5f3..97c85e7e3 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/NamedElement.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/NamedElement.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Port.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Port.java index 82e5b2d1b..12f3cd2a7 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Port.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Port.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/PortFailureTuple.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/PortFailureTuple.java index 45d57fb8e..cc4c1ad9b 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/PortFailureTuple.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/PortFailureTuple.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Rule.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Rule.java index 9e84fe0ea..332c4a8d1 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Rule.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/Rule.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/SimpleComponent.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/SimpleComponent.java index f2b407662..578b57693 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/SimpleComponent.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/SimpleComponent.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaLogger.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaLogger.java index 05a608ba5..2dee6dc30 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaLogger.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaLogger.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.analysis; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaSystem.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaSystem.java index c2c5331a3..20b42429b 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaSystem.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/FlaSystem.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.analysis; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/SimpleFlaLogger.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/SimpleFlaLogger.java index 78e0a4d84..e601bd6c9 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/SimpleFlaLogger.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/analysis/SimpleFlaLogger.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.analysis; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammAdapterFactory.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammAdapterFactory.java index c563c735a..77dfae5ae 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammAdapterFactory.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammAdapterFactory.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammReader.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammReader.java index 02f19e53f..afbd9b4d5 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammReader.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammReader.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceFactoryImpl.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceFactoryImpl.java index db2cf7125..b2c26c207 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceFactoryImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceFactoryImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceImpl.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceImpl.java index a8aaa5f16..0749b2569 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammResourceImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammSwitch.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammSwitch.java index 7bff934d5..937e9740e 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammSwitch.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammSwitch.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammXMLProcessor.java b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammXMLProcessor.java index 9e008777d..5f266edf4 100644 --- a/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammXMLProcessor.java +++ b/plugins/fla/org.polarsys.chess.fla.flamm/src/org/polarsys/chess/fla/flamm/util/FlammXMLProcessor.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.flamm.util; diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/build.properties b/plugins/fla/org.polarsys.chess.fla.flaxml/build.properties index f69ac01b6..7e81b13ea 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/build.properties +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/build.properties @@ -8,7 +8,7 @@ # 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 +# http://www.eclipse.org/legal/epl-v20.html ############################################################################### # diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/plugin.properties b/plugins/fla/org.polarsys.chess.fla.flaxml/plugin.properties index 509f68c21..0dbfee3d1 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/plugin.properties +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/plugin.properties @@ -8,7 +8,7 @@ # 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 +# http://www.eclipse.org/legal/epl-v20.html ############################################################################### # diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Component.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Component.java index 4e7b26b60..542d8b0e9 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Component.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Component.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Components.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Components.java index 5eed1973b..24ab45af8 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Components.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Components.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/CompositeComponent.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/CompositeComponent.java index 2324f8a34..06f11d53e 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/CompositeComponent.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/CompositeComponent.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connection.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connection.java index 036fd9fc7..424494bbf 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connection.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connection.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connections.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connections.java index d7b6a1965..12eaad769 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connections.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Connections.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/DocumentRoot.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/DocumentRoot.java index 5173fa355..03e94d766 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/DocumentRoot.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/DocumentRoot.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Failure.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Failure.java index f0ce0171f..566523a7e 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Failure.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/Failure.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FailureType.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FailureType.java index 39dc4dadb..3744abc8d 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FailureType.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FailureType.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlFactory.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlFactory.java index 65d23802e..f1cf03d53 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlFactory.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlFactory.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlPackage.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlPackage.java index 8ecb357f8..49ba6bc2a 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlPackage.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FlaxmlPackage.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FptcRules.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FptcRules.java index 98b5f19a5..d0759f2c4 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FptcRules.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/FptcRules.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPort.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPort.java index 030b0e8bd..c6c0473ff 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPort.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPort.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPorts.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPorts.java index 2dd53ee86..3eeb618ef 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPorts.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/InputPorts.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/NamedElement.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/NamedElement.java index 961074dcf..f4aa22ebf 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/NamedElement.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/NamedElement.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPort.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPort.java index 987bb19fe..630854730 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPort.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPort.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPorts.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPorts.java index f17951058..44c9c5605 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPorts.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/OutputPorts.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/RuleString.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/RuleString.java index 4154ada7c..1cc69199f 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/RuleString.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/RuleString.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/SimpleComponent.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/SimpleComponent.java index a26d89332..e558cda64 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/SimpleComponent.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/SimpleComponent.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/System.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/System.java index 76f11bcaa..15aefa24e 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/System.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/System.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentImpl.java index 17153156f..f975250dc 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentsImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentsImpl.java index 5aab55363..333bd4daf 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentsImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ComponentsImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/CompositeComponentImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/CompositeComponentImpl.java index e75ada94c..4f8b4d073 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/CompositeComponentImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/CompositeComponentImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionImpl.java index 5236f89bb..22a522a68 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionsImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionsImpl.java index dbbe5e3e8..0aa27dd77 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionsImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/ConnectionsImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/DocumentRootImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/DocumentRootImpl.java index ab19bc03e..10944bb34 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/DocumentRootImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/DocumentRootImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FailureImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FailureImpl.java index 9a6a65900..e7e05da70 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FailureImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FailureImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlFactoryImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlFactoryImpl.java index 524dd96ab..6b3457dc6 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlFactoryImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlFactoryImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlPackageImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlPackageImpl.java index 023d3f394..1c5e50bed 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlPackageImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FlaxmlPackageImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FptcRulesImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FptcRulesImpl.java index be6319d01..875e5ae8c 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FptcRulesImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/FptcRulesImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortImpl.java index d74141c0b..d316729f6 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortsImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortsImpl.java index 99dd4328e..e7f11434c 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortsImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/InputPortsImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/NamedElementImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/NamedElementImpl.java index 418e9353a..ba4e2a6a3 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/NamedElementImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/NamedElementImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortImpl.java index 5a2fbb853..c3e650d73 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortsImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortsImpl.java index a385b8c32..45b99b3ca 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortsImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/OutputPortsImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/RuleStringImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/RuleStringImpl.java index e0fcd24b3..808209fa9 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/RuleStringImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/RuleStringImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SimpleComponentImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SimpleComponentImpl.java index a9edb1f62..36e0d1fc2 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SimpleComponentImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SimpleComponentImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SystemImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SystemImpl.java index a55c4f8ff..2337eed1a 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SystemImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/impl/SystemImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlAdapterFactory.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlAdapterFactory.java index 748e7a96a..b5e16d2c4 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlAdapterFactory.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlAdapterFactory.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceFactoryImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceFactoryImpl.java index 22526dc81..bcfb1703d 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceFactoryImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceFactoryImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceImpl.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceImpl.java index 7bb8a4092..d9dd68850 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceImpl.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlResourceImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlSwitch.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlSwitch.java index 0433e8c5a..5a394c3ca 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlSwitch.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlSwitch.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlValidator.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlValidator.java index e74fdbb9b..7003dd703 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlValidator.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlValidator.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlXMLProcessor.java b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlXMLProcessor.java index 2874b25d4..befea4474 100644 --- a/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlXMLProcessor.java +++ b/plugins/fla/org.polarsys.chess.fla.flaxml/src/org/polarsys/chess/fla/flaxml/util/FlaxmlXMLProcessor.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/Activator.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/Activator.java index 9517efe39..0d99a62aa 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/Activator.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/Activator.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaAnalysisException.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaAnalysisException.java index 7dd131d9e..8fd8dedeb 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaAnalysisException.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaAnalysisException.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.common; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaLogger.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaLogger.java index 0aa8650a6..b7d5a35d7 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaLogger.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/FlaLogger.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.common; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/TransformationException.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/TransformationException.java index 0aa58eb0b..639fe916e 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/TransformationException.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/common/TransformationException.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.common; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunner.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunner.java index 2d980b210..18e405a23 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunner.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunner.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.impl; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunnerXml.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunnerXml.java index 5d5afd019..fcb5670e5 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunnerXml.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/impl/FlaAnalysisRunnerXml.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.impl; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/Activator.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/Activator.java index ec0f5cd33..33fd139b3 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/Activator.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/Activator.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.launch; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommand.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommand.java index 12483ea92..c6a637a5a 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommand.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommand.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.launch; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommandXml.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommandXml.java index 9efe9eb5c..b7b9aff6e 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommandXml.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/launch/FlaAnalysisCommandXml.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.launch; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/ConcertoFlaPreferencePage.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/ConcertoFlaPreferencePage.java index 56e315570..6fd1ded97 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/ConcertoFlaPreferencePage.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/ConcertoFlaPreferencePage.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.preferences; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/FlaParameters.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/FlaParameters.java index ce09fd29f..f9069535e 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/FlaParameters.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/FlaParameters.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.preferences; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/PreferenceInitializer.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/PreferenceInitializer.java index b33a83c5d..0abe3dcef 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/PreferenceInitializer.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/preferences/PreferenceInitializer.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.fla.preferences; diff --git a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/transformations/QVToTransformation.java b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/transformations/QVToTransformation.java index a8dd1da75..f4d2f62f5 100644 --- a/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/transformations/QVToTransformation.java +++ b/plugins/fla/org.polarsys.chess.fla/src/org/polarsys/chess/fla/transformations/QVToTransformation.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** * Logic from: QVTOML/Examples/InvokeInJava diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslDescriptionLabelProvider.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslDescriptionLabelProvider.xtend index 8d2911b4d..615a57276 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslDescriptionLabelProvider.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslDescriptionLabelProvider.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslLabelProvider.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslLabelProvider.xtend index af9fa97e5..dc38e6552 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslLabelProvider.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/labeling/FlaDslLabelProvider.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/outline/FlaDslOutlineTreeProvider.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/outline/FlaDslOutlineTreeProvider.xtend index 2d39ecd56..2638d318c 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/outline/FlaDslOutlineTreeProvider.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/outline/FlaDslOutlineTreeProvider.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/quickfix/FlaDslQuickfixProvider.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/quickfix/FlaDslQuickfixProvider.xtend index d61b72f87..3c9b9c79d 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/quickfix/FlaDslQuickfixProvider.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl.ui/src/org/polarsys/chess/xtext/ui/quickfix/FlaDslQuickfixProvider.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/GenerateFlaDsl.mwe2 b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/GenerateFlaDsl.mwe2 index 8db7ad144..f4555b740 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/GenerateFlaDsl.mwe2 +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/GenerateFlaDsl.mwe2 @@ -2,9 +2,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/formatting/FlaDslFormatter.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/formatting/FlaDslFormatter.xtend index b4b6ce702..2c6bb72fe 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/formatting/FlaDslFormatter.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/formatting/FlaDslFormatter.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/generator/FlaDslGenerator.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/generator/FlaDslGenerator.xtend index abd1789f1..2c8463da7 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/generator/FlaDslGenerator.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/generator/FlaDslGenerator.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/scoping/FlaDslScopeProvider.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/scoping/FlaDslScopeProvider.xtend index 7f1f884ed..bc0507b9c 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/scoping/FlaDslScopeProvider.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/scoping/FlaDslScopeProvider.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/validation/FlaDslValidator.xtend b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/validation/FlaDslValidator.xtend index f5e9df494..5f473f0b6 100644 --- a/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/validation/FlaDslValidator.xtend +++ b/plugins/fla/org.polarsys.chess.xtext.fladsl/src/org/polarsys/chess/xtext/validation/FlaDslValidator.xtend @@ -5,9 +5,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/commands/ImportOSSFileCommand.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/commands/ImportOSSFileCommand.java index cc6f7f1be..e60daff58 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/commands/ImportOSSFileCommand.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/commands/ImportOSSFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/actions/ImportOSSFileAction.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/actions/ImportOSSFileAction.java index ecd15b7d1..a6fa62192 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/actions/ImportOSSFileAction.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/actions/ImportOSSFileAction.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/exceptions/ImportException.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/exceptions/ImportException.java index c81513586..72f703032 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/exceptions/ImportException.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/exceptions/ImportException.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/ChessElementsUtil.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/ChessElementsUtil.java index 9c40f2358..7bb68edba 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/ChessElementsUtil.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/ChessElementsUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/OssTypeTranslator.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/OssTypeTranslator.java index b80aaa16f..de5348b8f 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/OssTypeTranslator.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/OssTypeTranslator.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/StereotypeUtil.java b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/StereotypeUtil.java index 3cf229e57..bed61dbe3 100644 --- a/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/StereotypeUtil.java +++ b/plugins/org.polarsys.chess.OSSImporter/src/org/polarsys/chess/OSSImporter/core/utils/StereotypeUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/CreateCDOCHESSModelWizard.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/CreateCDOCHESSModelWizard.java index 6d642ec8d..a260440e3 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/CreateCDOCHESSModelWizard.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/CreateCDOCHESSModelWizard.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/InitCDOModelWizard.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/InitCDOModelWizard.java index de229db04..579c48510 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/InitCDOModelWizard.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/wizards/InitCDOModelWizard.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.chessmlprofile/build.properties b/plugins/org.polarsys.chess.chessmlprofile/build.properties index b72912f43..ef0c01467 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/build.properties +++ b/plugins/org.polarsys.chess.chessmlprofile/build.properties @@ -4,9 +4,9 @@ # * # * # * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 +# * are made available under the terms of the Eclipse Public License v2.0 # * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html +# * http://www.eclipse.org/legal/epl-v20.html # * # * # *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/plugin.properties b/plugins/org.polarsys.chess.chessmlprofile/plugin.properties index 6e778fe82..88d2e5b92 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/plugin.properties +++ b/plugins/org.polarsys.chess.chessmlprofile/plugin.properties @@ -4,9 +4,9 @@ # * # * # * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 +# * are made available under the terms of the Eclipse Public License v2.0 # * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html +# * http://www.eclipse.org/legal/epl-v20.html # * # * # *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentImplementation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentImplementation.java index a1696cd74..359b70d62 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentImplementation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentImplementation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelFactory.java index 49fcc343c..5f8f5a3a8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelPackage.java index be485cbd9..ae3f37fff 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentModelPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentType.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentType.java index e98793311..38cb775a6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentType.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/ComponentType.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/FunctionalPartition.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/FunctionalPartition.java index b2892c129..77f20c7cb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/FunctionalPartition.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/FunctionalPartition.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentImplementationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentImplementationImpl.java index 14d16c25a..bccbd73d8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentImplementationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentImplementationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelFactoryImpl.java index 96a96d667..eaa961546 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelPackageImpl.java index 720f9ba6b..0f3486ca0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentModelPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentTypeImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentTypeImpl.java index 302e1b723..e54db4324 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentTypeImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/ComponentTypeImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/FunctionalPartitionImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/FunctionalPartitionImpl.java index 4e13f369f..e5c3ad0a8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/FunctionalPartitionImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/impl/FunctionalPartitionImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelAdapterFactory.java index d1e70e7c3..a5083c35a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceFactoryImpl.java index 79b23c41e..de530b2fe 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceImpl.java index 803201f5d..b6a60fb16 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelSwitch.java index 25c9563e3..95692fa02 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelXMLProcessor.java index 433333892..a0a85e6e6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/ComponentModel/util/ComponentModelXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESS.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESS.java index 815bd8efb..de83cbb8f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESS.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESS.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/AnalysisView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/AnalysisView.java index f65ab88f9..fe0f72d67 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/AnalysisView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/AnalysisView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsFactory.java index 8e27e44f4..61d680af2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsPackage.java index 191713207..71d5f152a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/CHESSViewsPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ComponentView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ComponentView.java index f8e8042c9..c8259792e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ComponentView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ComponentView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DependabilityAnalysisView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DependabilityAnalysisView.java index f844acee0..aa8855cdf 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DependabilityAnalysisView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DependabilityAnalysisView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DeploymentView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DeploymentView.java index ab055de90..74ccfda97 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DeploymentView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/DeploymentView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ExtraFunctionalView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ExtraFunctionalView.java index 540a4bba7..6496d24c6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ExtraFunctionalView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/ExtraFunctionalView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/PSMView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/PSMView.java index b4c6536b9..62d218f95 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/PSMView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/PSMView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RTAnalysisView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RTAnalysisView.java index 7b42ba322..a151dbb2c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RTAnalysisView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RTAnalysisView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RequirementView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RequirementView.java index 17468ddd2..688fe1aad 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RequirementView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/RequirementView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/SystemView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/SystemView.java index 6499360d4..cfe901813 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/SystemView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/SystemView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/TimingDataFlowView.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/TimingDataFlowView.java index 4dbd7ee0e..fb2e187d0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/TimingDataFlowView.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/TimingDataFlowView.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/AnalysisViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/AnalysisViewImpl.java index a360d256d..ba152c7e4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/AnalysisViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/AnalysisViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsFactoryImpl.java index a3961119e..9f3c423c6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsPackageImpl.java index d1abc5dac..b19bbe8ec 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/CHESSViewsPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ComponentViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ComponentViewImpl.java index 69e9cb147..6a281a863 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ComponentViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ComponentViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DependabilityAnalysisViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DependabilityAnalysisViewImpl.java index a2a044500..67180a61c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DependabilityAnalysisViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DependabilityAnalysisViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DeploymentViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DeploymentViewImpl.java index 61bef1983..17864b326 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DeploymentViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/DeploymentViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ExtraFunctionalViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ExtraFunctionalViewImpl.java index 55893c12f..88070951d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ExtraFunctionalViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/ExtraFunctionalViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/PSMViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/PSMViewImpl.java index 5aa38a4a9..80d309974 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/PSMViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/PSMViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RTAnalysisViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RTAnalysisViewImpl.java index ad1c599a1..fca48b13d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RTAnalysisViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RTAnalysisViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RequirementViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RequirementViewImpl.java index 21c3d8fdb..3f5265f30 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RequirementViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/RequirementViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/SystemViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/SystemViewImpl.java index 7224977b3..d744c96cb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/SystemViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/SystemViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/TimingDataFlowViewImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/TimingDataFlowViewImpl.java index f6d0c123d..b8af6a72a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/TimingDataFlowViewImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/impl/TimingDataFlowViewImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsAdapterFactory.java index e358008c6..aa971cd28 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceFactoryImpl.java index 9735827e0..17881c9fb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceImpl.java index cf04e7c7b..b1e86daea 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsSwitch.java index e75833ef9..31cd77f72 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsXMLProcessor.java index 87044fb23..22df16d76 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHESSViews/util/CHESSViewsXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHGaResourcePlatform.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHGaResourcePlatform.java index 1b3783302..1c64e62dd 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHGaResourcePlatform.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CHGaResourcePlatform.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CoreFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CoreFactory.java index 4234fb9b5..a95c1c594 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CoreFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CoreFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CorePackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CorePackage.java index 500aa3595..2705b0d9e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CorePackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/CorePackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/FunctionalPartitions.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/FunctionalPartitions.java index c5fbf80f1..b46d42195 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/FunctionalPartitions.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/FunctionalPartitions.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifInstance.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifInstance.java index 4cd483dd2..9ee11666f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifInstance.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifInstance.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifSlot.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifSlot.java index bdc511168..781f4fdae 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifSlot.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/IdentifSlot.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiInstance.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiInstance.java index bdf58870e..b876d3b27 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiInstance.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiInstance.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiSlot.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiSlot.java index 60c40aa88..ecc79acaf 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiSlot.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/MultiSlot.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/PSMPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/PSMPackage.java index 483a9c60a..f4f603b56 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/PSMPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/PSMPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHESSImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHESSImpl.java index 116ac52a8..2cbeeb922 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHESSImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHESSImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHGaResourcePlatformImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHGaResourcePlatformImpl.java index 798ce5e6d..18d8f45cc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHGaResourcePlatformImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CHGaResourcePlatformImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CoreFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CoreFactoryImpl.java index 15a2b8632..d6515adb4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CoreFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CoreFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CorePackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CorePackageImpl.java index 41b315af7..8ba172b2f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CorePackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/CorePackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/PSMPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/PSMPackageImpl.java index bb69137af..7ddba1d35 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/PSMPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/impl/PSMPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreAdapterFactory.java index 58d9ac5f0..e572cf845 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceFactoryImpl.java index 98995b61b..e270a17e5 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceImpl.java index 567d55896..f6dea3aca 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreSwitch.java index 8f94900d6..d6b6ac2f1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreXMLProcessor.java index e25d31f6e..fecf8064e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Core/util/CoreXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponent.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponent.java index ec4927401..5f730d451 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponent.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponent.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentFactory.java index bb146e338..adf176301 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentPackage.java index e4917dffd..d4f322d99 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/DependableComponentPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/FailureMode.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/FailureMode.java index 2a5b04835..305f741f8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/FailureMode.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/FailureMode.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/Propagation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/Propagation.java index cf17a4fac..eb87c131c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/Propagation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/Propagation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentFactoryImpl.java index c99726e9a..8bf70c8de 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentImpl.java index aa9f30dcf..0c8aa280d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentPackageImpl.java index c8ca2ff77..d74b3ed2a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/DependableComponentPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/FailureModeImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/FailureModeImpl.java index b81a3afd5..64a467b10 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/FailureModeImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/impl/FailureModeImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentAdapterFactory.java index aae2b7dee..70a9d9eeb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceFactoryImpl.java index b25143c97..50d1c8b1e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceImpl.java index 639508851..f530a448a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentSwitch.java index f676a4f11..eddc9135a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentXMLProcessor.java index f2ddc55ef..d2c830d27 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/DependableComponent/util/DependableComponentXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDAvoidable.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDAvoidable.java index e9cbecacc..bfb781fc7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDAvoidable.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDAvoidable.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDMitigation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDMitigation.java index ee5b666b5..752711c1b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDMitigation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/ACIDMitigation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FA.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FA.java index da9739df0..41e2ce317 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FA.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FA.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FAAnalysis.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FAAnalysis.java index 8992fa7f8..a012000fb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FAAnalysis.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FAAnalysis.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FASpecification.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FASpecification.java index e2b0c6099..681a2f8b6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FASpecification.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FI4FASpecification.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTC.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTC.java index 7310d3a6e..6ed97e7ab 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTC.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTC.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCPortSlot.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCPortSlot.java index 3a9f192f6..00df4cc8e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCPortSlot.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCPortSlot.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCSpecification.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCSpecification.java index 25bcb2530..ba814d670 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCSpecification.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FPTCSpecification.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationAnalysis.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationAnalysis.java index bcd83d5f8..40171bf19 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationAnalysis.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationAnalysis.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_avoidable.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_avoidable.java index 6918536c9..e9fd7460e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_avoidable.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_avoidable.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_mitigation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_mitigation.java index 6f9a9098f..dbe1fc797 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_mitigation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/A_mitigation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_avoidable.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_avoidable.java index 42ebbea7a..85db1dfbc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_avoidable.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_avoidable.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_mitigation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_mitigation.java index 3afb0c218..ae5477a7a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_mitigation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/C_mitigation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_avoidable.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_avoidable.java index 68bb20069..7516029a3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_avoidable.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_avoidable.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_mitigation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_mitigation.java index f845a8868..95fc50c63 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_mitigation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/D_mitigation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesFactory.java index 8feecfc8e..757811c0b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesPackage.java index e096d192d..923dd91d4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailurePropagationDataTypesPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailureType.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailureType.java index daba5b97d..4e66b3061 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailureType.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/FailureType.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_avoidable.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_avoidable.java index 0abd77f66..021a8ba17 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_avoidable.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_avoidable.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_mitigation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_mitigation.java index 06ff9b296..56bc3413a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_mitigation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/I_mitigation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesFactoryImpl.java index 05e18bdb6..6f075ea7c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesPackageImpl.java index 1661d687f..8cc448c7a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationDataTypes/impl/FailurePropagationDataTypesPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationFactory.java index 7f4797c72..d02f75f7e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationPackage.java index 11bc6ec23..a333c3cf1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/FailurePropagationPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDAvoidableImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDAvoidableImpl.java index 58796b95f..cf8813ec1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDAvoidableImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDAvoidableImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDMitigationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDMitigationImpl.java index 530526317..fcbe7c914 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDMitigationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/ACIDMitigationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAAnalysisImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAAnalysisImpl.java index 8596b0bba..28a66abf0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAAnalysisImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAAnalysisImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAImpl.java index f3983f984..09ad763a5 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FAImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FASpecificationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FASpecificationImpl.java index 4645ec163..33b8c2724 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FASpecificationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FI4FASpecificationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCImpl.java index 3f8561673..7d38f46b8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCPortSlotImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCPortSlotImpl.java index e08337580..0f78c7705 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCPortSlotImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCPortSlotImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCSpecificationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCSpecificationImpl.java index 1e872d8bb..ff55962c5 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCSpecificationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FPTCSpecificationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationAnalysisImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationAnalysisImpl.java index 842d2cf2c..9381bd6fd 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationAnalysisImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationAnalysisImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationFactoryImpl.java index 972093d1a..2ef712875 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationPackageImpl.java index 2bce78f9d..11ee2578e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/impl/FailurePropagationPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationAdapterFactory.java index bfe759049..de94c55da 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceFactoryImpl.java index 21bc6b395..f75f3b3dd 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceImpl.java index 9796a9b12..e796ebc69 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationSwitch.java index fcb456dd8..345ca5ac8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationXMLProcessor.java index 2f09eee7a..014348287 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/FailurePropagation/util/FailurePropagationXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansFactory.java index 73c80cc97..d4ceb8bb6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansPackage.java index 1d634af0b..2cc3d2fc7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/MitigationMeansPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/TransmissionWithProtocol.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/TransmissionWithProtocol.java index 50f85a876..85624fde2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/TransmissionWithProtocol.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/TransmissionWithProtocol.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansFactoryImpl.java index 31ac5aa93..b533bba27 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansPackageImpl.java index 6ed979abc..0d18b0cae 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/MitigationMeansPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/TransmissionWithProtocolImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/TransmissionWithProtocolImpl.java index 7036facab..a4c6f076c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/TransmissionWithProtocolImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/impl/TransmissionWithProtocolImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansAdapterFactory.java index e2327d6db..40c375fa2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceFactoryImpl.java index 6c4e9e910..d5b617646 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceImpl.java index 8b726a186..81a92e3d0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansSwitch.java index e92776a83..b786d2e93 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansXMLProcessor.java index a72dbdf0e..84000d040 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/MitigationMeans/util/MitigationMeansXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Adjudicator.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Adjudicator.java index 35f6e4797..ae90e8fb8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Adjudicator.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Adjudicator.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultToleranceFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultToleranceFactory.java index 15472fcc8..ea1fb2164 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultToleranceFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultToleranceFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerancePackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerancePackage.java index b93d03672..b0dbf8a75 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerancePackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerancePackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerant.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerant.java index f2c7fb0bd..4577191a3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerant.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/FaultTolerant.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/RedundancyManager.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/RedundancyManager.java index c73cfe546..2bda0d42f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/RedundancyManager.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/RedundancyManager.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Variant.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Variant.java index 26da35d83..509c2c78b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Variant.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/Variant.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/AdjudicatorImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/AdjudicatorImpl.java index d778b669f..d9b13058a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/AdjudicatorImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/AdjudicatorImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultToleranceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultToleranceFactoryImpl.java index 4e6f214f6..39f2d9da1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultToleranceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultToleranceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerancePackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerancePackageImpl.java index ce02abbff..e5462fe23 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerancePackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerancePackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerantImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerantImpl.java index 909db1f01..c26074055 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerantImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/FaultTolerantImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/RedundancyManagerImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/RedundancyManagerImpl.java index f2c143eb6..d765f7f36 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/RedundancyManagerImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/RedundancyManagerImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/VariantImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/VariantImpl.java index ac76dcf8f..dfdee0191 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/VariantImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/impl/VariantImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceAdapterFactory.java index 32ceddeb2..a399e3b83 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceFactoryImpl.java index 613781df6..699fafd03 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceImpl.java index 9615a5bd8..2c620e9a9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceSwitch.java index d181855cf..da6c0c373 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceXMLProcessor.java index 35053e061..ba97db4eb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/FaultTolerance/util/FaultToleranceXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/ErrorDetection.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/ErrorDetection.java index 15eb64588..ae9047c0f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/ErrorDetection.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/ErrorDetection.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/FailureDetection.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/FailureDetection.java index 93a5d743b..c1cce9dae 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/FailureDetection.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/FailureDetection.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MMActivities.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MMActivities.java index 799333d60..23d30cbd1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MMActivities.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MMActivities.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringFactory.java index fdb2111b3..71245bd38 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringPackage.java index ec67c2968..a3ebf27fe 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/MaintenanceMonitoringPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Repair.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Repair.java index 8bf303abd..0962e717d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Repair.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Repair.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Replace.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Replace.java index 986799768..0a0f0e858 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Replace.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/Replace.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ErrorDetectionImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ErrorDetectionImpl.java index 195a4431d..8c5b677bb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ErrorDetectionImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ErrorDetectionImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/FailureDetectionImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/FailureDetectionImpl.java index c5dad0b1b..7f55cee4d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/FailureDetectionImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/FailureDetectionImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MMActivitiesImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MMActivitiesImpl.java index 4ebb67f33..7958989da 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MMActivitiesImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MMActivitiesImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringFactoryImpl.java index 645ed38a1..c3bfdcdbc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringPackageImpl.java index 8a0255ae6..20508be58 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/MaintenanceMonitoringPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/RepairImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/RepairImpl.java index a2c87a55b..974a46ff7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/RepairImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/RepairImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ReplaceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ReplaceImpl.java index e046fee87..30a12ff29 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ReplaceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/impl/ReplaceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringAdapterFactory.java index 2476b4ce3..6df17b843 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceFactoryImpl.java index 4933c89f0..71fd63da9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceImpl.java index baa0baec1..7fcf3b81a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringSwitch.java index d6381d3dd..a527df3c0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringXMLProcessor.java index 6c316ec27..18d912cf3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/MaintenanceMonitoring/util/MaintenanceMonitoringXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysis.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysis.java index dc8803b62..9c3b65350 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysis.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysis.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisFactory.java index e46c6d33e..4f0de5d1c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisPackage.java index edd1bac88..b94a07b3c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/StateBasedAnalysisPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisFactoryImpl.java index 3cf6055e5..f0fd9017a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisImpl.java index 7b32b77c0..65c263a43 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisPackageImpl.java index f55ca3826..39931c3db 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/impl/StateBasedAnalysisPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisAdapterFactory.java index 688e38a0d..758b6d6dc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceFactoryImpl.java index 58b20f2f9..9d4ab82bf 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceImpl.java index ebd975870..8f827df65 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisSwitch.java index 1caa335cf..97bac3366 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisXMLProcessor.java index db72a6dd6..74e67f4eb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedAnalysis/util/StateBasedAnalysisXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsFactory.java index 36c595301..0450ecf00 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsPackage.java index c05553218..81bfa9823 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StateBasedComponentsPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulHardware.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulHardware.java index a1075376a..d4a970a3c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulHardware.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulHardware.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulSoftware.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulSoftware.java index 121066f51..78b53f6dd 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulSoftware.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatefulSoftware.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessHardware.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessHardware.java index 2158a11a3..ea630bd1b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessHardware.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessHardware.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessSoftware.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessSoftware.java index 0ae3dce4d..e601c2916 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessSoftware.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StatelessSoftware.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StochasticFailureBehaviour.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StochasticFailureBehaviour.java index 93871609f..2ea3f2659 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StochasticFailureBehaviour.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/StochasticFailureBehaviour.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsFactoryImpl.java index 079c34f4e..2b4c47fd9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsPackageImpl.java index 2ed42b5bf..bb730ff56 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StateBasedComponentsPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulHardwareImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulHardwareImpl.java index 4a54acbe4..3b87c28c1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulHardwareImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulHardwareImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulSoftwareImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulSoftwareImpl.java index 075eabe02..aa9e9bb26 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulSoftwareImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatefulSoftwareImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessHardwareImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessHardwareImpl.java index e9b4f96ce..01225bd01 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessHardwareImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessHardwareImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessSoftwareImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessSoftwareImpl.java index 65fb494cb..7a6c21153 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessSoftwareImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StatelessSoftwareImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StochasticFailureBehaviourImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StochasticFailureBehaviourImpl.java index 08dcbe3eb..4674987ea 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StochasticFailureBehaviourImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/impl/StochasticFailureBehaviourImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsAdapterFactory.java index 5102c25aa..12ffdbddc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceFactoryImpl.java index 34816bc84..f6a562323 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceImpl.java index cb7dc15ab..41285b322 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsSwitch.java index f12912aee..7a8571a3d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsXMLProcessor.java index 9fa703fed..fe42f85d2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedComponents/util/StateBasedComponentsXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Availability.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Availability.java index 7b7b711cf..bd9328d7b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Availability.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Availability.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/ConfidenceKind.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/ConfidenceKind.java index 481cd56fc..d86696c19 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/ConfidenceKind.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/ConfidenceKind.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/DependabilityMeasure.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/DependabilityMeasure.java index 27dd3b79b..c0bcae76b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/DependabilityMeasure.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/DependabilityMeasure.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationAnalytical.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationAnalytical.java index ee327f728..b8aeccc2d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationAnalytical.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationAnalytical.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationBySimulation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationBySimulation.java index 6c523814f..051187ff7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationBySimulation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationBySimulation.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationMethod.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationMethod.java index 7c6cbeefd..c4a4f1571 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationMethod.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationMethod.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationType.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationType.java index 6b2f6abdf..d54a361a0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationType.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/EvaluationType.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/MTTF.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/MTTF.java index 7c072a378..f1dbf7500 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/MTTF.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/MTTF.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/RedundancyKind.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/RedundancyKind.java index a8c020e63..d0afbc45e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/RedundancyKind.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/RedundancyKind.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Reliability.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Reliability.java index 126dacd87..905002776 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Reliability.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/Reliability.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesFactory.java index 2b4e739da..a23d2c487 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesPackage.java index 8b601b4e6..23b78e934 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/StateBasedDataTypesPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/SteadyState.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/SteadyState.java index d2f91dc99..4123294f9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/SteadyState.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/SteadyState.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/AvailabilityImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/AvailabilityImpl.java index ef3eac90c..26accb1c3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/AvailabilityImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/AvailabilityImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/DependabilityMeasureImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/DependabilityMeasureImpl.java index 1445f3714..90e533ebb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/DependabilityMeasureImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/DependabilityMeasureImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationAnalyticalImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationAnalyticalImpl.java index 63c21de53..5ac99552e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationAnalyticalImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationAnalyticalImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationBySimulationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationBySimulationImpl.java index 1987fe64b..4b08487f4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationBySimulationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationBySimulationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationMethodImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationMethodImpl.java index c161ac5d2..3656781b0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationMethodImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationMethodImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationTypeImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationTypeImpl.java index 8d79af514..1a19ea778 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationTypeImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/EvaluationTypeImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/MTTFImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/MTTFImpl.java index 3ff405442..a0bf9df14 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/MTTFImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/MTTFImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/ReliabilityImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/ReliabilityImpl.java index b01409889..de99cc0f6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/ReliabilityImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/ReliabilityImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesFactoryImpl.java index 5a4108198..6c361bcf2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesPackageImpl.java index 05b4f934f..b8e94d692 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/StateBasedDataTypesPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/SteadyStateImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/SteadyStateImpl.java index a938e1a79..4cdde6a7b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/SteadyStateImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/impl/SteadyStateImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesAdapterFactory.java index 090a1fc73..39824355a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesSwitch.java index 6ee0df062..584acdf70 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/StateBased/StateBasedDataTypes/util/StateBasedDataTypesSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DegradedState.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DegradedState.java index ce4a84774..05ca5f866 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DegradedState.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DegradedState.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DepEvent.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DepEvent.java index 4133400fa..a73931586 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DepEvent.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/DepEvent.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ErrorModel.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ErrorModel.java index 20a70dbf8..523607fbc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ErrorModel.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ErrorModel.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Failure.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Failure.java index f6c99dc9e..cdf8db9ae 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Failure.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Failure.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalFault.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalFault.java index 3956f4e31..ef71bf347 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalFault.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalFault.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalPropagation.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalPropagation.java index 310c6421e..ee6b9f292 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalPropagation.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/InternalPropagation.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Inverted.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Inverted.java index f4495468a..c7e4abc3a 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Inverted.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/Inverted.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalInput.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalInput.java index e9aeaa881..ca2817dec 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalInput.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalInput.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalOutput.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalOutput.java index caf66785e..bfd624713 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalOutput.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/NormalOutput.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RampDown.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RampDown.java index 825395af8..0784fc268 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RampDown.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RampDown.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RecoveryKind.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RecoveryKind.java index 03643b6c1..fe42df499 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RecoveryKind.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/RecoveryKind.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAt.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAt.java index 8ac6a9f7e..648acde97 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAt.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAt.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAtFixed.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAtFixed.java index 11d5793ae..68a03f05f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAtFixed.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/StuckAtFixed.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatState.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatState.java index fea5f7ef0..ba00da4f2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatState.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatState.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationFactory.java index b976fcb35..23b542b4b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationPackage.java index 010bd4613..938e512c0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/ThreatsPropagationPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DegradedStateImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DegradedStateImpl.java index 2fc6b928d..599acba47 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DegradedStateImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DegradedStateImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DepEventImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DepEventImpl.java index fd55b4a0d..3444004b5 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DepEventImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/DepEventImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ErrorModelImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ErrorModelImpl.java index 156fb0fb6..5d54e84e2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ErrorModelImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ErrorModelImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/FailureImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/FailureImpl.java index 4cda21756..8ff2b4c35 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/FailureImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/FailureImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalFaultImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalFaultImpl.java index 9b48946e4..36081ea5c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalFaultImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalFaultImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalPropagationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalPropagationImpl.java index c92c725fd..972b50de2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalPropagationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InternalPropagationImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InvertedImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InvertedImpl.java index cd5d388ea..afd2dc352 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InvertedImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/InvertedImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalInputImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalInputImpl.java index 4b0a428cb..23e89de80 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalInputImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalInputImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalOutputImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalOutputImpl.java index 27a99ea8b..06cbde135 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalOutputImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/NormalOutputImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/RampDownImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/RampDownImpl.java index c31f2f5ae..015de0bc4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/RampDownImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/RampDownImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtFixedImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtFixedImpl.java index c5f700c92..e79385c67 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtFixedImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtFixedImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtImpl.java index 9df270659..4dca17bba 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/StuckAtImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatStateImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatStateImpl.java index 5f6eb06e3..5b0f8e715 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatStateImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatStateImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationFactoryImpl.java index 5cb78c1b2..beb7cfdec 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationPackageImpl.java index df4ae06b2..5e0383d4e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/impl/ThreatsPropagationPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationAdapterFactory.java index 8388ad179..c4175ec24 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceFactoryImpl.java index 6fde6aa6c..f6062877d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceImpl.java index f677929e5..97626f46d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationSwitch.java index 06898db3a..e0d00c9d3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationXMLProcessor.java index c0d73633e..c6538c6fe 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Dependability/ThreatsPropagation/util/ThreatsPropagationXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwBus.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwBus.java index 50d01ec4c..d2031ec67 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwBus.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwBus.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwComputingResource.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwComputingResource.java index bb78918ec..01d88f0c9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwComputingResource.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwComputingResource.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwProcessor.java index f43470e56..8cab71fc3 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/CH_HwProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselineFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselineFactory.java index b831de432..de6e4bbab 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselineFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselineFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselinePackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselinePackage.java index b4c8f75ef..4b63ddfc0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselinePackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/HardwareBaselinePackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwBusImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwBusImpl.java index aa00a4cc8..8e997a400 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwBusImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwBusImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwComputingResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwComputingResourceImpl.java index 156663eb8..a571f103f 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwComputingResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwComputingResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwProcessorImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwProcessorImpl.java index 0722f6333..652460260 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwProcessorImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/CH_HwProcessorImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselineFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselineFactoryImpl.java index 7d8fc7ba3..feedacb8e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselineFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselineFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselinePackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselinePackageImpl.java index 7e7951045..4208b797e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselinePackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/impl/HardwareBaselinePackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineAdapterFactory.java index f680fb80e..859301ab0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceFactoryImpl.java index 36f89c4bb..087ea332e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceImpl.java index 95f02d9f6..e2da9a5f4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineSwitch.java index a9858882c..e7ec26c72 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineXMLProcessor.java index eceb53641..204b2113b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/DeploymentConfiguration/HardwareBaseline/util/HardwareBaselineXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtPortSlot.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtPortSlot.java index b2c6321b8..8cb8d66e2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtPortSlot.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtPortSlot.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtSpecification.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtSpecification.java index e11e9ccb0..df52addb7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtSpecification.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/CHRtSpecification.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelFactory.java index 91d512151..a748676b6 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelPackage.java index 92da1f049..28e6a8838 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTComponentModelPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_BurstPattern.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_BurstPattern.java index d2f1a2041..68cec7b3d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_BurstPattern.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_BurstPattern.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_PeriodicPattern.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_PeriodicPattern.java index a7dc08242..0638494be 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_PeriodicPattern.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_PeriodicPattern.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_SporadicPattern.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_SporadicPattern.java index d8ce30552..d9cef23ef 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_SporadicPattern.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/CH_SporadicPattern.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesFactory.java index 67ecd42c7..fa3f7dd6b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesPackage.java index 53137d956..d178e9714 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/RTDataTypesPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_ArbitraryPattern.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_ArbitraryPattern.java index be847405d..d53acedd8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_ArbitraryPattern.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_ArbitraryPattern.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_Pattern.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_Pattern.java index 351886dd4..900b6f9c2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_Pattern.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/TA_Pattern.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_BurstPatternImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_BurstPatternImpl.java index 358a40f8e..164ffd128 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_BurstPatternImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_BurstPatternImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_PeriodicPatternImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_PeriodicPatternImpl.java index eccd4d1b8..fe1d4fc77 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_PeriodicPatternImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_PeriodicPatternImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_SporadicPatternImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_SporadicPatternImpl.java index dca5fd1ef..ecd972755 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_SporadicPatternImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/CH_SporadicPatternImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesFactoryImpl.java index 44403cc89..ae1901266 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesPackageImpl.java index 7873210a9..6cab1c373 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/RTDataTypesPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_ArbitraryPatternImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_ArbitraryPatternImpl.java index 3ad1ffc82..0dc7936fb 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_ArbitraryPatternImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_ArbitraryPatternImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_PatternImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_PatternImpl.java index 742e2fbdf..6f3186483 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_PatternImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/impl/TA_PatternImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesAdapterFactory.java index a60ed2a94..62e8f5aab 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesSwitch.java index 3d9d128b6..c332bf50e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/RTDataTypes/util/RTDataTypesSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtPortSlotImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtPortSlotImpl.java index 0c1712473..f7d7fb6f4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtPortSlotImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtPortSlotImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtSpecificationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtSpecificationImpl.java index b9dd3a60a..2508c3295 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtSpecificationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/CHRtSpecificationImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelFactoryImpl.java index 04d071e87..ff3c5db56 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelPackageImpl.java index 2813ac669..f1d7b7057 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/impl/RTComponentModelPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelAdapterFactory.java index 63e9fc30b..acde2add4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceFactoryImpl.java index fef883805..d4a6c158b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceImpl.java index e31483da6..3f90ea158 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelResourceImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelSwitch.java index 15bae31de..3483f449e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelXMLProcessor.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelXMLProcessor.java index d399e0587..006e506f0 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelXMLProcessor.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Predictability/RTComponentModel/util/RTComponentModelXMLProcessor.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityInterfaceSpecification.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityInterfaceSpecification.java index 17fafa20e..ad0359fb7 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityInterfaceSpecification.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityInterfaceSpecification.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityLevel.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityLevel.java index 978ca923b..2b1e98e31 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityLevel.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalityLevel.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalitySpecification.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalitySpecification.java index 5b4f616e7..ddd60e9c9 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalitySpecification.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/CriticalitySpecification.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyFactory.java index fcd2232c5..26dbfde39 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyFactory.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyPackage.java index f5888ef9d..cd2580be8 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/SafetyPackage.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityInterfaceSpecificationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityInterfaceSpecificationImpl.java index a6b76cdc5..3bba6efed 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityInterfaceSpecificationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityInterfaceSpecificationImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityLevelImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityLevelImpl.java index 4387fef55..4ff7db9ef 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityLevelImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalityLevelImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalitySpecificationImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalitySpecificationImpl.java index 4b3cff733..87a9f2e31 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalitySpecificationImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/CriticalitySpecificationImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyFactoryImpl.java index 90ab0ade8..79ae83cdc 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyFactoryImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyPackageImpl.java index fa294a64d..28e5d0941 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/impl/SafetyPackageImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetyAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetyAdapterFactory.java index eaf4f407b..7e1e00c25 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetyAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetyAdapterFactory.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetySwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetySwitch.java index 04b3bd291..fbc97ac65 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetySwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/Safety/util/SafetySwitch.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Human.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Human.java index 5ac2f0fac..09f259505 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Human.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Human.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSFactory.java index 20c361216..9a19d8fd1 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSPackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSPackage.java index c971d640c..b15f80f77 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSPackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/STSPackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Technological.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Technological.java index 98531b391..25ed96ba2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Technological.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/Technological.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/TimePressure.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/TimePressure.java index 01fb854d4..b225e9cc5 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/TimePressure.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/TimePressure.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/HumanImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/HumanImpl.java index 34258ef69..8b2e93012 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/HumanImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/HumanImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSFactoryImpl.java index d4a642aef..62af9b261 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSPackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSPackageImpl.java index 0720c86ad..817f7ec2d 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSPackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/STSPackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TechnologicalImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TechnologicalImpl.java index 22f8f81a6..1d7dad8bd 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TechnologicalImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TechnologicalImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TimePressureImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TimePressureImpl.java index c90618fa0..e26be0b7c 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TimePressureImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/impl/TimePressureImpl.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ /** diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSAdapterFactory.java index 2a3538b77..d069f9c71 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSSwitch.java index 59f9c0817..2ed6e5468 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/SystemModel/STS/util/STSSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofileFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofileFactory.java index a0a6dabd4..65db7db44 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofileFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofileFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofilePackage.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofilePackage.java index 8df60453e..dc21298df 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofilePackage.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/chessmlprofilePackage.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/dummy.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/dummy.java index aa5cd9dae..1e881c4e4 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/dummy.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/dummy.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofileFactoryImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofileFactoryImpl.java index dabc86d4a..9f1de205b 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofileFactoryImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofileFactoryImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofilePackageImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofilePackageImpl.java index 03d94ced2..e02cbd766 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofilePackageImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/chessmlprofilePackageImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/dummyImpl.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/dummyImpl.java index 27bfd9ca5..fe8e93d2e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/dummyImpl.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/impl/dummyImpl.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/Constants.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/Constants.java index 91df6a714..0e5bec83e 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/Constants.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/Constants.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileAdapterFactory.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileAdapterFactory.java index ee93a3448..de3a22e03 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileAdapterFactory.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileAdapterFactory.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileSwitch.java b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileSwitch.java index 3a824599b..67af005d2 100644 --- a/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileSwitch.java +++ b/plugins/org.polarsys.chess.chessmlprofile/src/org/polarsys/chess/chessmlprofile/util/chessmlprofileSwitch.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * *****************************************************************************/ diff --git a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportNominalSMsToCleanCFilesCommand.java b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportNominalSMsToCleanCFilesCommand.java index f4fb651a7..cff821662 100644 --- a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportNominalSMsToCleanCFilesCommand.java +++ b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportNominalSMsToCleanCFilesCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportSelectedNominalSMsToCleanCFilesCommand.java b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportSelectedNominalSMsToCleanCFilesCommand.java index eba31a845..fa351048a 100644 --- a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportSelectedNominalSMsToCleanCFilesCommand.java +++ b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/commands/ExportSelectedNominalSMsToCleanCFilesCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/services/CleanCExportServiceUI.java b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/services/CleanCExportServiceUI.java index 7242af67a..eaf288c11 100644 --- a/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/services/CleanCExportServiceUI.java +++ b/plugins/org.polarsys.chess.cleanCExporter/src/org/polarsys/chess/cleanCExporter/ui/services/CleanCExportServiceUI.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.codegen.ada/build.properties b/plugins/org.polarsys.chess.codegen.ada/build.properties index 4adc4f6f2..58266cc11 100644 --- a/plugins/org.polarsys.chess.codegen.ada/build.properties +++ b/plugins/org.polarsys.chess.codegen.ada/build.properties @@ -3,9 +3,9 @@ # * # * # * All rights reserved. This program and the accompanying materials -# * are made available under the terms of the Eclipse Public License v1.0 +# * are made available under the terms of the Eclipse Public License v2.0 # * which accompanies this distribution, and is available at -# * http://www.eclipse.org/legal/epl-v10.html +# * http://www.eclipse.org/legal/epl-v20.html # * ############################################################################### source.. = src/ diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.adb index acee0bc11..23792b526 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.ads index 25d352b25..5f2c5b99f 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/cpa/container_protection.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.adb index 3a2a488cf..4257939af 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- --with Ada.Text_IO; use Ada.Text_IO; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.ads index 812c0f026..b09793594 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/data_structure.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_time.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_time.ads index 3b34c4232..bec8d9f6b 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_time.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_time.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with Ada.Real_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.adb index 3f58e1bed..7a5f3c0ec 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- package body System_Types is diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.ads index bca09cc9b..68c24f6c9 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/system_types.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/task_attributes.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/task_attributes.ads index aa06b9ce5..ac9f7bc35 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/task_attributes.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/dataStructure/task_attributes.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.adb index 3fa1abc3e..b167b005e 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.ads index a1b734c77..721888e30 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.adb index d6e53a106..47661df17 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.ads index 3627d1adf..5c0b8af51 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.adb index a833bcc46..e8e3fcd6a 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.ads index 363a35829..5885a308e 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_monitored_rtverification.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.adb index e75893900..b88768e6f 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.ads index 559360a27..44d44c407 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/cyclic_task_rtverification.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.adb index 5e2021da4..05f15ee86 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.ads index 1134afe75..a839b4145 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/middleware/remote_msg_server_task.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.adb index f88a4f126..f97304f17 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.ads index 7368bdc23..91401d20e 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/multi_activity_cyclic_task.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.adb index e917192da..cafc5c398 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.ads index 19e599026..c5c70bd60 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.adb b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.adb index 8b572be46..fde84ff14 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.adb +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.adb @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System_Time; diff --git a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.ads b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.ads index 22690e991..2a12e396d 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.ads +++ b/plugins/org.polarsys.chess.codegen.ada/src-lib/src/task/sporadic_task_monitored.ads @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- with System; diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/Activator.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/Activator.java index e8c6398f2..b4bb80c88 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/Activator.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/Activator.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementation.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementation.mtl index bd9e9a07a..7fe3d8e80 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementation.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementation.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module ComponentImplementation('http://www.eclipse.org/uml2/3.0.0/UML')/] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationAda.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationAda.mtl index 2ff5bca95..70e520760 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationAda.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationAda.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module ComponentImplementationAda('http://www.eclipse.org/uml2/3.0.0/UML')/] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationC.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationC.mtl index 6de548a87..d27c54c02 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationC.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentImplementationC.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module ComponentImplementationC('http://www.eclipse.org/uml2/3.0.0/UML')/] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentType.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentType.mtl index 8aa9c9657..beb5bd4ac 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentType.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/component/ComponentType.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module ComponentType('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/container/Container.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/container/Container.mtl index 791c6355e..842a2b5e4 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/container/Container.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/container/Container.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module Container('http://www.eclipse.org/uml2/3.0.0/UML', diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataType.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataType.mtl index 8fc326115..f40a34f47 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataType.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataType.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module DataType('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataTypeC.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataTypeC.mtl index 3f35818fe..227ef1056 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataTypeC.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/datatype/DataTypeC.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module DataTypeC('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/deployment/Deployment.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/deployment/Deployment.mtl index d15d60653..fe713c0b6 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/deployment/Deployment.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/deployment/Deployment.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module Deployment('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/handlers/AdaGenUIHandler.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/handlers/AdaGenUIHandler.java index 80363b359..c12d61982 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/handlers/AdaGenUIHandler.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/handlers/AdaGenUIHandler.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/ifs/Interface.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/ifs/Interface.mtl index 33de90fce..2694c5091 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/ifs/Interface.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/ifs/Interface.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module Interface('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Copyright.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Copyright.mtl index d46307d42..faaf58590 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Copyright.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Copyright.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module Copyright('http://www.eclipse.org/uml2/3.0.0/UML')] @@ -32,7 +32,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- [/template] @@ -51,7 +51,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- [/template] @@ -103,7 +103,7 @@ # 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 # +# http://www.eclipse.org/legal/epl-v20.html # # # ###################################################################### [/template] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GNATadc.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GNATadc.mtl index e8c5e53f7..7641f808d 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GNATadc.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GNATadc.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module GNATadc('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GPR.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GPR.mtl index 7903f6ff1..4baaa16fc 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GPR.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GPR.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module GPR('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GenerateInfrastructure.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GenerateInfrastructure.java index 99f41df97..0d14e1fed 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GenerateInfrastructure.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GenerateInfrastructure.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2008, 2015 Obeo. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Obeo - initial API and implementation @@ -341,9 +341,6 @@ public class GenerateInfrastructure extends AbstractAcceleoGenerator { @Override public void registerPackages(ResourceSet resourceSet) { super.registerPackages(resourceSet); - if (!isInWorkspace(org.eclipse.uml2.uml.UMLPackage.class)) { - resourceSet.getPackageRegistry().put(org.eclipse.uml2.uml.UMLPackage.eINSTANCE.getNsURI(), org.eclipse.uml2.uml.UMLPackage.eINSTANCE); - } /* * If you want to change the content of this method, do NOT forget to change the "@generated" diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/License.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/License.mtl index e7f446c80..d8fb59565 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/License.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/License.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module License('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Main.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Main.mtl index ccd255ae6..c27ffeddc 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Main.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/Main.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module Main('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/generateInfrastructure.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/generateInfrastructure.mtl index 8fc21a188..d3610f292 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/generateInfrastructure.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/generateInfrastructure.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module generateInfrastructure('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/CRClib.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/CRClib.mtl index 8b1fdcba8..e377b6bc7 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/CRClib.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/CRClib.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module CRClib('http://www.eclipse.org/uml2/3.0.0/UML')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/DistributionNamingData.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/DistributionNamingData.mtl index 281df5a02..08adeb8a5 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/DistributionNamingData.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/DistributionNamingData.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module DistributionNamingData('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/MiddlewareRealTimeAttribute.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/MiddlewareRealTimeAttribute.mtl index 9eae2f805..8f047b301 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/MiddlewareRealTimeAttribute.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/MiddlewareRealTimeAttribute.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module MiddlewareRealTimeAttribute('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgClient.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgClient.mtl index 0e07ceef4..7f5bcf269 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgClient.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgClient.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module RemoteMsgClient('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgServer.mtl b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgServer.mtl index 829469655..e2f46d5f8 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgServer.mtl +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/middleware/RemoteMsgServer.mtl @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- /] [module RemoteMsgServer('http://www.eclipse.org/uml2/3.0.0/UML', 'http://www.eclipse.org/papyrus/GCM/1')] diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/service/UML2Service.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/service/UML2Service.java index 9b1474768..586f71a1c 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/service/UML2Service.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/service/UML2Service.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/AcceleoCodeGen.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/AcceleoCodeGen.java index 264e0a001..ebf5c4649 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/AcceleoCodeGen.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/AcceleoCodeGen.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/Transformations.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/Transformations.java index f4becff5b..2985b9a56 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/Transformations.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/transformations/Transformations.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.codegen.ada/tasks/generateInfrastructure.xml b/plugins/org.polarsys.chess.codegen.ada/tasks/generateInfrastructure.xml index b6058aa16..6427a3552 100644 --- a/plugins/org.polarsys.chess.codegen.ada/tasks/generateInfrastructure.xml +++ b/plugins/org.polarsys.chess.codegen.ada/tasks/generateInfrastructure.xml @@ -1,49 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> <project default="generateInfrastructure" name="org.polarsys.chess.codegen.ada"> -<<<<<<< HEAD - <property name="ECLIPSE_HOME" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../Programmi/PolarsysCHESS-Neon-win32-x86_64_20190515/workspace"/> -======= - <property name="ECLIPSE_HOME" value="../../../../../Eclipse/eclipse"/> - <property name="ECLIPSE_WORKSPACE" value="../../../../../Workspaces/FirstConfig/ws"/> ->>>>>>> refs/remotes/origin/master + <property name="ECLIPSE_HOME" value="../../../../.."/> + <property name="ECLIPSE_WORKSPACE" value="../../../../../workspace"/> <!-- The classpath with only the dependencies used by the project --> <path id="org.polarsys.chess.codegen.ada.libraryclasspath"> <pathelement location="${ECLIPSE_WORKSPACE}/org.polarsys.chess.codegen.ada/bin"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/resources.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/rt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jsse.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jce.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/charsets.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/jfr.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/access-bridge-64.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/cldrdata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/dnsns.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jaccess.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/jfxrt.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/localedata.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/nashorn.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunec.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunjce_provider.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunmscapi.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/sunpkcs11.jar"/> - <pathelement location="${ECLIPSE_HOME}/jre/lib/ext/zipfs.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.12.0.v20160606-1342.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> -<<<<<<< HEAD - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.fx.osgi_2.4.0.201605100504.jar"/> -======= ->>>>>>> refs/remotes/origin/master + <pathelement location="${ECLIPSE_WORKSPACE}//.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.transforms.hook_1.1.0.v20131021-1933.jar"/> + <pathelement location="${ECLIPSE_WORKSPACE}//.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.weaving.hook_1.1.200.v20150730-1648.jar"/> + <pathelement location="${ECLIPSE_WORKSPACE}//.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.equinox.region_1.3.2.v20170118-1930.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar"/> + <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.wst.jsdt.nashorn.extension_1.0.2.v201610280128.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.8.0.v20160509-1230.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.8.0.v20160509-0411.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.6.100.v20160223-2218.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.6.1.v20160815-1406.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.5.100.v20160418-1621.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.400.v20150715-1528.jar"/> - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.2.3.v20170227-0935.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.12.0.v20160420-0247.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.12.0.v20160420-0247.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.12.0.v20160420-0247.jar"/> @@ -61,15 +37,7 @@ <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.6.6.201610060831.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.12.0.v20160526-0356.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.11.0.v20160526-0356.jar"/> -<<<<<<< HEAD - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201810170111.jar"/> -======= -<<<<<<< HEAD - <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.3.201903050251.jar"/> -======= <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.2.0.201703081153.jar"/> ->>>>>>> branch 'master' of git@gitlab.fbk.eu:CPS_Design/CHESS.git ->>>>>>> refs/remotes/origin/master <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.8.1.v20161221-1651.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.11.1.v20161107-2032.jar"/> <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_2.1.1.201703080851.jar"/> diff --git a/plugins/org.polarsys.chess.codegen.ada/transformations/monitoring.qvto b/plugins/org.polarsys.chess.codegen.ada/transformations/monitoring.qvto index 5964c7ad3..6c108d577 100644 --- a/plugins/org.polarsys.chess.codegen.ada/transformations/monitoring.qvto +++ b/plugins/org.polarsys.chess.codegen.ada/transformations/monitoring.qvto @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/Activator.java b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/Activator.java index 18106105a..05b052715 100644 --- a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/Activator.java +++ b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/Activator.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2011 -2014 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, Nicholas Pacini - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/AssignCopy.java b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/AssignCopy.java index 84842e957..438caff0f 100644 --- a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/AssignCopy.java +++ b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/AssignCopy.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2011 -2014 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, Nicholas Pacini - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/BuildModelInstanceCommand.java b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/BuildModelInstanceCommand.java index 718748e10..e7fed9f99 100644 --- a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/BuildModelInstanceCommand.java +++ b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/BuildModelInstanceCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Intecs diff --git a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/HideRTInformationCommand.java b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/HideRTInformationCommand.java index c109465fe..945f8cf19 100644 --- a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/HideRTInformationCommand.java +++ b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/HideRTInformationCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2011 -2014 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, Nicholas Pacini - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/ShowRTInformationCommand.java b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/ShowRTInformationCommand.java index d420c0f19..a0e3be006 100644 --- a/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/ShowRTInformationCommand.java +++ b/plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/ShowRTInformationCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2011 -2014 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, Nicholas Pacini - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/ConstraintEditorFilter.java b/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/ConstraintEditorFilter.java index d6e9ea6db..818397e28 100644 --- a/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/ConstraintEditorFilter.java +++ b/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/ConstraintEditorFilter.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/CustomConstraintEditorTab.java b/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/CustomConstraintEditorTab.java index 6c7a41767..2e742f876 100644 --- a/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/CustomConstraintEditorTab.java +++ b/plugins/org.polarsys.chess.constraints.constraintEditor/src/org/polarsys/chess/constraints/constraintEditor/CustomConstraintEditorTab.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.core/license/Copyright.txt b/plugins/org.polarsys.chess.core/license/Copyright.txt index ea34afc25..6504a095b 100644 --- a/plugins/org.polarsys.chess.core/license/Copyright.txt +++ b/plugins/org.polarsys.chess.core/license/Copyright.txt @@ -9,5 +9,5 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.diagramListener.exsd b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.diagramListener.exsd index 4e94c324f..30b2df8c5 100644 --- a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.diagramListener.exsd +++ b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.diagramListener.exsd @@ -128,7 +128,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- </documentation> </annotation> diff --git a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.resourceListener.exsd b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.resourceListener.exsd index 0369cba51..06df1637f 100644 --- a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.resourceListener.exsd +++ b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.resourceListener.exsd @@ -128,7 +128,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- </documentation> </annotation> diff --git a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.selectionListener.exsd b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.selectionListener.exsd index a6e391884..ffb96ebff 100644 --- a/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.selectionListener.exsd +++ b/plugins/org.polarsys.chess.core/schema/org.polarsys.chess.selectionListener.exsd @@ -128,7 +128,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- </documentation> </annotation> diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/Activator.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/Activator.java index acf9c536a..425f374cd 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/Activator.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/ConstraintList.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/ConstraintList.java index dfa5a9484..691ff6544 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/ConstraintList.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/ConstraintList.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/DynamicConstraint.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/DynamicConstraint.java index c54c34ba8..4c638ddab 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/DynamicConstraint.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/DynamicConstraint.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/FilterableDynamicConstraint.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/FilterableDynamicConstraint.java index 3f64ab786..525117be2 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/FilterableDynamicConstraint.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/FilterableDynamicConstraint.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/IConstraint.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/IConstraint.java index 291cb9019..98011d1c1 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/IConstraint.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/IConstraint.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/SettableStatus.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/SettableStatus.java index 73986c434..379998e7e 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/SettableStatus.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/SettableStatus.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/CHESSMainPage.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/CHESSMainPage.java index decad644f..3b3c0e8bd 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/CHESSMainPage.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/CHESSMainPage.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferenceInitializer.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferenceInitializer.java index 380050dc9..c5c63f028 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferenceInitializer.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferenceInitializer.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferencePage.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferencePage.java index 34b372976..3bcad0b98 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferencePage.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/ConstraintPreferencePage.java @@ -8,7 +8,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/LabelField.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/LabelField.java index 0a5653cda..6fdf3e4b6 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/LabelField.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/preferences/LabelField.java @@ -8,7 +8,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/MainRegistry.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/MainRegistry.java index 145210dbf..486b592bd 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/MainRegistry.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/MainRegistry.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/InternalViewUtils.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/InternalViewUtils.java index c164397ff..5614b65cc 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/InternalViewUtils.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/InternalViewUtils.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ReloadXMLPermissions.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ReloadXMLPermissions.java index 5ac8ef3ec..5636628d2 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ReloadXMLPermissions.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ReloadXMLPermissions.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ViewPermissions.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ViewPermissions.java index 1f3148c77..1272e3678 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ViewPermissions.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/ViewPermissions.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/commands/CreateViewsCommand.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/commands/CreateViewsCommand.java index b5e640ed1..85e66a623 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/commands/CreateViewsCommand.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/commands/CreateViewsCommand.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/EntryId.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/EntryId.java index d24f64abf..9c953d30a 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/EntryId.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/EntryId.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionEntry.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionEntry.java index 21a29bcb3..b755008ab 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionEntry.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionEntry.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionList.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionList.java index 9e86db35d..4af5190d9 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionList.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/views/permissions/PermissionList.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/natures/CHESSNature.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/natures/CHESSNature.java index 3cb34c2e2..46ae205c0 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/natures/CHESSNature.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/natures/CHESSNature.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/notifications/ResourceNotification.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/notifications/ResourceNotification.java index 6b96be5a2..50a3477ba 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/notifications/ResourceNotification.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/notifications/ResourceNotification.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/FilterableConstraint.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/FilterableConstraint.java index 885dbd7c2..2327fa742 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/FilterableConstraint.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/FilterableConstraint.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/IFilterable.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/IFilterable.java index c1b0e5211..0a469d755 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/IFilterable.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/preferences/IFilterable.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/CHESSProfileManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/CHESSProfileManager.java index 1e2c9fe44..896339742 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/CHESSProfileManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/CHESSProfileManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/MARTEProfileManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/MARTEProfileManager.java index 3c2d4ca25..dbdfb0f91 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/MARTEProfileManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/MARTEProfileManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/SysMLProfileManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/SysMLProfileManager.java index b5dd9b1f0..8f4ce8a88 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/SysMLProfileManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/profiles/SysMLProfileManager.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerExtra.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerExtra.java index 824ce93c1..0ea36497d 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerExtra.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerExtra.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerManager.java index 3cd33181a..e58f38c9b 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/ResourceSetListenerManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerExtra.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerExtra.java index 7adc45e42..58ce3cc16 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerExtra.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerExtra.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerManager.java index f87893fbc..7dc15486d 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/resourcelistener/SelectionListenerManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/TransformationExecutorManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/TransformationExecutorManager.java index bc6b6330d..e91dbcde9 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/TransformationExecutorManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/TransformationExecutorManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/AnalysisResultData.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/AnalysisResultData.java index 3c64b23d3..6bf8d5af1 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/AnalysisResultData.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/AnalysisResultData.java @@ -2,9 +2,9 @@ * * Copyright (c) 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Laura Baracchi laura.baracchi@intecs.it - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/CHESSProjectSupport.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/CHESSProjectSupport.java index aead18ded..aaff344ce 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/CHESSProjectSupport.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/CHESSProjectSupport.java @@ -8,7 +8,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java index 762eb4017..9c548266a 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java @@ -1,9 +1,9 @@ /* ------------------------------------------------------------------------------ - Copyright (c) 2015 Intecs. - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - L. Baracchi, laura.baracchi@intecs.it diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/HWAnalysisResultData.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/HWAnalysisResultData.java index e7c262947..cd35c3a98 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/HWAnalysisResultData.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/HWAnalysisResultData.java @@ -2,9 +2,9 @@ * * Copyright (c) 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Laura Baracchi laura.baracchi@intecs.it - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/NotificationManager.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/NotificationManager.java index 73773cbb8..033c2ebcc 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/NotificationManager.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/NotificationManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/AddDiagramElement.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/AddDiagramElement.java index dce5f91ef..e706b5ce3 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/AddDiagramElement.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/AddDiagramElement.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ProfileUtils.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ProfileUtils.java index 9fef9fb54..d54cc3154 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ProfileUtils.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ProfileUtils.java @@ -8,7 +8,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ResourceUtils.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ResourceUtils.java index c4ee6860f..2795de1bf 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ResourceUtils.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ResourceUtils.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/UMLUtils.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/UMLUtils.java index 3d4c78baf..e01f402ae 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/UMLUtils.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/UMLUtils.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java index a7e2848c1..f03cc603a 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java @@ -1,9 +1,9 @@ /* ------------------------------------------------------------------------------ - Copyright (c) 2015 Intecs. - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - L. Baracchi, laura.baracchi@intecs.it diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/DiagramStatus.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/DiagramStatus.java index 8fa97c969..89aca108a 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/DiagramStatus.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/DiagramStatus.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewDiagramAssociations.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewDiagramAssociations.java index ce672c41a..29de03178 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewDiagramAssociations.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewDiagramAssociations.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewUtils.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewUtils.java index 46324d8fe..8ae642c2e 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewUtils.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/views/ViewUtils.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/theme/frame_theme.css b/plugins/org.polarsys.chess.core/theme/frame_theme.css index ac381060c..953d1ce79 100644 --- a/plugins/org.polarsys.chess.core/theme/frame_theme.css +++ b/plugins/org.polarsys.chess.core/theme/frame_theme.css @@ -2,9 +2,9 @@ * Copyright (c) 2012 CEA LIST. * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr diff --git a/plugins/org.polarsys.chess.core/theme/papyrus_theme.css b/plugins/org.polarsys.chess.core/theme/papyrus_theme.css index a70e1c2c1..ecf30bfc3 100644 --- a/plugins/org.polarsys.chess.core/theme/papyrus_theme.css +++ b/plugins/org.polarsys.chess.core/theme/papyrus_theme.css @@ -2,9 +2,9 @@ * Copyright (c) 2012 CEA LIST. * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr diff --git a/plugins/org.polarsys.chess.core/theme/sysml.css b/plugins/org.polarsys.chess.core/theme/sysml.css index 72a3235b6..500c9b4f4 100644 --- a/plugins/org.polarsys.chess.core/theme/sysml.css +++ b/plugins/org.polarsys.chess.core/theme/sysml.css @@ -2,9 +2,9 @@ * Copyright (c) 2014 CEA LIST. * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr diff --git a/plugins/org.polarsys.chess.core/theme/umlBase.css b/plugins/org.polarsys.chess.core/theme/umlBase.css index a743d9d0c..33dc169d5 100644 --- a/plugins/org.polarsys.chess.core/theme/umlBase.css +++ b/plugins/org.polarsys.chess.core/theme/umlBase.css @@ -2,9 +2,9 @@ * Copyright (c) 2015 CEA LIST. * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Mickaël ADAM (ALL4TEC) mickael.adam@all4tec.net - Generic shape default value implementation. Default symbol implementation. diff --git a/plugins/org.polarsys.chess.core/unused/CreateCHESSModelCommand.java b/plugins/org.polarsys.chess.core/unused/CreateCHESSModelCommand.java index 58435697b..dc6fb58e0 100644 --- a/plugins/org.polarsys.chess.core/unused/CreateCHESSModelCommand.java +++ b/plugins/org.polarsys.chess.core/unused/CreateCHESSModelCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/NewCHESSModelCommand.java b/plugins/org.polarsys.chess.core/unused/NewCHESSModelCommand.java index c46d904da..0105c3ec8 100644 --- a/plugins/org.polarsys.chess.core/unused/NewCHESSModelCommand.java +++ b/plugins/org.polarsys.chess.core/unused/NewCHESSModelCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraint.java b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraint.java index 5347e41c4..c95282280 100644 --- a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraint.java +++ b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraint.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintLib.java b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintLib.java index 659f29d8d..b2655b480 100644 --- a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintLib.java +++ b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintLib.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintProcessor.java b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintProcessor.java index 32dc2f939..b35616d47 100644 --- a/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintProcessor.java +++ b/plugins/org.polarsys.chess.core/unused/annotations/DynamicConstraintProcessor.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/annotations/IEl.java b/plugins/org.polarsys.chess.core/unused/annotations/IEl.java index 0aefe5956..2a21c3eb4 100644 --- a/plugins/org.polarsys.chess.core/unused/annotations/IEl.java +++ b/plugins/org.polarsys.chess.core/unused/annotations/IEl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.core/unused/annotations/LibExample.java b/plugins/org.polarsys.chess.core/unused/annotations/LibExample.java index 003eda564..03f298228 100644 --- a/plugins/org.polarsys.chess.core/unused/annotations/LibExample.java +++ b/plugins/org.polarsys.chess.core/unused/annotations/LibExample.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportComponentToImageCommand.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportComponentToImageCommand.java index 05f308ee3..605774439 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportComponentToImageCommand.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportComponentToImageCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportModelToDocumentCommand.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportModelToDocumentCommand.java index f9b189e3a..3c90e09c1 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportModelToDocumentCommand.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/ExportModelToDocumentCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/GenerateDocumentCommand.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/GenerateDocumentCommand.java index 99dfea9e0..0fb1c5eba 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/GenerateDocumentCommand.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/commands/GenerateDocumentCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSBlockDefinitionDiagramModel.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSBlockDefinitionDiagramModel.java index 504dfff53..f26a64e96 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSBlockDefinitionDiagramModel.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSBlockDefinitionDiagramModel.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSInternalBlockDiagramModel.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSInternalBlockDiagramModel.java index 465d5ce22..47d49ac67 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSInternalBlockDiagramModel.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/docGenerators/CHESSInternalBlockDiagramModel.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/CHESSDiagramsGeneratorService.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/CHESSDiagramsGeneratorService.java index b901189fc..4aa05535d 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/CHESSDiagramsGeneratorService.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/CHESSDiagramsGeneratorService.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/ResultsGeneratorService.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/ResultsGeneratorService.java index 65cfd61ba..ae5d11e4a 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/ResultsGeneratorService.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/services/ResultsGeneratorService.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/utils/ExportDialogUtils.java b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/utils/ExportDialogUtils.java index 183e3ed31..3ea4271f1 100644 --- a/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/utils/ExportDialogUtils.java +++ b/plugins/org.polarsys.chess.diagram.ui/src/org/polarsys/chess/diagram/ui/utils/ExportDialogUtils.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowBDDElementsAction.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowBDDElementsAction.java index 3e800cbd8..639a5fb7a 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowBDDElementsAction.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowBDDElementsAction.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowIBDElementsAction.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowIBDElementsAction.java index f56e93575..344859fb3 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowIBDElementsAction.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowIBDElementsAction.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowSMDElementsAction.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowSMDElementsAction.java index 1d552fe0a..abe3217af 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowSMDElementsAction.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/actions/ShowSMDElementsAction.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustAssociationsHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustAssociationsHandler.java index a89476204..44305a777 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustAssociationsHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustAssociationsHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustConnectorsHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustConnectorsHandler.java index 26ec95fe8..d0abef0d3 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustConnectorsHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/AdjustConnectorsHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/ArrangeHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/ArrangeHandler.java index 0ff0d9c4f..a4c72f403 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/ArrangeHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/ArrangeHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDCommand.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDCommand.java index 91ece7fbb..2061f7b23 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDCommand.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDHandler.java index 723bc2291..78d02c130 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateBDDHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleCommand.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleCommand.java index d83c1bdef..3c5876534 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleCommand.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleHandler.java index 4bf84bf1d..2d16c6e59 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDMultipleHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleCommand.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleCommand.java index aba8150d5..570d9770c 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleCommand.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleHandler.java index de9acf8d6..e74dce7a9 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateIBDSingleHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateSMDHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateSMDHandler.java index d51efed06..8da254c81 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateSMDHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/CreateSMDHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshBDDHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshBDDHandler.java index 49ec7e53b..19c639722 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshBDDHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshBDDHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshIBDHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshIBDHandler.java index 5d0a1e087..fa65f5450 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshIBDHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshIBDHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshSMDHandler.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshSMDHandler.java index 40a769bb6..a67a47524 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshSMDHandler.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/commands/RefreshSMDHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/BDDDiagramLayoutConnector.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/BDDDiagramLayoutConnector.java index 5cdc1cf2b..1ec4af56e 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/BDDDiagramLayoutConnector.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/BDDDiagramLayoutConnector.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/IBDDiagramLayoutConnector.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/IBDDiagramLayoutConnector.java index 1fd348647..452c4d109 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/IBDDiagramLayoutConnector.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/IBDDiagramLayoutConnector.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/SMDDiagramLayoutConnector.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/SMDDiagramLayoutConnector.java index 01b394804..11604d0af 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/SMDDiagramLayoutConnector.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/connectors/SMDDiagramLayoutConnector.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/BDDCreatorDialog.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/BDDCreatorDialog.java index 8f288d94c..9e2de2f5e 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/BDDCreatorDialog.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/BDDCreatorDialog.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/IBDCreatorDialog.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/IBDCreatorDialog.java index ec8cb0605..50700e39d 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/IBDCreatorDialog.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/dialogs/IBDCreatorDialog.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/BDDLayoutSetup.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/BDDLayoutSetup.java index c4dd0cfa5..09b0ea8fb 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/BDDLayoutSetup.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/BDDLayoutSetup.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/IBDLayoutSetup.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/IBDLayoutSetup.java index 7aec6553b..b5d9b6543 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/IBDLayoutSetup.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/IBDLayoutSetup.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/SMDLayoutSetup.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/SMDLayoutSetup.java index 52d97b7c2..855e3cea0 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/SMDLayoutSetup.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/layouts/SMDLayoutSetup.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/Activator.java b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/Activator.java index bb7c7c817..2cc54dc62 100644 --- a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/Activator.java +++ b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/Activator.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * * Contributors: diff --git a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryAction.java b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryAction.java index d85e99210..0852a8aea 100644 --- a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryAction.java +++ b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryAction.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryHandler.java b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryHandler.java index b2619ec63..c817922ad 100644 --- a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryHandler.java +++ b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/menu/handler/CHESSDiscoveryHandler.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/wizards/DiscoveryComponent.java b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/wizards/DiscoveryComponent.java index 79f3e6616..62e84e23b 100644 --- a/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/wizards/DiscoveryComponent.java +++ b/plugins/org.polarsys.chess.discovery/src/org/polarsys/chess/discovery/ui/wizards/DiscoveryComponent.java @@ -3,9 +3,9 @@ * * * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alessandro Zovi diff --git a/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/src/org/polarsys/chess/functionBehaviors/functionBehaviorEditor/StartupClass.java b/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/src/org/polarsys/chess/functionBehaviors/functionBehaviorEditor/StartupClass.java index 1fdc0e3fd..a9060a750 100644 --- a/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/src/org/polarsys/chess/functionBehaviors/functionBehaviorEditor/StartupClass.java +++ b/plugins/org.polarsys.chess.functionBehaviors.functionBehaviorEditor/src/org/polarsys/chess/functionBehaviors/functionBehaviorEditor/StartupClass.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.m2m/license/Copyright-CeilingCalculator.txt b/plugins/org.polarsys.chess.m2m/license/Copyright-CeilingCalculator.txt index 626dd9c98..8ece7c7d5 100644 --- a/plugins/org.polarsys.chess.m2m/license/Copyright-CeilingCalculator.txt +++ b/plugins/org.polarsys.chess.m2m/license/Copyright-CeilingCalculator.txt @@ -9,6 +9,6 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.m2m/license/Copyright.txt b/plugins/org.polarsys.chess.m2m/license/Copyright.txt index 849e83462..f65272b55 100644 --- a/plugins/org.polarsys.chess.m2m/license/Copyright.txt +++ b/plugins/org.polarsys.chess.m2m/license/Copyright.txt @@ -9,5 +9,5 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/Activator.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/Activator.java index d520a7214..af19f05db 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/Activator.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.m2m; diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/backpropagation/BackpropagationFullVERDE.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/backpropagation/BackpropagationFullVERDE.java index 81dc91954..04b6fda54 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/backpropagation/BackpropagationFullVERDE.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/backpropagation/BackpropagationFullVERDE.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/Java4QVTutils.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/Java4QVTutils.java index cd8166a40..6c1924e7d 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/Java4QVTutils.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/Java4QVTutils.java @@ -3,9 +3,9 @@ * * * * * * All rights reserved. This program and the accompanying materials - * * are made available under the terms of the Eclipse Public License v1.0 + * * are made available under the terms of the Eclipse Public License v2.0 * * which accompanies this distribution, and is available at - * * http://www.eclipse.org/legal/epl-v10.html + * * http://www.eclipse.org/legal/epl-v20.html * * *******************************************************************************/ package org.polarsys.chess.m2m.blackbox; diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/VSLUtils.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/VSLUtils.java index a9118aeda..c786ea04f 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/VSLUtils.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/blackbox/VSLUtils.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/CompareAnalysisResultsHandler.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/CompareAnalysisResultsHandler.java index 98e5fa40e..1578e509a 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/CompareAnalysisResultsHandler.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/CompareAnalysisResultsHandler.java @@ -2,9 +2,9 @@ * * Copyright (c) 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Laura Baracchi laura.baracchi@intecs.it - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/PurgePSMHandler.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/PurgePSMHandler.java index ef00ce197..f27f0d602 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/PurgePSMHandler.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/PurgePSMHandler.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerEnd2End.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerEnd2End.java index 39f915aa9..cc2cac3f9 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerEnd2End.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerEnd2End.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerVERDE.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerVERDE.java index 1f7857f5f..8852231fd 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerVERDE.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/handlers/QVToUIHandlerVERDE.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/PIMPSMTransformationVERDE.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/PIMPSMTransformationVERDE.java index dfcbcd3bb..94fcf1e72 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/PIMPSMTransformationVERDE.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/PIMPSMTransformationVERDE.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/QVToTransformation.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/QVToTransformation.java index 4136c99c4..6a610ec56 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/QVToTransformation.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/QVToTransformation.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/TransUtil.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/TransUtil.java index 574107008..f4c5047fc 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/TransUtil.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/transformations/TransUtil.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/ui/CompareSchedResultDialog.java b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/ui/CompareSchedResultDialog.java index 5fb7acaba..7a79aa73b 100644 --- a/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/ui/CompareSchedResultDialog.java +++ b/plugins/org.polarsys.chess.m2m/src/org/polarsys/chess/m2m/ui/CompareSchedResultDialog.java @@ -2,9 +2,9 @@ * * Copyright (c) 2015 Intecs SpA * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Laura Baracchi laura.baracchi@intecs.it - initial API and implementation and/or initial documentation diff --git a/plugins/org.polarsys.chess.m2m/transformations/BuildMultiInstance.qvto b/plugins/org.polarsys.chess.m2m/transformations/BuildMultiInstance.qvto index 55c15bbca..e64bea9b6 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/BuildMultiInstance.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/BuildMultiInstance.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/CHESS_CeilingAssignment.qvto b/plugins/org.polarsys.chess.m2m/transformations/CHESS_CeilingAssignment.qvto index df0481574..7083324a7 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/CHESS_CeilingAssignment.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/CHESS_CeilingAssignment.qvto @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE.qvto b/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE.qvto index ec891ee76..142c4066a 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- 20150114: SP change in getLifeLineInstance to avoid trouble -- -- in case of an InstanceSpecification whose name is a substring of -- diff --git a/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE_RUN.qvto b/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE_RUN.qvto index caa217cb3..5872d9b54 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE_RUN.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/CHESS_PIM2PSM_Inst_full_VERDE_RUN.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- 20150114: SP change in getLifeLineInstance to avoid trouble -- -- in case of an InstanceSpecification whose name is a substring of -- diff --git a/plugins/org.polarsys.chess.m2m/transformations/MARTEUtils.qvto b/plugins/org.polarsys.chess.m2m/transformations/MARTEUtils.qvto index de94ec982..3c3321ae6 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/MARTEUtils.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/MARTEUtils.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/ProfileUtils_Inst_full.qvto b/plugins/org.polarsys.chess.m2m/transformations/ProfileUtils_Inst_full.qvto index d0f3d2de5..a1f149378 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/ProfileUtils_Inst_full.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/ProfileUtils_Inst_full.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/RemoveMultiInstance.qvto b/plugins/org.polarsys.chess.m2m/transformations/RemoveMultiInstance.qvto index e1bcf2f0b..41b1905b2 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/RemoveMultiInstance.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/RemoveMultiInstance.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/UMLUtils_Inst_full.qvto b/plugins/org.polarsys.chess.m2m/transformations/UMLUtils_Inst_full.qvto index 737861e1d..fe440d0aa 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/UMLUtils_Inst_full.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/UMLUtils_Inst_full.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.m2m/transformations/Unused.qvto b/plugins/org.polarsys.chess.m2m/transformations/Unused.qvto index ee521ada6..974450ae8 100644 --- a/plugins/org.polarsys.chess.m2m/transformations/Unused.qvto +++ b/plugins/org.polarsys.chess.m2m/transformations/Unused.qvto @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Activator.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Activator.java index ff3cfefb4..680b3b233 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Activator.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/AnalysisContext.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/AnalysisContext.java index 29ab72c02..97a099cec 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/AnalysisContext.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/AnalysisContext.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/BlockingTime.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/BlockingTime.java index 3381281c1..e6212261c 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/BlockingTime.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/BlockingTime.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ExecutionTime.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ExecutionTime.java index 7c952adbd..da9153a7b 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ExecutionTime.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ExecutionTime.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MeasuredValue.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MeasuredValue.java index a969e0572..c9f99716d 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MeasuredValue.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MeasuredValue.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoredResource.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoredResource.java index 5ba62afc4..459971cea 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoredResource.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoredResource.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Monitoring.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Monitoring.java index 7d2ffd202..4abe91c1f 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Monitoring.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Monitoring.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlFactory.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlFactory.java index f0fbc1f4e..17601d8cc 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlFactory.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlFactory.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlPackage.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlPackage.java index be9e5ddf6..d5385c2c0 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlPackage.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/MonitoringxmlPackage.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Period.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Period.java index 2cd3cbcef..2dfbd1ed7 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Period.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Period.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Resource.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Resource.java index 4d1dce0d6..40b9dd1aa 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Resource.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Resource.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ResponseTime.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ResponseTime.java index 9ebcf1733..121e0e8b3 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ResponseTime.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/ResponseTime.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Thread.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Thread.java index c7eea79f8..c84ecb3fe 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Thread.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/Thread.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/AnalysisContextImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/AnalysisContextImpl.java index 84ba3a1de..558c3baba 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/AnalysisContextImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/AnalysisContextImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/BlockingTimeImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/BlockingTimeImpl.java index 67f469fc8..c50354b3f 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/BlockingTimeImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/BlockingTimeImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ExecutionTimeImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ExecutionTimeImpl.java index 2d0ffbb5e..fa3ad75c0 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ExecutionTimeImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ExecutionTimeImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MeasuredValueImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MeasuredValueImpl.java index 4e5f7290f..0fcc2d47c 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MeasuredValueImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MeasuredValueImpl.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoredResourceImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoredResourceImpl.java index 35dd530bb..b01259de4 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoredResourceImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoredResourceImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringImpl.java index a78132ad0..4f29ca926 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringxmlFactoryImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringxmlFactoryImpl.java index 7d24cbfd4..85a21c1f4 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringxmlFactoryImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/MonitoringxmlFactoryImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/PeriodImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/PeriodImpl.java index 2cfa75a62..5d1f9f5af 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/PeriodImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/PeriodImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResourceImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResourceImpl.java index e0ceb5444..fe26beb2a 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResourceImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResourceImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResponseTimeImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResponseTimeImpl.java index 3d2f0f120..a9a2f1653 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResponseTimeImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ResponseTimeImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ThreadImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ThreadImpl.java index 08c5e07e2..31a5ac5ff 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ThreadImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/impl/ThreadImpl.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.impl; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/ImportLogHandler.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/ImportLogHandler.java index f3a68eb9d..fce3c980a 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/ImportLogHandler.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/ImportLogHandler.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchBackpropagation.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchBackpropagation.java index d8aa5aa66..7a78d0e84 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchBackpropagation.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchBackpropagation.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchTraceAnalysis.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchTraceAnalysis.java index b1c226987..60a2273d8 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchTraceAnalysis.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/popup/actions/LaunchTraceAnalysis.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlAdapterFactory.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlAdapterFactory.java index 0d715b431..254bca941 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlAdapterFactory.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlAdapterFactory.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.monitoring.monitoringxml.util; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceFactoryImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceFactoryImpl.java index b8256ca0d..f150950c1 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceFactoryImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceFactoryImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ /** */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceImpl.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceImpl.java index 5602b47fe..5c4ef5c5a 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceImpl.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlResourceImpl.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.monitoringxml.util; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlSwitch.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlSwitch.java index f825c0c36..deeccfd4c 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlSwitch.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/monitoringxml/util/MonitoringxmlSwitch.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.monitoringxml.util; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/MonitoringPreferencePage.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/MonitoringPreferencePage.java index d55cd3914..02160a11d 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/MonitoringPreferencePage.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/MonitoringPreferencePage.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceConstants.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceConstants.java index d210d1322..7b8cc0135 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceConstants.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceConstants.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceInitializer.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceInitializer.java index f9aef83b8..17820a8fd 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceInitializer.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/preferences/PreferenceInitializer.java @@ -9,7 +9,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Event.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Event.java index 51a8f5927..938efdf4a 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Event.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Event.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/EventType.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/EventType.java index 5aaf56c3e..952e2d1e6 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/EventType.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/EventType.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Parameters.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Parameters.java index 1f25a93ff..e706a2728 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Parameters.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/Parameters.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/ThreadEvents.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/ThreadEvents.java index c94618c91..5f723b9b8 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/ThreadEvents.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/ThreadEvents.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceAnalyser.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceAnalyser.java index a611f1a15..f52a09a1f 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceAnalyser.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceAnalyser.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceReader.java b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceReader.java index 70e85a569..e813047f3 100644 --- a/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceReader.java +++ b/plugins/org.polarsys.chess.monitoring/src/org/polarsys/chess/monitoring/traceanalyser/TraceReader.java @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ package org.polarsys.chess.monitoring.traceanalyser; diff --git a/plugins/org.polarsys.chess.monitoring/transforms/CommonUtilities.qvto b/plugins/org.polarsys.chess.monitoring/transforms/CommonUtilities.qvto index ce1d74da1..d42e2e4c4 100644 --- a/plugins/org.polarsys.chess.monitoring/transforms/CommonUtilities.qvto +++ b/plugins/org.polarsys.chess.monitoring/transforms/CommonUtilities.qvto @@ -8,7 +8,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ modeltype chess uses 'http://CHESS'; diff --git a/plugins/org.polarsys.chess.monitoring/transforms/MonitoringXML2Chess.qvto b/plugins/org.polarsys.chess.monitoring/transforms/MonitoringXML2Chess.qvto index fe13ebb9f..e55a1c319 100644 --- a/plugins/org.polarsys.chess.monitoring/transforms/MonitoringXML2Chess.qvto +++ b/plugins/org.polarsys.chess.monitoring/transforms/MonitoringXML2Chess.qvto @@ -7,7 +7,7 @@ * 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 + * http://www.eclipse.org/legal/epl-v20.html *******************************************************************************/ import CommonUtilities; diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java index 06e55d7ec..bc8e712c9 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java index 6e48ee65c..0aa70aedd 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java index 14ce06526..2843aada8 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java index 8b0f8ae6a..a53f6e6dd 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java index de33e2bc1..acdbb8101 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java index bd2cc5feb..61859b9e3 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java index 2f1f4c7c2..a19cf5753 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java index 933317955..324d3dff0 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java index 58d2c2e32..e8456a9a9 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java index 4a69ffa75..b3a3f1686 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java index bfe2a8691..708be3a8c 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java index 4742aa9e9..711819694 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java index 9b5b40b17..a2a020861 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java index a97640706..372f2ce10 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java index 713dbf954..9e499a037 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java index b0e95ac3b..e9e62ef6a 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java index 0b7d48e7b..a291f4909 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java index 177a0d345..f89b7ca02 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java index c42ae443f..0aa61a82b 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java index cebbde06d..5de048a36 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java index 32d4d5dd5..66bbb5cc9 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java index 01318a931..027885e9d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java @@ -2,9 +2,9 @@ - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateArchitectureViaWizard.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateArchitectureViaWizard.java index 037a8caf0..a17bcf1b6 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateArchitectureViaWizard.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateArchitectureViaWizard.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateParamArchAsOssFileCommand.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateParamArchAsOssFileCommand.java index 2226ad799..ee488d1d4 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateParamArchAsOssFileCommand.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/commands/InstantiateParamArchAsOssFileCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/dialog/ConfigParameter.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/dialog/ConfigParameter.java index 32eeca735..40ec8c217 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/dialog/ConfigParameter.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/dialog/ConfigParameter.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/InstantiateArchWizard.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/InstantiateArchWizard.java index 4ddb10e64..136f99fb1 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/InstantiateArchWizard.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/InstantiateArchWizard.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/PackageViewFilter.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/PackageViewFilter.java index 50d17ba33..684adfab3 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/PackageViewFilter.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/PackageViewFilter.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/TreeSelector.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/TreeSelector.java index 56af7dfae..87f5a9a1a 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/TreeSelector.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/TreeSelector.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/AssignValuesPage.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/AssignValuesPage.java index 6472325b4..4995d5ce2 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/AssignValuesPage.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/AssignValuesPage.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/BasicWizardPage.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/BasicWizardPage.java index 7dff03f49..4db3a1288 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/BasicWizardPage.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/BasicWizardPage.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/LastPage.java b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/LastPage.java index 547cf463f..c7ab37b1c 100644 --- a/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/LastPage.java +++ b/plugins/org.polarsys.chess.paramArchConfigurator/src/org/polarsys/chess/paramArchConfigurator/ui/wizard/page/LastPage.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/CustomPropertyEditorTab.java b/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/CustomPropertyEditorTab.java index 9a5efa4bd..848a7f72b 100644 --- a/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/CustomPropertyEditorTab.java +++ b/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/CustomPropertyEditorTab.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/PropertyEditorFilter.java b/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/PropertyEditorFilter.java index b161c8231..e7c96315a 100644 --- a/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/PropertyEditorFilter.java +++ b/plugins/org.polarsys.chess.properties.propertyEditor/src/org/polarsys/chess/properties/propertyEditor/PropertyEditorFilter.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoComponentException.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoComponentException.java index 2ad02e0cd..0b86cc27e 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoComponentException.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoComponentException.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoDiagramStatusException.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoDiagramStatusException.java index 9745ad711..6fb29962b 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoDiagramStatusException.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/exceptions/NoDiagramStatusException.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/ChessSystemModel.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/ChessSystemModel.java index 695cee8c3..cb8f93bbf 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/ChessSystemModel.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/ChessSystemModel.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/UMLStateMachineModel.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/UMLStateMachineModel.java index def42c4fa..c417a1cac 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/UMLStateMachineModel.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/model/UMLStateMachineModel.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/AnalysisResultUtil.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/AnalysisResultUtil.java index 810857958..618c10f36 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/AnalysisResultUtil.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/AnalysisResultUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/FileNamesUtil.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/FileNamesUtil.java index 8b6e0fcfc..6a880243b 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/FileNamesUtil.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/core/utils/FileNamesUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/CHESSEditorUtils.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/CHESSEditorUtils.java index 7c73bdc38..75d742791 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/CHESSEditorUtils.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/CHESSEditorUtils.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/DialogUtils.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/DialogUtils.java index e0766df0f..7ca6fb14e 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/DialogUtils.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/DialogUtils.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/ReportProblemsUtil.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/ReportProblemsUtil.java index c28272cdb..1fa00a0d0 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/ReportProblemsUtil.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/ReportProblemsUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2020 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/SelectionUtil.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/SelectionUtil.java index a894ec349..09145bee2 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/SelectionUtil.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/gui/utils/SelectionUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/Activator.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/Activator.java index 57fa845b8..ef3f7fadb 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/Activator.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/MatchingStrategy.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/MatchingStrategy.java index b097c97f7..be9f5917b 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/MatchingStrategy.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/MatchingStrategy.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/CurrentViewStatusCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/CurrentViewStatusCommand.java index 24d0d5cef..76a430091 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/CurrentViewStatusCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/CurrentViewStatusCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/SupersuserToggleCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/SupersuserToggleCommand.java index 8fe6d270e..aa9e9e710 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/SupersuserToggleCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/SupersuserToggleCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchSourceProvider.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchSourceProvider.java index ed1a6c0f5..19155198d 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchSourceProvider.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchSourceProvider.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToDependabilityCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToDependabilityCommand.java index 652fdff46..bdaf8174f 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToDependabilityCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToDependabilityCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToExtraFunctionalCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToExtraFunctionalCommand.java index ac2646b55..9597798e2 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToExtraFunctionalCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToExtraFunctionalCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToRailwayCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToRailwayCommand.java index c906dd73e..00725af1b 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToRailwayCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToRailwayCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToView.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToView.java index 4266966d2..c70e59481 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToView.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/commands/switchers/SwitchToView.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/palette/PaletteManager.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/palette/PaletteManager.java index bf38cfe30..fcc1ff2ba 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/palette/PaletteManager.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/palette/PaletteManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSService.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSService.java index 2e8f09c24..cfb38b35d 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSService.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSService.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSServiceFactory.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSServiceFactory.java index 76e3445ff..4b4857547 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSServiceFactory.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/CHESSServiceFactory.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/SelectionListener.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/SelectionListener.java index b42af99a0..d1355bb0a 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/SelectionListener.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/service/SelectionListener.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/utils/CHESSInternalEditorUtils.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/utils/CHESSInternalEditorUtils.java index 7feeedd26..70e24379f 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/utils/CHESSInternalEditorUtils.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/utils/CHESSInternalEditorUtils.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/visibility/HidePortCommand.java b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/visibility/HidePortCommand.java index da76c9a20..4b82a194d 100644 --- a/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/visibility/HidePortCommand.java +++ b/plugins/org.polarsys.chess.service/src/org/polarsys/chess/service/internal/visibility/HidePortCommand.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportModelToMonolithicSMVCommand.java b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportModelToMonolithicSMVCommand.java index e1cbc66e4..c973b38c6 100644 --- a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportModelToMonolithicSMVCommand.java +++ b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportModelToMonolithicSMVCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportNominalSMsToSmvFilesCommand.java b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportNominalSMsToSmvFilesCommand.java index 26a0e5a90..3ad6349a2 100644 --- a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportNominalSMsToSmvFilesCommand.java +++ b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportNominalSMsToSmvFilesCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportSelectedNominalSMsToSmvFilesCommand.java b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportSelectedNominalSMsToSmvFilesCommand.java index 1598feacc..26c119e40 100644 --- a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportSelectedNominalSMsToSmvFilesCommand.java +++ b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/commands/ExportSelectedNominalSMsToSmvFilesCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2017 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Alberto Debiasi - initial API and implementation diff --git a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/services/CHESSSmvExporterService.java b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/services/CHESSSmvExporterService.java index 22983692b..a026a10a4 100644 --- a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/services/CHESSSmvExporterService.java +++ b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/services/CHESSSmvExporterService.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/utils/SMVGenerationDialogUtil.java b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/utils/SMVGenerationDialogUtil.java index 8db62d6ba..4fa8256ba 100644 --- a/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/utils/SMVGenerationDialogUtil.java +++ b/plugins/org.polarsys.chess.smvExporter/src/org/polarsys/chess/smvExporter/ui/utils/SMVGenerationDialogUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.test.runtime/build.properties b/plugins/org.polarsys.chess.test.runtime/build.properties index d7d16f63d..bf980821f 100644 --- a/plugins/org.polarsys.chess.test.runtime/build.properties +++ b/plugins/org.polarsys.chess.test.runtime/build.properties @@ -1,9 +1,9 @@ ############################################################################### # Copyright (c) 2015 Intecs. # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # diff --git a/plugins/org.polarsys.chess.test.runtime/plugin.properties b/plugins/org.polarsys.chess.test.runtime/plugin.properties index f6f46a084..8c56f9564 100644 --- a/plugins/org.polarsys.chess.test.runtime/plugin.properties +++ b/plugins/org.polarsys.chess.test.runtime/plugin.properties @@ -1,9 +1,9 @@ ############################################################################### # Copyright (c) 2015 Intecs. # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/Activator.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/Activator.java index 051f6b1a3..913d9511a 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/Activator.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/Activator.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/handlers/TestsHandler.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/handlers/TestsHandler.java index 22e56e8aa..95d7b7acc 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/handlers/TestsHandler.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/handlers/TestsHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/AllTests.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/AllTests.java index 46ccfcec5..b81e42c2e 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/AllTests.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/AllTests.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyCHESSStereotype.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyCHESSStereotype.java index 9ed20341c..eb3b37011 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyCHESSStereotype.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyCHESSStereotype.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyRecursively.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyRecursively.java index 19a0d5830..004a6b602 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyRecursively.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestApplyRecursively.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestCreateViews.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestCreateViews.java index 2ecdadd87..27c78579c 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestCreateViews.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/tests/TestCreateViews.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/util/TestUtil.java b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/util/TestUtil.java index 39afafec0..2ab9fd289 100644 --- a/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/util/TestUtil.java +++ b/plugins/org.polarsys.chess.test.runtime/src/org/polarsys/chess/test/runtime/util/TestUtil.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Nicholas Pacini diff --git a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/commands/TradeoffCommand.java b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/commands/TradeoffCommand.java index 0b92a236c..3ff977084 100644 --- a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/commands/TradeoffCommand.java +++ b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/commands/TradeoffCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/dialogs/ConfigurationSelectionDialog.java b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/dialogs/ConfigurationSelectionDialog.java index c1ecf2411..3e5e065d1 100644 --- a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/dialogs/ConfigurationSelectionDialog.java +++ b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/dialogs/ConfigurationSelectionDialog.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/views/TradeoffView.java b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/views/TradeoffView.java index ed8d4a9d3..953e49030 100644 --- a/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/views/TradeoffView.java +++ b/plugins/org.polarsys.chess.tradeoffAnalysis/src/org/polarsys/chess/tradeoffAnalysis/views/TradeoffView.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (C) 2018 Fondazione Bruno Kessler. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Luca Cristoforetti - initial API and implementation diff --git a/plugins/org.polarsys.chess.validator/license/Copyright.txt b/plugins/org.polarsys.chess.validator/license/Copyright.txt index 48804d819..1f244db7a 100644 --- a/plugins/org.polarsys.chess.validator/license/Copyright.txt +++ b/plugins/org.polarsys.chess.validator/license/Copyright.txt @@ -9,5 +9,5 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/Activator.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/Activator.java index 9259e4ae1..1cde09ac9 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/Activator.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/automatedActions/IAutomatedAction.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/automatedActions/IAutomatedAction.java index 0af410d05..035cbd25c 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/automatedActions/IAutomatedAction.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/automatedActions/IAutomatedAction.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/CHESSCoreValidationHandler.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/CHESSCoreValidationHandler.java index 894282a80..7f11539c5 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/CHESSCoreValidationHandler.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/CHESSCoreValidationHandler.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, stefano.puri@intecs.it diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/ChessGenericValidateCommand.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/ChessGenericValidateCommand.java index 86ce61c3b..c57deb412 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/ChessGenericValidateCommand.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/ChessGenericValidateCommand.java @@ -1,9 +1,9 @@ /******************************************************************************* * Copyright (c) 2015 Intecs. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 + * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * http://www.eclipse.org/legal/epl-v20.html * * Contributors: * Stefano Puri, stefano.puri@intecs.it diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/AV_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/AV_03.java index 8d12d9e3f..b891a2e36 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/AV_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/AV_03.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; @@ -36,7 +36,7 @@ import org.polarsys.chess.core.profiles.CHESSProfileManager; /** * The Class AV_03. * This class implements the following constraint (invoked by the EMF validation framework): - * the SaAnalysisContext classifier in the Analysis View must have its “Platform” property + * the SaAnalysisContext classifier in the Analysis View must have its �Platform� property * valued with a CHGaResourcePlatform that is a Package in the Component View. * @since 0.10 */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/ArincProc_01.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/ArincProc_01.java index 164d78d48..324104968 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/ArincProc_01.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/ArincProc_01.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_01.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_01.java index 363556e8e..f2d49fd47 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_01.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_01.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_02.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_02.java index d56da514a..4d26bfc0f 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_02.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_02.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_03.java index b49ac9f9d..b769585cd 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/Connector_03.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_01.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_01.java index f67fa0910..f136d2e77 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_01.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_01.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_02.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_02.java index bee6558ed..6ae3bc941 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_02.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_02.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; @@ -29,7 +29,7 @@ import org.polarsys.chess.core.util.uml.UMLUtils; /** * The Class DV_02. - * DV_02 checks that the attribute “from” and “to” of stereotype Assign must be valued with exactly + * DV_02 checks that the attribute �from� and �to� of stereotype Assign must be valued with exactly * one value on each end and with the correct types: * the value of the attribute 'from' in stereotype Assign must be an instance (InstanceSpecification) * of a ComponentImplementation or of a Functional Partition or a <<CHRtPortSlot>> Slot. diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_03.java index 9430d23aa..644bea1af 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_03.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_04.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_04.java index dd9259bd3..07961cbed 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_04.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_04.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_05.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_05.java index 65bbc5b9d..582570643 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_05.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_05.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_06.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_06.java index 3274dfb27..18d920c21 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_06.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/DV_06.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_01.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_01.java index 11335e24c..d6e6ccebd 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_01.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_01.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02.java index 0696cf7e1..08d95c227 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02_1.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02_1.java index 598b6f88f..db87e9d4c 100644 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02_1.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_02_1.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_03.java index 784b3aaa7..0dcde684d 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_03.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_04.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_04.java index ae93d9885..172c4eabf 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_04.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_04.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_20.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_20.java index 1a68bf28d..5b93e3d7f 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_20.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_20.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_30.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_30.java index 9f311e687..57ca43d12 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_30.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_30.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_40.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_40.java index 9cc747d8b..ab97cb839 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_40.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/EFVRT_40.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_02.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_02.java index 1fafc3d39..c0d65f50b 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_02.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_02.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_03.java index 42a90cad1..6dadcedb1 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_03.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_04.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_04.java index be5453e35..772425f1c 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_04.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_04.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_05.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_05.java index 752c199b0..9c7eed793 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_05.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_05.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_06.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_06.java index aacd6a333..fc5bdb4d0 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_06.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_06.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_07.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_07.java index 302c09210..b326ddaa8 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_07.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FV_07.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_01.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_01.java index fc270004d..3191d9874 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_01.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_01.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_02.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_02.java index 4872f137f..1ca6f9c82 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_02.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_02.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_03.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_03.java index e7dabbcc7..0c0509102 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_03.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/FlowPorts_03.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/StringParser.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/StringParser.java index 7c6d0ff3b..28d3e01b3 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/StringParser.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/constraints/StringParser.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.constraints; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ActionsLib.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ActionsLib.java index bc5aa161f..cb7282871 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ActionsLib.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ActionsLib.java @@ -11,7 +11,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ConstraintsLib.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ConstraintsLib.java index 13c5771fa..7f4192903 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ConstraintsLib.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/ConstraintsLib.java @@ -12,7 +12,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/CrossViewActionLib.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/CrossViewActionLib.java index c072c8aa8..bc02c6acd 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/CrossViewActionLib.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/libs/CrossViewActionLib.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/AddDiagramElement.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/AddDiagramElement.java index acd21a7cf..d3fa24f9a 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/AddDiagramElement.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/AddDiagramElement.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelManager.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelManager.java index 883223cc9..4f0fd28d4 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelManager.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelParser.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelParser.java index 723024da4..da6881243 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelParser.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ModelParser.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ResourceListener.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ResourceListener.java index a0087a220..9453a33e6 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ResourceListener.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ResourceListener.java @@ -8,7 +8,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ValidationDelegateClientSelector.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ValidationDelegateClientSelector.java index 63685b840..101b100e3 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ValidationDelegateClientSelector.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ValidationDelegateClientSelector.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ package org.polarsys.chess.validator.managers; diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ViewManager.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ViewManager.java index d18c2270e..8c1fd07cc 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ViewManager.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/managers/ViewManager.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/Messages.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/Messages.java index 46f832300..7f92d7602 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/Messages.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/Messages.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.wizards/plugin.properties b/plugins/org.polarsys.chess.wizards/plugin.properties index 0b4a5234d..0a44e877f 100644 --- a/plugins/org.polarsys.chess.wizards/plugin.properties +++ b/plugins/org.polarsys.chess.wizards/plugin.properties @@ -1,9 +1,9 @@ ############################################################################### # Copyright (c) 2008 Obeo. # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Obeo - initial API and implementation diff --git a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/Activator.java b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/Activator.java index f492d8562..f1ba8e5b9 100644 --- a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/Activator.java +++ b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/Activator.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */package org.polarsys.chess.wizards; diff --git a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CHESSNewProjectWizard.java b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CHESSNewProjectWizard.java index e3af1a3be..7b1bc3914 100644 --- a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CHESSNewProjectWizard.java +++ b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CHESSNewProjectWizard.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- Contributor: Stefano Puri (Intecs) - support creating CHESS model diff --git a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CreateCHESSModelWizard.java b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CreateCHESSModelWizard.java index 01bdd9ba2..d40f0349f 100644 --- a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CreateCHESSModelWizard.java +++ b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/CreateCHESSModelWizard.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/InitModelWizard.java b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/InitModelWizard.java index e8d3afc16..62fd7d3a6 100644 --- a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/InitModelWizard.java +++ b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/wizards/InitModelWizard.java @@ -10,7 +10,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- ----------------------------------------------------------------------- */ diff --git a/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/Activator.java b/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/Activator.java index 1d940dbc2..d26ee6fb2 100644 --- a/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/Activator.java +++ b/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/Activator.java @@ -2,9 +2,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/utils/XtextUtils.java b/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/utils/XtextUtils.java index 1bd734e47..f44cef78b 100644 --- a/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/utils/XtextUtils.java +++ b/plugins/org.polarsys.chess.xtext.global/src/org/polarsys/chess/xtext/global/utils/XtextUtils.java @@ -2,9 +2,9 @@ - - Copyright (c) 2013, 2015 Intecs SpA - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v1.0 + - are made available under the terms of the Eclipse Public License v2.0 - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v10.html + - http://www.eclipse.org/legal/epl-v20.html - - Contributors: - diff --git a/plugins/sba/org.polarsys.chess.statebased/ATL/CHESS2IM.atl b/plugins/sba/org.polarsys.chess.statebased/ATL/CHESS2IM.atl index 0753cccd5..b195d1a85 100644 --- a/plugins/sba/org.polarsys.chess.statebased/ATL/CHESS2IM.atl +++ b/plugins/sba/org.polarsys.chess.statebased/ATL/CHESS2IM.atl @@ -5,7 +5,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/ATL/IDM2PNML.atl b/plugins/sba/org.polarsys.chess.statebased/ATL/IDM2PNML.atl index 5789851c9..da377eb8b 100644 --- a/plugins/sba/org.polarsys.chess.statebased/ATL/IDM2PNML.atl +++ b/plugins/sba/org.polarsys.chess.statebased/ATL/IDM2PNML.atl @@ -5,7 +5,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/ATL/PNML2DEEM.atl b/plugins/sba/org.polarsys.chess.statebased/ATL/PNML2DEEM.atl index 47862e598..e5af6eee1 100644 --- a/plugins/sba/org.polarsys.chess.statebased/ATL/PNML2DEEM.atl +++ b/plugins/sba/org.polarsys.chess.statebased/ATL/PNML2DEEM.atl @@ -5,7 +5,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/build.properties b/plugins/sba/org.polarsys.chess.statebased/build.properties index 3aef4767b..344dba64a 100644 --- a/plugins/sba/org.polarsys.chess.statebased/build.properties +++ b/plugins/sba/org.polarsys.chess.statebased/build.properties @@ -4,9 +4,9 @@ # Intecs S.p.A., Italy # # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html +# http://www.eclipse.org/legal/epl-v20.html # # Contributors: # Leonardo Montecchi lmontecchi@unifi.it diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/Activator.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/Activator.java index 1dd0351bf..ba54f6a04 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/Activator.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/Activator.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMClient.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMClient.java index cc7dfbb35..066fe0e00 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMClient.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMClient.java @@ -6,7 +6,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMProgressInformation.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMProgressInformation.java index d1fee07e5..aca2ee711 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMProgressInformation.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/DEEMProgressInformation.java @@ -6,7 +6,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/PeriodicExecutionDialog.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/PeriodicExecutionDialog.java index 464d22ebc..02d0d24c1 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/PeriodicExecutionDialog.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/PeriodicExecutionDialog.java @@ -6,7 +6,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/SelectionListenerForStateBased.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/SelectionListenerForStateBased.java index 5d570a6b4..ab6dc72b8 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/SelectionListenerForStateBased.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/SelectionListenerForStateBased.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Nicholas Pacini nicholas.pacini@intecs.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedSourceProvider.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedSourceProvider.java index 60cbfeafc..034d51fda 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedSourceProvider.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedSourceProvider.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Nicholas Pacini nicholas.pacini@intecs.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedTransformationCommand.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedTransformationCommand.java index 45e46bd31..dd1f6f33c 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedTransformationCommand.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedTransformationCommand.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedWithParametersCommand.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedWithParametersCommand.java index 818899272..563f0ce2d 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedWithParametersCommand.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/StateBasedWithParametersCommand.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/DEEMProgressInformation.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/DEEMProgressInformation.java index 6cbc8ca07..9e00567f0 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/DEEMProgressInformation.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/DEEMProgressInformation.java @@ -6,7 +6,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/ParameterList.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/ParameterList.java index 9cc7740fd..3f68f18c5 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/ParameterList.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/daemon/ParameterList.java @@ -6,7 +6,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- diff --git a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/preferences/StateBasedPreferencePage.java b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/preferences/StateBasedPreferencePage.java index 27fb78308..10c788995 100644 --- a/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/preferences/StateBasedPreferencePage.java +++ b/plugins/sba/org.polarsys.chess.statebased/src/org/polarsys/chess/statebased/preferences/StateBasedPreferencePage.java @@ -7,7 +7,7 @@ -- 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 -- +-- http://www.eclipse.org/legal/epl-v20.html -- -- -- -- Contributors: -- -- Leonardo Montecchi lmontecchi@unifi.it -- -- GitLab From f4e0cd59986e085eefb378e0b1fef9bf2c968fc1 Mon Sep 17 00:00:00 2001 From: Alberto Debiasi <adebiasi@fbk.eu> Date: Wed, 13 May 2020 17:25:42 +0200 Subject: [PATCH 4/5] Add headers in missing classes in contract folder. Change-Id: I6e89c582f521a64a9381ec5ca0af6dbbb0955149 --- .../XsapAnalysisPreferencePage.java | 69 +++-- .../profile/chesscontract/util/Constants.java | 25 +- .../transformations/commands/ExportSmv.java | 273 +++++++++--------- .../test/runtime/tests/AllTests.java | 35 ++- .../runtime/tests/TestBasicOperations.java | 7 + .../tests/TestBasicOperationsHeadless.java | 7 + .../tests/TestSafetyAnalysisOperations.java | 7 + .../runtime/tests/TestVAndVOperations.java | 7 + .../tests/TestVandVOperationsOSLC.java | 7 + .../test/runtime/util/TestResultsUtil.java | 7 + 10 files changed, 257 insertions(+), 187 deletions(-) diff --git a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/XsapAnalysisPreferencePage.java b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/XsapAnalysisPreferencePage.java index 86f096bdc..7206cec86 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/XsapAnalysisPreferencePage.java +++ b/plugins/contracts/org.polarsys.chess.contracts.integration/src/org/polarsys/chess/contracts/integration/preferences/XsapAnalysisPreferencePage.java @@ -1,31 +1,38 @@ -package org.polarsys.chess.contracts.integration.preferences; - -import org.eclipse.jface.preference.DirectoryFieldEditor; -import org.eclipse.jface.preference.FieldEditorPreferencePage; -import org.eclipse.ui.IWorkbench; -import org.eclipse.ui.IWorkbenchPreferencePage; -import org.polarsys.chess.contracts.integration.Activator; - -public class XsapAnalysisPreferencePage extends FieldEditorPreferencePage -implements IWorkbenchPreferencePage{ - - public static final String XSAP_PATH = "XSAP_PATH"; - - public XsapAnalysisPreferencePage() { - super(GRID); - } - - @Override - protected void createFieldEditors() { - DirectoryFieldEditor xsapPathDirEditor = new DirectoryFieldEditor(XSAP_PATH, "xSAP scripts directory:", - getFieldEditorParent()); - addField(xsapPathDirEditor); - } - - @Override - public void init(IWorkbench workbench) { - setPreferenceStore(Activator.getDefault().getPreferenceStore()); - setDescription("Preferences page for xSAP Analysis Tool"); - } - -} +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.contracts.integration.preferences; + +import org.eclipse.jface.preference.DirectoryFieldEditor; +import org.eclipse.jface.preference.FieldEditorPreferencePage; +import org.eclipse.ui.IWorkbench; +import org.eclipse.ui.IWorkbenchPreferencePage; +import org.polarsys.chess.contracts.integration.Activator; + +public class XsapAnalysisPreferencePage extends FieldEditorPreferencePage +implements IWorkbenchPreferencePage{ + + public static final String XSAP_PATH = "XSAP_PATH"; + + public XsapAnalysisPreferencePage() { + super(GRID); + } + + @Override + protected void createFieldEditors() { + DirectoryFieldEditor xsapPathDirEditor = new DirectoryFieldEditor(XSAP_PATH, "xSAP scripts directory:", + getFieldEditorParent()); + addField(xsapPathDirEditor); + } + + @Override + public void init(IWorkbench workbench) { + setPreferenceStore(Activator.getDefault().getPreferenceStore()); + setDescription("Preferences page for xSAP Analysis Tool"); + } + +} diff --git a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/Constants.java b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/Constants.java index 405424301..768a05aeb 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/Constants.java +++ b/plugins/contracts/org.polarsys.chess.contracts.profile/src/org/polarsys/chess/contracts/profile/chesscontract/util/Constants.java @@ -1,9 +1,16 @@ -package org.polarsys.chess.contracts.profile.chesscontract.util; - -public class Constants { - public static String ContractRefinementAnalysis = "CHESSContract::ContractRefinementAnalysisContext"; - public static final String CONTRACT = "CHESSContract::Contract"; - public static final String CONTRACT_PROP = "CHESSContract::ContractProperty"; - public static final String DELEGATION_CONST = "CHESSContract::DelegationConstraint"; - public static final String FORMAL_PROP = "CHESSContract::FormalProperty"; -} +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.contracts.profile.chesscontract.util; + +public class Constants { + public static String ContractRefinementAnalysis = "CHESSContract::ContractRefinementAnalysisContext"; + public static final String CONTRACT = "CHESSContract::Contract"; + public static final String CONTRACT_PROP = "CHESSContract::ContractProperty"; + public static final String DELEGATION_CONST = "CHESSContract::DelegationConstraint"; + public static final String FORMAL_PROP = "CHESSContract::FormalProperty"; +} diff --git a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/ExportSmv.java b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/ExportSmv.java index de74451d2..01c0c706b 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/ExportSmv.java +++ b/plugins/contracts/org.polarsys.chess.contracts.transformations/src/org/polarsys/chess/contracts/transformations/commands/ExportSmv.java @@ -1,133 +1,140 @@ -package org.polarsys.chess.contracts.transformations.commands; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.ITreeSelection; -import org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.internal.treeproxy.EObjectTreeElement; -import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.FileDialog; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.ISelectionService; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.handlers.HandlerUtil; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Package; -import org.polarsys.chess.chessmlprofile.ComponentModel.ComponentType; -import org.polarsys.chess.contracts.transformations.main.GenerateErrorModel; -import org.polarsys.chess.core.notifications.ResourceNotification; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.core.views.ViewUtils; - -public class ExportSmv extends AbstractHandler{ - - public Object execute(ExecutionEvent event) throws ExecutionException { - - IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); - final Shell activeShell = window.getShell(); - - final Class selected = getSelection(window); - if(selected != null){ - - FileDialog dialog = new FileDialog(activeShell,SWT.SAVE); - dialog.setFilterNames(new String[] { "SMV" }); - dialog.setFilterExtensions(new String[] { "*.smv" }); - - String dir = dialog.open(); - if(dir != null){ - final File targetDir = (new File(dialog.getFilterPath())); - - String systemQN = selected.getQualifiedName(); - final List<String> args = new ArrayList<String>(); - args.add(systemQN); - String systemName = systemQN.substring(systemQN.lastIndexOf("::")+2); - args.add(systemName); - args.add(dialog.getFileName().replaceFirst(".smv", "")); - - Job job = new Job("Exporting to SMV"){ - - @Override - protected IStatus run(IProgressMonitor monitor) { - - monitor.beginTask("operation in progress ...", 3); - try{ - monitor.subTask("transforming..."); - - GenerateErrorModel gen = new GenerateErrorModel(selected, targetDir, args); - gen.doGenerate(null); - monitor.worked(1); - - }catch (IOException e) { - e.printStackTrace(); - } - monitor.done(); - if (monitor.isCanceled()) - return Status.CANCEL_STATUS; - return Status.OK_STATUS; - } - }; - - job.setUser(true); - job.setPriority(Job.SHORT); - job.schedule(); - }else{ - return null; - } - } - ResourceNotification.showOk("Element exported correctly"); - return null; - - } - - private Class getSelection(IWorkbenchWindow window ) { - ISelectionService selectionService = window.getSelectionService(); - ISelection selectionX = selectionService.getSelection(); - if (!(selectionX instanceof ITreeSelection)){ - ResourceNotification.showOk("Selection not valid: select a single resource on the ModelExplorer"); - return null; - } - ITreeSelection treesel = (ITreeSelection)selectionX; - if (treesel.getPaths().length == 0 || treesel.getPaths().length > 1){ - ResourceNotification.showError("Selection not valid: select a single resource on the ModelExplorer"); - return null; - } - - Object obj = treesel.getFirstElement(); - if (!(obj instanceof EObjectTreeElement)){ - ResourceNotification.showError("Selection not valid: select a single resource on the ModelExplorer"); - } - EObject eobj = ((EObjectTreeElement) obj).getEObject(); - final Package view = ViewUtils.getView(eobj); - - // final Model umlModel = view.getModel(); - final Class umlClass = (Class) eobj; - - if (!ViewUtils.isDesignView(view, CHESSProfileManager.SYSTEM_VIEW) && - !ViewUtils.isDesignView(view, CHESSProfileManager.COMPONENT_VIEW)) { - ResourceNotification.showError("Selection not valid: please select a resource of the SystemView or of the ComponentView"); - return null; - } - - if (ViewUtils.isDesignView(view, CHESSProfileManager.COMPONENT_VIEW)){ - if (UMLUtils.getStereotypeApplication(umlClass, ComponentType.class)!= null){ - ResourceNotification.showError("Selection not valid: ComponentType"); - return null; - } - } - - return umlClass; - } - -} +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.contracts.transformations.commands; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.ITreeSelection; +import org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.internal.treeproxy.EObjectTreeElement; +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.FileDialog; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.ISelectionService; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.handlers.HandlerUtil; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Package; +import org.polarsys.chess.chessmlprofile.ComponentModel.ComponentType; +import org.polarsys.chess.contracts.transformations.main.GenerateErrorModel; +import org.polarsys.chess.core.notifications.ResourceNotification; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.core.views.ViewUtils; + +public class ExportSmv extends AbstractHandler{ + + public Object execute(ExecutionEvent event) throws ExecutionException { + + IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); + final Shell activeShell = window.getShell(); + + final Class selected = getSelection(window); + if(selected != null){ + + FileDialog dialog = new FileDialog(activeShell,SWT.SAVE); + dialog.setFilterNames(new String[] { "SMV" }); + dialog.setFilterExtensions(new String[] { "*.smv" }); + + String dir = dialog.open(); + if(dir != null){ + final File targetDir = (new File(dialog.getFilterPath())); + + String systemQN = selected.getQualifiedName(); + final List<String> args = new ArrayList<String>(); + args.add(systemQN); + String systemName = systemQN.substring(systemQN.lastIndexOf("::")+2); + args.add(systemName); + args.add(dialog.getFileName().replaceFirst(".smv", "")); + + Job job = new Job("Exporting to SMV"){ + + @Override + protected IStatus run(IProgressMonitor monitor) { + + monitor.beginTask("operation in progress ...", 3); + try{ + monitor.subTask("transforming..."); + + GenerateErrorModel gen = new GenerateErrorModel(selected, targetDir, args); + gen.doGenerate(null); + monitor.worked(1); + + }catch (IOException e) { + e.printStackTrace(); + } + monitor.done(); + if (monitor.isCanceled()) + return Status.CANCEL_STATUS; + return Status.OK_STATUS; + } + }; + + job.setUser(true); + job.setPriority(Job.SHORT); + job.schedule(); + }else{ + return null; + } + } + ResourceNotification.showOk("Element exported correctly"); + return null; + + } + + private Class getSelection(IWorkbenchWindow window ) { + ISelectionService selectionService = window.getSelectionService(); + ISelection selectionX = selectionService.getSelection(); + if (!(selectionX instanceof ITreeSelection)){ + ResourceNotification.showOk("Selection not valid: select a single resource on the ModelExplorer"); + return null; + } + ITreeSelection treesel = (ITreeSelection)selectionX; + if (treesel.getPaths().length == 0 || treesel.getPaths().length > 1){ + ResourceNotification.showError("Selection not valid: select a single resource on the ModelExplorer"); + return null; + } + + Object obj = treesel.getFirstElement(); + if (!(obj instanceof EObjectTreeElement)){ + ResourceNotification.showError("Selection not valid: select a single resource on the ModelExplorer"); + } + EObject eobj = ((EObjectTreeElement) obj).getEObject(); + final Package view = ViewUtils.getView(eobj); + + // final Model umlModel = view.getModel(); + final Class umlClass = (Class) eobj; + + if (!ViewUtils.isDesignView(view, CHESSProfileManager.SYSTEM_VIEW) && + !ViewUtils.isDesignView(view, CHESSProfileManager.COMPONENT_VIEW)) { + ResourceNotification.showError("Selection not valid: please select a resource of the SystemView or of the ComponentView"); + return null; + } + + if (ViewUtils.isDesignView(view, CHESSProfileManager.COMPONENT_VIEW)){ + if (UMLUtils.getStereotypeApplication(umlClass, ComponentType.class)!= null){ + ResourceNotification.showError("Selection not valid: ComponentType"); + return null; + } + } + + return umlClass; + } + +} diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/AllTests.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/AllTests.java index a7be1d0bc..15adac33a 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/AllTests.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/AllTests.java @@ -1,14 +1,21 @@ -package org.polarsys.chess.contracts.verificationService.test.runtime.tests; - - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; - -@RunWith(Suite.class) -@SuiteClasses({ - TestBasicOperations.class, TestBasicOperationsHeadless.class, TestSafetyAnalysisOperations.class, TestVAndVOperations.class -,TestVandVOperationsOSLC.class -}) -public class AllTests { -} +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.contracts.verificationService.test.runtime.tests; + + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + +@RunWith(Suite.class) +@SuiteClasses({ + TestBasicOperations.class, TestBasicOperationsHeadless.class, TestSafetyAnalysisOperations.class, TestVAndVOperations.class +,TestVandVOperationsOSLC.class +}) +public class AllTests { +} diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperations.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperations.java index 322096c82..95dc05443 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperations.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperations.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.tests; import java.io.File; diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperationsHeadless.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperationsHeadless.java index ad2157464..c1e38288d 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperationsHeadless.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestBasicOperationsHeadless.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.tests; import java.io.File; diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestSafetyAnalysisOperations.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestSafetyAnalysisOperations.java index 42d7f7db8..015c8bc1a 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestSafetyAnalysisOperations.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestSafetyAnalysisOperations.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.tests; import java.io.File; diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVAndVOperations.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVAndVOperations.java index 6c5e9810e..ad3b2a898 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVAndVOperations.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVAndVOperations.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.tests; import java.io.File; diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java index 93d673a0d..3e3f0d2fe 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.tests; import org.eclipse.lyo.client.oslc.OSLCConstants; diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestResultsUtil.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestResultsUtil.java index 1d0a530a2..f5ba6db31 100644 --- a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestResultsUtil.java +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/util/TestResultsUtil.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 Fondazione Bruno Kessler. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.contracts.verificationService.test.runtime.util; import java.io.BufferedReader; -- GitLab From 24d1487390f24d84930b72e7ad7eef9a37ab750d Mon Sep 17 00:00:00 2001 From: Alberto Debiasi <adebiasi@fbk.eu> Date: Wed, 13 May 2020 17:40:55 +0200 Subject: [PATCH 5/5] Add missing headers with ELP 2.0 license. Change-Id: Ic79abc870bf93096fa9eb07d138ac7d2c2d6c647 --- .../src/org/polarsys/chess/cdo/Activator.java | 115 +- .../chess/cdo/dialogs/CDOExportDialog.java | 363 +- .../chess/cdo/dialogs/CDOImportDialog.java | 391 +- .../chess/cdo/dialogs/utils/DialogUtil.java | 93 +- .../chess/cdo/handlers/CDOExportHandler.java | 161 +- .../chess/cdo/handlers/CDOImportHandler.java | 219 +- .../chess/cdo/pages/NewCHESSModelPage.java | 971 ++-- .../CHESSCDONewModelStorageProvider.java | 515 +- .../CHESSProjectListLabelProvider.java | 49 +- .../chess/codegen/ada/util/AdaGenUtil.java | 51 +- .../src/javax/xml/bind/EmptyClass.java | 7 + .../core/constraint/PreferenceProperties.java | 33 +- .../core/extensionpoint/IAddProfile.java | 59 +- .../extensionpoint/AddProfileHandler.java | 289 +- .../util/InternalCHESSProjectSupport.java | 429 +- .../internal/util/InternalConsoleUtil.java | 159 +- .../ITransformationExecutor.java | 57 +- .../chess/core/util/EndToEndResultData.java | 67 +- .../util/commands/InitCHESSModelCommand.java | 145 +- .../chess/core/util/uml/ModelError.java | 67 +- .../chess/core/util/uml/ValueNFP.java | 55 +- .../diagramsCreator/utils/DiagramUtils.java | 7 + .../polarsys/chess/multicore/Activator.java | 145 +- .../ReferenceSelectorNoDoubleClick.java | 437 +- .../AssignComponents2CoresCommand.java | 707 +-- .../commands/AssignTasks2CoresCommand.java | 783 +-- .../GenerateTask2CoreAssignmentsCommand.java | 1119 ++--- ...teTask2CoreAssignmentsUsingRUNCommand.java | 79 +- .../chess/multicore/commands/package.html | 9 +- .../multicore/dialogs/CoreSelectorDialog.java | 1211 ++--- .../dialogs/SystemSelectionDialog.java | 315 +- .../chess/multicore/dialogs/package.html | 9 +- .../multicore/model/AbstractCommand.java | 191 +- .../chess/multicore/model/CHCore.java | 257 +- .../chess/multicore/model/CHTask.java | 305 +- .../chess/multicore/model/SupertaskInfo.java | 215 +- .../chess/multicore/model/package.html | 9 +- .../org/polarsys/chess/multicore/package.html | 9 +- .../chess/multicore/partitioning/Bin.java | 207 +- .../multicore/partitioning/BinPacker.java | 77 +- .../partitioning/BinPackerFactory.java | 357 +- .../multicore/partitioning/Heuristic.java | 61 +- .../multicore/partitioning/RUNReduction.java | 169 +- .../chess/multicore/partitioning/Task.java | 397 +- .../partitioning/WorstFitBinPacker.java | 443 +- .../chess/multicore/partitioning/package.html | 9 +- .../chess/multicore/utils/GeneratorUtils.java | 447 +- .../chess/multicore/utils/InstanceQuery.java | 763 +-- .../chess/multicore/utils/QueryUtils.java | 4439 +++++++++-------- .../chess/multicore/utils/VSLUtils.java | 207 +- .../chess/multicore/utils/package.html | 9 +- .../util/ChessGenericDiagnostician.java | 109 +- .../command/util/ChessValidatorAdapter.java | 291 +- .../validator/messages/messages.properties | 35 +- .../WorkspaceNewModelStorageProvider.java | 353 +- 55 files changed, 9430 insertions(+), 9045 deletions(-) diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/Activator.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/Activator.java index 843ee94d6..623b5a5cc 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/Activator.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/Activator.java @@ -1,54 +1,61 @@ -package org.polarsys.chess.cdo; - -import org.eclipse.papyrus.infra.core.log.LogHelper; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.polarsys.chess.cdo"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** Logging helper */ - public static LogHelper log = new LogHelper(); - - /** - * The constructor - */ - public Activator() { - super(); - } - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - - // register the log helper - log.setPlugin(plugin); - - } - - @Override - public void stop(BundleContext context) throws Exception { - log = null; - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo; + +import org.eclipse.papyrus.infra.core.log.LogHelper; +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.polarsys.chess.cdo"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** Logging helper */ + public static LogHelper log = new LogHelper(); + + /** + * The constructor + */ + public Activator() { + super(); + } + + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + + // register the log helper + log.setPlugin(plugin); + + } + + @Override + public void stop(BundleContext context) throws Exception { + log = null; + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOExportDialog.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOExportDialog.java index 15fa5de59..6cc18d376 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOExportDialog.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOExportDialog.java @@ -1,178 +1,185 @@ -package org.polarsys.chess.cdo.dialogs; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.emf.cdo.dawn.preferences.PreferenceConstants; -import org.eclipse.emf.cdo.dawn.util.connection.CDOConnectionUtil; -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.session.CDOSession; -import org.eclipse.emf.cdo.transaction.CDOTransaction; -import org.eclipse.emf.cdo.view.CDOView; -import org.eclipse.jface.dialogs.IMessageProvider; -import org.eclipse.jface.dialogs.TitleAreaDialog; -import org.eclipse.jface.viewers.ArrayContentProvider; -import org.eclipse.jface.viewers.ComboViewer; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.Viewer; -import org.eclipse.jface.viewers.ViewerComparator; -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.polarsys.chess.cdo.dialogs.utils.DialogUtil; -import org.polarsys.chess.cdo.providers.CDOResourceListLabelProvider; -import org.polarsys.chess.cdo.providers.CHESSProjectListLabelProvider; - -public class CDOExportDialog extends TitleAreaDialog { - - private static final String CHESS_NATURE = "org.polarsys.chess.CHESSNature"; - private ComboViewer chessModelsCombo; - private ComboViewer cdoFoldersCombo; - private CDOView view; - private CDOTransaction transaction; - - private IProject selectedCHESSProject; - private CDOResourceFolder selectedCDOFolder; - - - public CDOExportDialog(Shell shell) throws Exception{ - super(shell); - CDOConnectionUtil.instance.init( - //TODO These three lines should be kept if the preference page is available - PreferenceConstants.getRepositoryName(), - PreferenceConstants.getProtocol(), - PreferenceConstants.getServerName() -// "repo", -// "tcp", -// "localhost" - ); - CDOSession session = CDOConnectionUtil.instance.openSession(); - transaction = CDOConnectionUtil.instance.openTransaction(session); - view = CDOConnectionUtil.instance.openView(session); - } - - - @Override - public void create() { - setHelpAvailable(false); - super.create(); - setTitle("Export CHESS project to CDO"); - setMessage("Select CHESS project and CDO folder and click OK to perform the export", IMessageProvider.INFORMATION); - } - - @Override - protected Control createDialogArea(Composite parent) { - parent.setLayout(new GridLayout(2, false)); - - Label chessModelsLabel = new Label(parent, SWT.NONE); - chessModelsLabel.setText("Select a CHESS project: "); - - chessModelsCombo = new ComboViewer(parent, SWT.NONE); - chessModelsCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); - - chessModelsCombo.setContentProvider(new ArrayContentProvider()); - chessModelsCombo.setLabelProvider(new CHESSProjectListLabelProvider()); - - - Label cdoFoldersLabel = new Label(parent, SWT.NONE); - cdoFoldersLabel.setText("Select the target CDO Folder: "); - - cdoFoldersCombo = new ComboViewer(parent, SWT.NONE); - cdoFoldersCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); - - cdoFoldersCombo.setContentProvider(new ArrayContentProvider()); - cdoFoldersCombo.setLabelProvider(new CDOResourceListLabelProvider()); - - addCHESSModelsFromWorkspace(); - addCDOFoldersFromRepository(); - - return super.createDialogArea(parent); - - } - - private void addCDOFoldersFromRepository() { - - List<CDOResourceFolder> folderList = DialogUtil.getAllFolders(view); - - cdoFoldersCombo.setInput(folderList.toArray()); - cdoFoldersCombo.setComparator(new ViewerComparator() { - public int compare( - Viewer viewer, Object c1, Object c2) { - return ((CDOResourceFolder) c1).getPath().compareToIgnoreCase(((CDOResourceFolder) c2).getPath()); - } - }); - } - - - private void addCHESSModelsFromWorkspace() { - List<IProject> chessProjects = new ArrayList<>(); - IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects(); - for(IProject project : projects){ - try { - if(project.isOpen() && project.hasNature(CHESS_NATURE)){ - chessProjects.add(project); - } - } catch (CoreException e) { - e.printStackTrace(); - } - } - chessModelsCombo.setInput(chessProjects.toArray()); - chessModelsCombo.setComparator(new ViewerComparator() { - public int compare( - Viewer viewer, Object c1, Object c2) { - return ((IProject) c1).getName().compareToIgnoreCase(((IProject) c2).getName()); - } - }); - } - - @Override - protected boolean isResizable() { - return true; - } - - @Override - protected void okPressed() { - IProject chessProject = (IProject)((IStructuredSelection)chessModelsCombo.getSelection()).getFirstElement(); - CDOResourceFolder cdoFolder = (CDOResourceFolder)((IStructuredSelection)cdoFoldersCombo.getSelection()).getFirstElement(); - if(chessProject == null || cdoFolder == null){ - setMessage("Please select CHESS model and CDO Folder!", IMessageProvider.ERROR); - }else{ - setSelectedCHESSProject(chessProject); - setSelectedCDOFolder(cdoFolder); - super.okPressed(); - } - } - - - public IProject getSelectedCHESSProject() { - return selectedCHESSProject; - } - - - public void setSelectedCHESSProject(IProject selectedCHESSProject) { - this.selectedCHESSProject = selectedCHESSProject; - } - - - public CDOResourceFolder getSelectedCDOFolder() { - return selectedCDOFolder; - } - - - public void setSelectedCDOFolder(CDOResourceFolder selectedCDOFolder) { - this.selectedCDOFolder = selectedCDOFolder; - } - - - public CDOTransaction getTransaction() { - return transaction; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.dialogs; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.emf.cdo.dawn.preferences.PreferenceConstants; +import org.eclipse.emf.cdo.dawn.util.connection.CDOConnectionUtil; +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.session.CDOSession; +import org.eclipse.emf.cdo.transaction.CDOTransaction; +import org.eclipse.emf.cdo.view.CDOView; +import org.eclipse.jface.dialogs.IMessageProvider; +import org.eclipse.jface.dialogs.TitleAreaDialog; +import org.eclipse.jface.viewers.ArrayContentProvider; +import org.eclipse.jface.viewers.ComboViewer; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.Viewer; +import org.eclipse.jface.viewers.ViewerComparator; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.polarsys.chess.cdo.dialogs.utils.DialogUtil; +import org.polarsys.chess.cdo.providers.CDOResourceListLabelProvider; +import org.polarsys.chess.cdo.providers.CHESSProjectListLabelProvider; + +public class CDOExportDialog extends TitleAreaDialog { + + private static final String CHESS_NATURE = "org.polarsys.chess.CHESSNature"; + private ComboViewer chessModelsCombo; + private ComboViewer cdoFoldersCombo; + private CDOView view; + private CDOTransaction transaction; + + private IProject selectedCHESSProject; + private CDOResourceFolder selectedCDOFolder; + + + public CDOExportDialog(Shell shell) throws Exception{ + super(shell); + CDOConnectionUtil.instance.init( + //TODO These three lines should be kept if the preference page is available + PreferenceConstants.getRepositoryName(), + PreferenceConstants.getProtocol(), + PreferenceConstants.getServerName() +// "repo", +// "tcp", +// "localhost" + ); + CDOSession session = CDOConnectionUtil.instance.openSession(); + transaction = CDOConnectionUtil.instance.openTransaction(session); + view = CDOConnectionUtil.instance.openView(session); + } + + + @Override + public void create() { + setHelpAvailable(false); + super.create(); + setTitle("Export CHESS project to CDO"); + setMessage("Select CHESS project and CDO folder and click OK to perform the export", IMessageProvider.INFORMATION); + } + + @Override + protected Control createDialogArea(Composite parent) { + parent.setLayout(new GridLayout(2, false)); + + Label chessModelsLabel = new Label(parent, SWT.NONE); + chessModelsLabel.setText("Select a CHESS project: "); + + chessModelsCombo = new ComboViewer(parent, SWT.NONE); + chessModelsCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); + + chessModelsCombo.setContentProvider(new ArrayContentProvider()); + chessModelsCombo.setLabelProvider(new CHESSProjectListLabelProvider()); + + + Label cdoFoldersLabel = new Label(parent, SWT.NONE); + cdoFoldersLabel.setText("Select the target CDO Folder: "); + + cdoFoldersCombo = new ComboViewer(parent, SWT.NONE); + cdoFoldersCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); + + cdoFoldersCombo.setContentProvider(new ArrayContentProvider()); + cdoFoldersCombo.setLabelProvider(new CDOResourceListLabelProvider()); + + addCHESSModelsFromWorkspace(); + addCDOFoldersFromRepository(); + + return super.createDialogArea(parent); + + } + + private void addCDOFoldersFromRepository() { + + List<CDOResourceFolder> folderList = DialogUtil.getAllFolders(view); + + cdoFoldersCombo.setInput(folderList.toArray()); + cdoFoldersCombo.setComparator(new ViewerComparator() { + public int compare( + Viewer viewer, Object c1, Object c2) { + return ((CDOResourceFolder) c1).getPath().compareToIgnoreCase(((CDOResourceFolder) c2).getPath()); + } + }); + } + + + private void addCHESSModelsFromWorkspace() { + List<IProject> chessProjects = new ArrayList<>(); + IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects(); + for(IProject project : projects){ + try { + if(project.isOpen() && project.hasNature(CHESS_NATURE)){ + chessProjects.add(project); + } + } catch (CoreException e) { + e.printStackTrace(); + } + } + chessModelsCombo.setInput(chessProjects.toArray()); + chessModelsCombo.setComparator(new ViewerComparator() { + public int compare( + Viewer viewer, Object c1, Object c2) { + return ((IProject) c1).getName().compareToIgnoreCase(((IProject) c2).getName()); + } + }); + } + + @Override + protected boolean isResizable() { + return true; + } + + @Override + protected void okPressed() { + IProject chessProject = (IProject)((IStructuredSelection)chessModelsCombo.getSelection()).getFirstElement(); + CDOResourceFolder cdoFolder = (CDOResourceFolder)((IStructuredSelection)cdoFoldersCombo.getSelection()).getFirstElement(); + if(chessProject == null || cdoFolder == null){ + setMessage("Please select CHESS model and CDO Folder!", IMessageProvider.ERROR); + }else{ + setSelectedCHESSProject(chessProject); + setSelectedCDOFolder(cdoFolder); + super.okPressed(); + } + } + + + public IProject getSelectedCHESSProject() { + return selectedCHESSProject; + } + + + public void setSelectedCHESSProject(IProject selectedCHESSProject) { + this.selectedCHESSProject = selectedCHESSProject; + } + + + public CDOResourceFolder getSelectedCDOFolder() { + return selectedCDOFolder; + } + + + public void setSelectedCDOFolder(CDOResourceFolder selectedCDOFolder) { + this.selectedCDOFolder = selectedCDOFolder; + } + + + public CDOTransaction getTransaction() { + return transaction; + } + +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOImportDialog.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOImportDialog.java index c6993cf34..06467f8c8 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOImportDialog.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/CDOImportDialog.java @@ -1,192 +1,199 @@ -package org.polarsys.chess.cdo.dialogs; - -import java.io.ByteArrayOutputStream; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.cdo.common.lob.CDOBlob; -import org.eclipse.emf.cdo.dawn.preferences.PreferenceConstants; -import org.eclipse.emf.cdo.dawn.util.connection.CDOConnectionUtil; -import org.eclipse.emf.cdo.eresource.CDOBinaryResource; -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.eresource.CDOResourceNode; -import org.eclipse.emf.cdo.session.CDOSession; -import org.eclipse.emf.cdo.transaction.CDOTransaction; -import org.eclipse.emf.cdo.view.CDOView; -import org.eclipse.emf.common.util.EList; -import org.eclipse.jface.dialogs.IMessageProvider; -import org.eclipse.jface.dialogs.TitleAreaDialog; -import org.eclipse.jface.viewers.ArrayContentProvider; -import org.eclipse.jface.viewers.ComboViewer; -import org.eclipse.jface.viewers.ISelectionChangedListener; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.SelectionChangedEvent; -import org.eclipse.jface.viewers.Viewer; -import org.eclipse.jface.viewers.ViewerComparator; -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.swt.widgets.Text; -import org.polarsys.chess.cdo.dialogs.utils.DialogUtil; -import org.polarsys.chess.cdo.providers.CDOResourceListLabelProvider; - -public class CDOImportDialog extends TitleAreaDialog { - - private CDOView view; - private CDOTransaction transaction; - private ComboViewer cdoCHESSProjectsCombo; - private Text projectNameText; - - private String newProjectName; - private CDOResourceFolder selectedCHESSProjectCDO; - - public CDOImportDialog(Shell shell) { - super(shell); - CDOConnectionUtil.instance.init( - //TODO These three lines should be kept if the preference page is available - PreferenceConstants.getRepositoryName(), - PreferenceConstants.getProtocol(), - PreferenceConstants.getServerName() -// "repo", -// "tcp", -// "localhost" - ); - CDOSession session = CDOConnectionUtil.instance.openSession(); - transaction = CDOConnectionUtil.instance.openTransaction(session); - view = CDOConnectionUtil.instance.openView(session); - } - - @Override - public void create() { - setHelpAvailable(false); - super.create(); - setTitle("Import CHESS project from CDO"); - setMessage("Select a CHESS project from the CDO repository. Enter the project name and click OK to perform the import", IMessageProvider.INFORMATION); - } - - @Override - protected Control createDialogArea(Composite parent) { - parent.setLayout(new GridLayout(2, false)); - - Label chessModelsLabel = new Label(parent, SWT.NONE); - chessModelsLabel.setText("Select a CHESS project: "); - - cdoCHESSProjectsCombo = new ComboViewer(parent, SWT.NONE); - cdoCHESSProjectsCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); - - cdoCHESSProjectsCombo.setContentProvider(new ArrayContentProvider()); - cdoCHESSProjectsCombo.setLabelProvider(new CDOResourceListLabelProvider()); - ISelectionChangedListener listener = new ISelectionChangedListener(){ - - @Override - public void selectionChanged(SelectionChangedEvent event) { - String text = cdoCHESSProjectsCombo.getCombo().getText(); - text = text.substring(text.lastIndexOf(File.separator)+1); - projectNameText.setText(text); - } - }; - - cdoCHESSProjectsCombo.addSelectionChangedListener(listener); - - Label cdoFoldersLabel = new Label(parent, SWT.NONE); - cdoFoldersLabel.setText("Enter the Project Name: "); - projectNameText = new Text(parent, SWT.BORDER); - projectNameText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); - projectNameText.setText(""); - - addCHESSProjectsFromCDORepository(); - - return super.createDialogArea(parent); - } - - private void addCHESSProjectsFromCDORepository() { - List<CDOResourceFolder> folderList = DialogUtil.getAllFolders(view); - List<CDOResourceFolder> chessProjectsCDO = new ArrayList<>(); - - for(CDOResourceFolder folder : folderList){ -// System.out.println(folder.getName()); - EList<CDOResourceNode> nodes = folder.getNodes(); - for(CDOResourceNode node : nodes){ -// System.out.println("--> " + node.toString()); - if(node instanceof CDOBinaryResource && node.getName().equals(".project")){ - CDOBinaryResource projectRes = (CDOBinaryResource) node; - CDOBlob contents = projectRes.getContents(); -// System.out.println("----> " + contents.toString()); - if(contents != null){ - try { - InputStream is = contents.getContents(); - ByteArrayOutputStream result = new ByteArrayOutputStream(); - byte[] buffer = new byte[(int) contents.getSize()]; - int length; - while ((length = is.read(buffer)) != -1) { - result.write(buffer, 0, length); - } - String contentsAsString = result.toString("UTF-8"); - // System.out.println("------------> " + contentsAsString); - if (contentsAsString.contains("org.polarsys.chess.CHESSNature")){ - chessProjectsCDO.add(folder); - } - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - } - } - } - } - - cdoCHESSProjectsCombo.setInput(chessProjectsCDO.toArray()); - cdoCHESSProjectsCombo.setComparator(new ViewerComparator() { - public int compare( - Viewer viewer, Object c1, Object c2) { - return ((CDOResourceFolder) c1).getPath().compareToIgnoreCase(((CDOResourceFolder) c2).getPath()); - } - }); - } - - @Override - protected boolean isResizable() { - return true; - } - - @Override - protected void okPressed() { - CDOResourceFolder cdoCHESSFolder = (CDOResourceFolder)((IStructuredSelection)cdoCHESSProjectsCombo.getSelection()).getFirstElement(); - String projectName = projectNameText.getText(); - if(cdoCHESSFolder == null || projectName == null || projectName.isEmpty()){ - setMessage("Please select CHESS project (from CDO) and enter the name of the new project!", IMessageProvider.ERROR); - }else{ - setNewProjectName(projectName); - setSelectedCHESSProjectCDO(cdoCHESSFolder); - super.okPressed(); - } - } - - public CDOResourceFolder getSelectedCHESSProjectCDO() { - return selectedCHESSProjectCDO; - } - - public void setSelectedCHESSProjectCDO(CDOResourceFolder selectedCHESSProjectCDO) { - this.selectedCHESSProjectCDO = selectedCHESSProjectCDO; - } - - public String getNewProjectName() { - return newProjectName; - } - - public void setNewProjectName(String newProjectName) { - this.newProjectName = newProjectName; - } - - public CDOTransaction getTransaction() { - return transaction; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.dialogs; + +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.cdo.common.lob.CDOBlob; +import org.eclipse.emf.cdo.dawn.preferences.PreferenceConstants; +import org.eclipse.emf.cdo.dawn.util.connection.CDOConnectionUtil; +import org.eclipse.emf.cdo.eresource.CDOBinaryResource; +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.eresource.CDOResourceNode; +import org.eclipse.emf.cdo.session.CDOSession; +import org.eclipse.emf.cdo.transaction.CDOTransaction; +import org.eclipse.emf.cdo.view.CDOView; +import org.eclipse.emf.common.util.EList; +import org.eclipse.jface.dialogs.IMessageProvider; +import org.eclipse.jface.dialogs.TitleAreaDialog; +import org.eclipse.jface.viewers.ArrayContentProvider; +import org.eclipse.jface.viewers.ComboViewer; +import org.eclipse.jface.viewers.ISelectionChangedListener; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.SelectionChangedEvent; +import org.eclipse.jface.viewers.Viewer; +import org.eclipse.jface.viewers.ViewerComparator; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; +import org.polarsys.chess.cdo.dialogs.utils.DialogUtil; +import org.polarsys.chess.cdo.providers.CDOResourceListLabelProvider; + +public class CDOImportDialog extends TitleAreaDialog { + + private CDOView view; + private CDOTransaction transaction; + private ComboViewer cdoCHESSProjectsCombo; + private Text projectNameText; + + private String newProjectName; + private CDOResourceFolder selectedCHESSProjectCDO; + + public CDOImportDialog(Shell shell) { + super(shell); + CDOConnectionUtil.instance.init( + //TODO These three lines should be kept if the preference page is available + PreferenceConstants.getRepositoryName(), + PreferenceConstants.getProtocol(), + PreferenceConstants.getServerName() +// "repo", +// "tcp", +// "localhost" + ); + CDOSession session = CDOConnectionUtil.instance.openSession(); + transaction = CDOConnectionUtil.instance.openTransaction(session); + view = CDOConnectionUtil.instance.openView(session); + } + + @Override + public void create() { + setHelpAvailable(false); + super.create(); + setTitle("Import CHESS project from CDO"); + setMessage("Select a CHESS project from the CDO repository. Enter the project name and click OK to perform the import", IMessageProvider.INFORMATION); + } + + @Override + protected Control createDialogArea(Composite parent) { + parent.setLayout(new GridLayout(2, false)); + + Label chessModelsLabel = new Label(parent, SWT.NONE); + chessModelsLabel.setText("Select a CHESS project: "); + + cdoCHESSProjectsCombo = new ComboViewer(parent, SWT.NONE); + cdoCHESSProjectsCombo.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); + + cdoCHESSProjectsCombo.setContentProvider(new ArrayContentProvider()); + cdoCHESSProjectsCombo.setLabelProvider(new CDOResourceListLabelProvider()); + ISelectionChangedListener listener = new ISelectionChangedListener(){ + + @Override + public void selectionChanged(SelectionChangedEvent event) { + String text = cdoCHESSProjectsCombo.getCombo().getText(); + text = text.substring(text.lastIndexOf(File.separator)+1); + projectNameText.setText(text); + } + }; + + cdoCHESSProjectsCombo.addSelectionChangedListener(listener); + + Label cdoFoldersLabel = new Label(parent, SWT.NONE); + cdoFoldersLabel.setText("Enter the Project Name: "); + projectNameText = new Text(parent, SWT.BORDER); + projectNameText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); + projectNameText.setText(""); + + addCHESSProjectsFromCDORepository(); + + return super.createDialogArea(parent); + } + + private void addCHESSProjectsFromCDORepository() { + List<CDOResourceFolder> folderList = DialogUtil.getAllFolders(view); + List<CDOResourceFolder> chessProjectsCDO = new ArrayList<>(); + + for(CDOResourceFolder folder : folderList){ +// System.out.println(folder.getName()); + EList<CDOResourceNode> nodes = folder.getNodes(); + for(CDOResourceNode node : nodes){ +// System.out.println("--> " + node.toString()); + if(node instanceof CDOBinaryResource && node.getName().equals(".project")){ + CDOBinaryResource projectRes = (CDOBinaryResource) node; + CDOBlob contents = projectRes.getContents(); +// System.out.println("----> " + contents.toString()); + if(contents != null){ + try { + InputStream is = contents.getContents(); + ByteArrayOutputStream result = new ByteArrayOutputStream(); + byte[] buffer = new byte[(int) contents.getSize()]; + int length; + while ((length = is.read(buffer)) != -1) { + result.write(buffer, 0, length); + } + String contentsAsString = result.toString("UTF-8"); + // System.out.println("------------> " + contentsAsString); + if (contentsAsString.contains("org.polarsys.chess.CHESSNature")){ + chessProjectsCDO.add(folder); + } + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } + } + } + + cdoCHESSProjectsCombo.setInput(chessProjectsCDO.toArray()); + cdoCHESSProjectsCombo.setComparator(new ViewerComparator() { + public int compare( + Viewer viewer, Object c1, Object c2) { + return ((CDOResourceFolder) c1).getPath().compareToIgnoreCase(((CDOResourceFolder) c2).getPath()); + } + }); + } + + @Override + protected boolean isResizable() { + return true; + } + + @Override + protected void okPressed() { + CDOResourceFolder cdoCHESSFolder = (CDOResourceFolder)((IStructuredSelection)cdoCHESSProjectsCombo.getSelection()).getFirstElement(); + String projectName = projectNameText.getText(); + if(cdoCHESSFolder == null || projectName == null || projectName.isEmpty()){ + setMessage("Please select CHESS project (from CDO) and enter the name of the new project!", IMessageProvider.ERROR); + }else{ + setNewProjectName(projectName); + setSelectedCHESSProjectCDO(cdoCHESSFolder); + super.okPressed(); + } + } + + public CDOResourceFolder getSelectedCHESSProjectCDO() { + return selectedCHESSProjectCDO; + } + + public void setSelectedCHESSProjectCDO(CDOResourceFolder selectedCHESSProjectCDO) { + this.selectedCHESSProjectCDO = selectedCHESSProjectCDO; + } + + public String getNewProjectName() { + return newProjectName; + } + + public void setNewProjectName(String newProjectName) { + this.newProjectName = newProjectName; + } + + public CDOTransaction getTransaction() { + return transaction; + } + +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/utils/DialogUtil.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/utils/DialogUtil.java index 873123e22..8a1adfa86 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/utils/DialogUtil.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/dialogs/utils/DialogUtil.java @@ -1,43 +1,50 @@ -package org.polarsys.chess.cdo.dialogs.utils; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.eresource.CDOResourceNode; -import org.eclipse.emf.cdo.view.CDOView; -import org.eclipse.emf.common.util.EList; - -public class DialogUtil { - - public static List<CDOResourceFolder> getAllFolders(CDOView view) { - - List<CDOResourceFolder> folderList = new ArrayList<>(); - - CDOResourceNode[] cdoElements = view.getElements(); - for(CDOResourceNode cdoElem : cdoElements){ - if(cdoElem instanceof CDOResourceFolder){ - CDOResourceFolder cdoFolder = (CDOResourceFolder)cdoElem; - folderList.add(cdoFolder); - //check for subfolders - EList<CDOResourceNode> subNodes = cdoFolder.getNodes(); - folderList = getSubFolders(subNodes,folderList); - } - } - - return folderList; - } - - private static List<CDOResourceFolder> getSubFolders(EList<CDOResourceNode> nodes, List<CDOResourceFolder> folderList) { - for(CDOResourceNode cdoElem : nodes){ - if(cdoElem instanceof CDOResourceFolder){ - CDOResourceFolder cdoFolder = (CDOResourceFolder)cdoElem; - folderList.add(cdoFolder); - //check for subfolders - EList<CDOResourceNode> subNodes = cdoFolder.getNodes(); - folderList = getSubFolders(subNodes,folderList); - } - } - return folderList; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.dialogs.utils; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.eresource.CDOResourceNode; +import org.eclipse.emf.cdo.view.CDOView; +import org.eclipse.emf.common.util.EList; + +public class DialogUtil { + + public static List<CDOResourceFolder> getAllFolders(CDOView view) { + + List<CDOResourceFolder> folderList = new ArrayList<>(); + + CDOResourceNode[] cdoElements = view.getElements(); + for(CDOResourceNode cdoElem : cdoElements){ + if(cdoElem instanceof CDOResourceFolder){ + CDOResourceFolder cdoFolder = (CDOResourceFolder)cdoElem; + folderList.add(cdoFolder); + //check for subfolders + EList<CDOResourceNode> subNodes = cdoFolder.getNodes(); + folderList = getSubFolders(subNodes,folderList); + } + } + + return folderList; + } + + private static List<CDOResourceFolder> getSubFolders(EList<CDOResourceNode> nodes, List<CDOResourceFolder> folderList) { + for(CDOResourceNode cdoElem : nodes){ + if(cdoElem instanceof CDOResourceFolder){ + CDOResourceFolder cdoFolder = (CDOResourceFolder)cdoElem; + folderList.add(cdoFolder); + //check for subfolders + EList<CDOResourceNode> subNodes = cdoFolder.getNodes(); + folderList = getSubFolders(subNodes,folderList); + } + } + return folderList; + } +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOExportHandler.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOExportHandler.java index 5e7f5724b..326e46e35 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOExportHandler.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOExportHandler.java @@ -1,77 +1,84 @@ -package org.polarsys.chess.cdo.handlers; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.Path; -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.spi.transfer.FileSystemTransferSystem; -import org.eclipse.emf.cdo.transaction.CDOTransaction; -import org.eclipse.emf.cdo.transfer.CDOTransfer; -import org.eclipse.emf.cdo.transfer.CDOTransferElement; -import org.eclipse.emf.cdo.transfer.CDOTransferMapping; -import org.eclipse.emf.cdo.transfer.CDOTransferSystem; -import org.eclipse.emf.cdo.transfer.spi.repository.RepositoryTransferSystem; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.jface.window.Window; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.handlers.HandlerUtil; -import org.polarsys.chess.cdo.dialogs.CDOExportDialog; - -public class CDOExportHandler extends AbstractHandler { - - private String errorMsg = ""; - - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); - - if(window != null){ - Shell shell = window.getShell(); - - //Show a dialog with a list of all the CHESS projects in the workspace and - //and a list of the CDO folders (from the configured CDO repo). - //get the selected project and CDO folder and perform the copy from workspace to CDO. - CDOExportDialog dialog = null; - try{ - dialog = new CDOExportDialog(shell); - }catch (Exception e){ - MessageDialog.openError(shell, "Export CHESS Project to CDO", "Error: " + e.getMessage()); - } - - if(dialog != null && dialog.open() == Window.OK){ - CDOResourceFolder cdoFolder = dialog.getSelectedCDOFolder(); - IProject chessProject = dialog.getSelectedCHESSProject(); - if(cdoFolder != null && chessProject != null){ - CDOTransaction transaction = dialog.getTransaction(); - try{ - String filepath = chessProject.getLocation().toString(); - CDOTransferElement source = FileSystemTransferSystem.INSTANCE.getElement(new Path(filepath)); - - CDOTransferSystem target = new RepositoryTransferSystem(transaction); - CDOTransfer transfer = new CDOTransfer(source.getSystem(), target); - - CDOTransferMapping mapping = transfer.map(filepath, new NullProgressMonitor()); - mapping.setRelativePath(cdoFolder.getPath() + "/" + chessProject.getName()); - transfer.perform(); - - transaction.commit(); - transaction.close(); - } catch (Exception e) { - e.printStackTrace(); - errorMsg = e.getMessage(); - } - } - } - if(errorMsg != null && !errorMsg.isEmpty()){ - MessageDialog.openError(shell, "Export CHESS Project to CDO", "Error: " + errorMsg); - errorMsg = ""; - } - } - return null; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.handlers; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.spi.transfer.FileSystemTransferSystem; +import org.eclipse.emf.cdo.transaction.CDOTransaction; +import org.eclipse.emf.cdo.transfer.CDOTransfer; +import org.eclipse.emf.cdo.transfer.CDOTransferElement; +import org.eclipse.emf.cdo.transfer.CDOTransferMapping; +import org.eclipse.emf.cdo.transfer.CDOTransferSystem; +import org.eclipse.emf.cdo.transfer.spi.repository.RepositoryTransferSystem; +import org.eclipse.jface.dialogs.MessageDialog; +import org.eclipse.jface.window.Window; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.handlers.HandlerUtil; +import org.polarsys.chess.cdo.dialogs.CDOExportDialog; + +public class CDOExportHandler extends AbstractHandler { + + private String errorMsg = ""; + + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); + + if(window != null){ + Shell shell = window.getShell(); + + //Show a dialog with a list of all the CHESS projects in the workspace and + //and a list of the CDO folders (from the configured CDO repo). + //get the selected project and CDO folder and perform the copy from workspace to CDO. + CDOExportDialog dialog = null; + try{ + dialog = new CDOExportDialog(shell); + }catch (Exception e){ + MessageDialog.openError(shell, "Export CHESS Project to CDO", "Error: " + e.getMessage()); + } + + if(dialog != null && dialog.open() == Window.OK){ + CDOResourceFolder cdoFolder = dialog.getSelectedCDOFolder(); + IProject chessProject = dialog.getSelectedCHESSProject(); + if(cdoFolder != null && chessProject != null){ + CDOTransaction transaction = dialog.getTransaction(); + try{ + String filepath = chessProject.getLocation().toString(); + CDOTransferElement source = FileSystemTransferSystem.INSTANCE.getElement(new Path(filepath)); + + CDOTransferSystem target = new RepositoryTransferSystem(transaction); + CDOTransfer transfer = new CDOTransfer(source.getSystem(), target); + + CDOTransferMapping mapping = transfer.map(filepath, new NullProgressMonitor()); + mapping.setRelativePath(cdoFolder.getPath() + "/" + chessProject.getName()); + transfer.perform(); + + transaction.commit(); + transaction.close(); + } catch (Exception e) { + e.printStackTrace(); + errorMsg = e.getMessage(); + } + } + } + if(errorMsg != null && !errorMsg.isEmpty()){ + MessageDialog.openError(shell, "Export CHESS Project to CDO", "Error: " + errorMsg); + errorMsg = ""; + } + } + return null; + } + +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOImportHandler.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOImportHandler.java index c2f607e72..e2755a721 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOImportHandler.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/handlers/CDOImportHandler.java @@ -1,106 +1,113 @@ -package org.polarsys.chess.cdo.handlers; - -import java.io.File; -import java.net.URI; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.Path; -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.eresource.CDOResourceNode; -import org.eclipse.emf.cdo.spi.transfer.FileSystemTransferSystem; -import org.eclipse.emf.cdo.transaction.CDOTransaction; -import org.eclipse.emf.cdo.transfer.CDOTransfer; -import org.eclipse.emf.cdo.transfer.CDOTransferElement; -import org.eclipse.emf.cdo.transfer.CDOTransferMapping; -import org.eclipse.emf.cdo.transfer.CDOTransferSystem; -import org.eclipse.emf.cdo.transfer.spi.repository.RepositoryTransferSystem; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.jface.window.Window; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.handlers.HandlerUtil; -import org.polarsys.chess.cdo.dialogs.CDOImportDialog; -import org.polarsys.chess.core.util.CHESSProjectSupport; - -public class CDOImportHandler extends AbstractHandler { - - private String errorMsg = ""; - - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - - IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); - - if(window != null){ - Shell shell = window.getShell(); - - //Show a dialog with a list of all the CHESS projects in the configured CDO. - //get the selected CDO project and the entered name for the project (default same name?) - //perform the copy from CDO to workspace. - CDOImportDialog dialog = null; - try{ - dialog = new CDOImportDialog(shell); - }catch (Exception e){ - MessageDialog.openError(shell, "Import CHESS Project from CDO", "Error: " + e.getMessage()); - } - - if(dialog != null && dialog.open() == Window.OK){ - CDOResourceFolder chessProjectCDO = dialog.getSelectedCHESSProjectCDO(); - String projectName = dialog.getNewProjectName(); - if(chessProjectCDO != null && projectName != null){ - - //create new CHESS project (if not already there) - try{ - IProject chessProject = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); - if(chessProject == null || !chessProject.exists()){ - IPath workspaceLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation(); - URI location = URI.create(workspaceLocation + "/" + projectName); - chessProject=CHESSProjectSupport.createProject(projectName, null); - }else if(!chessProject.isOpen()){ - chessProject.open(new NullProgressMonitor()); - } - - CDOTransaction transaction = dialog.getTransaction(); - - String filepath = chessProject.getLocation().toString(); -// System.out.println(filepath.toString()); - //ugly workaround to get relative path -- TODO: will it ever work on windows as well? - filepath = filepath.substring(System.getProperty("user.home").length()+1); -// System.out.println(filepath.toString()); - - CDOTransferSystem source = new RepositoryTransferSystem(transaction); - CDOTransferElement target = FileSystemTransferSystem.INSTANCE.getElement(chessProject.getLocation()); - - CDOTransfer transfer = new CDOTransfer(source, target.getSystem()); - - for(CDOResourceNode node : chessProjectCDO.getNodes()){ - if(!node.getName().equals(".project")){ - CDOTransferMapping mapping = transfer.map(node.getPath(), new NullProgressMonitor()); - mapping.setRelativePath(filepath + File.separator + node.getName()); - transfer.perform(); - } - } - transaction.commit(); - transaction.close(); - - } catch (Exception e) { - e.printStackTrace(); - errorMsg = e.getMessage(); - } - } - } - if(errorMsg != null && !errorMsg.isEmpty()){ - MessageDialog.openError(shell, "Import CHESS Project from CDO", "Error: " + errorMsg); - errorMsg = ""; - } - } - return null; - - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.handlers; + +import java.io.File; +import java.net.URI; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.eresource.CDOResourceNode; +import org.eclipse.emf.cdo.spi.transfer.FileSystemTransferSystem; +import org.eclipse.emf.cdo.transaction.CDOTransaction; +import org.eclipse.emf.cdo.transfer.CDOTransfer; +import org.eclipse.emf.cdo.transfer.CDOTransferElement; +import org.eclipse.emf.cdo.transfer.CDOTransferMapping; +import org.eclipse.emf.cdo.transfer.CDOTransferSystem; +import org.eclipse.emf.cdo.transfer.spi.repository.RepositoryTransferSystem; +import org.eclipse.jface.dialogs.MessageDialog; +import org.eclipse.jface.window.Window; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.handlers.HandlerUtil; +import org.polarsys.chess.cdo.dialogs.CDOImportDialog; +import org.polarsys.chess.core.util.CHESSProjectSupport; + +public class CDOImportHandler extends AbstractHandler { + + private String errorMsg = ""; + + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + + IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event); + + if(window != null){ + Shell shell = window.getShell(); + + //Show a dialog with a list of all the CHESS projects in the configured CDO. + //get the selected CDO project and the entered name for the project (default same name?) + //perform the copy from CDO to workspace. + CDOImportDialog dialog = null; + try{ + dialog = new CDOImportDialog(shell); + }catch (Exception e){ + MessageDialog.openError(shell, "Import CHESS Project from CDO", "Error: " + e.getMessage()); + } + + if(dialog != null && dialog.open() == Window.OK){ + CDOResourceFolder chessProjectCDO = dialog.getSelectedCHESSProjectCDO(); + String projectName = dialog.getNewProjectName(); + if(chessProjectCDO != null && projectName != null){ + + //create new CHESS project (if not already there) + try{ + IProject chessProject = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); + if(chessProject == null || !chessProject.exists()){ + IPath workspaceLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation(); + URI location = URI.create(workspaceLocation + "/" + projectName); + chessProject=CHESSProjectSupport.createProject(projectName, null); + }else if(!chessProject.isOpen()){ + chessProject.open(new NullProgressMonitor()); + } + + CDOTransaction transaction = dialog.getTransaction(); + + String filepath = chessProject.getLocation().toString(); +// System.out.println(filepath.toString()); + //ugly workaround to get relative path -- TODO: will it ever work on windows as well? + filepath = filepath.substring(System.getProperty("user.home").length()+1); +// System.out.println(filepath.toString()); + + CDOTransferSystem source = new RepositoryTransferSystem(transaction); + CDOTransferElement target = FileSystemTransferSystem.INSTANCE.getElement(chessProject.getLocation()); + + CDOTransfer transfer = new CDOTransfer(source, target.getSystem()); + + for(CDOResourceNode node : chessProjectCDO.getNodes()){ + if(!node.getName().equals(".project")){ + CDOTransferMapping mapping = transfer.map(node.getPath(), new NullProgressMonitor()); + mapping.setRelativePath(filepath + File.separator + node.getName()); + transfer.perform(); + } + } + transaction.commit(); + transaction.close(); + + } catch (Exception e) { + e.printStackTrace(); + errorMsg = e.getMessage(); + } + } + } + if(errorMsg != null && !errorMsg.isEmpty()){ + MessageDialog.openError(shell, "Import CHESS Project from CDO", "Error: " + errorMsg); + errorMsg = ""; + } + } + return null; + + } +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/pages/NewCHESSModelPage.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/pages/NewCHESSModelPage.java index d285fbe65..8caafe548 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/pages/NewCHESSModelPage.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/pages/NewCHESSModelPage.java @@ -1,482 +1,489 @@ -package org.polarsys.chess.cdo.pages; - -import java.util.ArrayList; -import java.util.HashSet; -import java.util.List; -import java.util.Set; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.cdo.CDOElement; -import org.eclipse.emf.cdo.eresource.CDOResource; -import org.eclipse.emf.cdo.eresource.CDOResourceFolder; -import org.eclipse.emf.cdo.eresource.CDOResourceLeaf; -import org.eclipse.emf.cdo.eresource.CDOResourceNode; -import org.eclipse.emf.cdo.explorer.CDOExplorerUtil; -import org.eclipse.emf.cdo.explorer.checkouts.CDOCheckout; -import org.eclipse.emf.cdo.explorer.ui.checkouts.CDOCheckoutContentProvider; -import org.eclipse.emf.cdo.view.CDOView; -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.util.ECollections; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.jface.layout.GridDataFactory; -import org.eclipse.jface.viewers.ISelectionChangedListener; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.SelectionChangedEvent; -import org.eclipse.jface.viewers.StructuredSelection; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.jface.wizard.WizardPage; -import org.eclipse.osgi.util.NLS; -import org.eclipse.papyrus.uml.diagram.wizards.Activator; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Text; - -import com.google.common.base.Strings; -import com.google.common.eventbus.EventBus; - -/** - * This is the NewCHESSModelPage type. Enjoy. - */ -public class NewCHESSModelPage extends WizardPage { - - public static final String PAGE_ID = "NewCDOModel"; //$NON-NLS-1$ - - private String resourceType = "model"; - - private Text folderText; - - private TreeViewer folderViewer; - - private Text nameText; - - private boolean synchronizingFolderSelection; - - private Object selectedElement; - - private boolean selectedElementRevealed; - - private URI newModelResourceURI; - - private String folderRelativePath; - - private String projectName; - - public NewCHESSModelPage(IStructuredSelection selection, EventBus bus, String modelKindName) { - super(PAGE_ID); - - setTitle(NLS.bind("New CHESS Model", modelKindName)); - setDescription(NLS.bind("Create a new CHESS model", modelKindName)); - setSelection(selection); - - bus.register(this); - } - - @Override - public void createControl(Composite parentControl) { - Composite container = new Composite(parentControl, SWT.NONE); - GridDataFactory.fillDefaults().grab(true, true).applyTo(container); - container.setLayout(new GridLayout(2, false)); - - Label label = new Label(container, SWT.NONE); - label.setText("Enter or select the parent folder:"); - GridDataFactory.swtDefaults().span(2, 1).applyTo(label); - - folderText = new Text(container, SWT.BORDER); - GridDataFactory.fillDefaults().grab(true, false).span(2, 1).applyTo(folderText); - updateFolderText(); - - folderViewer = CDOCheckoutContentProvider.createTreeViewer(container); - folderViewer.getTree().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1)); - folderViewer.addSelectionChangedListener(new ISelectionChangedListener() { - @Override - public void selectionChanged(SelectionChangedEvent event) { - if (selectedElementRevealed) { - IStructuredSelection selection = (IStructuredSelection) event.getSelection(); - setSelection(selection); - } - - validatePage(); - } - }); - - new Label(container, SWT.NONE).setText("Resource name:"); - - nameText = new Text(container, SWT.BORDER); - GridDataFactory.fillDefaults().grab(true, false).applyTo(nameText); - nameText.setText(getUniqueName("di")); //$NON-NLS-1$ - - setControl(container); - - folderText.addModifyListener(new ModifyListener() { - - @Override - public void modifyText(ModifyEvent e) { - // TODO: set parent then revealParent() - validatePage(); - } - }); - - folderViewer.addSelectionChangedListener(new ISelectionChangedListener() { - - @Override - public void selectionChanged(SelectionChangedEvent event) { - IStructuredSelection selection = (IStructuredSelection) event.getSelection(); - setSelection(selection); - updateFolderText(); - validatePage(); - } - }); - - nameText.addModifyListener(new ModifyListener() { - - @Override - public void modifyText(ModifyEvent e) { - validatePage(); - } - }); - - parentControl.getShell().getDisplay().asyncExec(new Runnable() { - @Override - public void run() { - revealSelectedElement(); - validatePage(); - } - }); - } - - public String getNewResourceName() { - return (nameText == null) ? null : nameText.getText().trim(); - } - - public URI createNewModelResourceURI() { - return newModelResourceURI; - } - - public URI createSelectedElementURI() { - if (selectedElement instanceof CDOCheckout) { - CDOCheckout checkout = (CDOCheckout) selectedElement; - return checkout.getURI(); - } - - if (selectedElement instanceof CDOResourceNode) { - CDOResourceNode resourceNode = (CDOResourceNode) selectedElement; - return resourceNode.getURI(); - } - - return null; - } - - /** - * Diagram extension changed. - * - * @param newExtension - * the new extension - * @return result of validation of the new extension - */ - public IStatus diagramExtensionChanged(String newExtension) { - String currentExtension = getExtension(); - if (!newExtension.equals(currentExtension)) { - - String oldFileName = getNewResourceName(); - String base = oldFileName; - if (currentExtension != null) { - // take one off for the '.' - base = base.substring(0, base.length() - currentExtension.length() - 1); - } - String newFileName = getUniqueName(newExtension); - - setNewResourceName(newFileName); - - String message1 = org.eclipse.papyrus.uml.diagram.wizards.Messages.NewModelFilePage_new_diagram_category_needs_specific_extension; - String message2 = NLS.bind(org.eclipse.papyrus.uml.diagram.wizards.Messages.NewModelFilePage_diagram_file_was_renamed, oldFileName, newFileName); - String message = message1 + message2; - Status resultStatus = new Status(IStatus.INFO, Activator.PLUGIN_ID, message); - - String errorMessage = getErrorMessage(); - if (errorMessage != null) { - resultStatus = new Status(IStatus.ERROR, Activator.PLUGIN_ID, errorMessage); - } - return resultStatus; - } - return Status.OK_STATUS; - } - - protected void setNewResourceName(String newName) { - nameText.setText(newName.trim()); - } - - protected void validatePage() { - newModelResourceURI = null; - setMessage(null, NONE); - setPageComplete(true); - - String folder = folderText.getText().trim(); - if (Strings.isNullOrEmpty(folder)) { - setPageComplete(false); - return; - } - - String[] segments = getSegments(folder); - CDOCheckout checkout = CDOExplorerUtil.getCheckoutManager().getCheckoutByLabel(segments[0]); - if (checkout == null) { - setMessage(NLS.bind("The selected checkout does not exist.", segments[0]), ERROR); - setPageComplete(false); - return; - } - - CDOView view = checkout.getView(); - String path = ""; - SegmentType segmentType = SegmentType.FOLDER; // The checkout is treated like a folder. - - for (int i = 1; i < segments.length; i++) { - String segment = segments[i]; - path += "/"; - path += segment; - - segmentType = SegmentType.of(view, path); - if (segmentType == SegmentType.OTHER) { - setMessage("The specified folder cannot be created.", ERROR); - setPageComplete(false); - return; - } - } - - String name = getNewResourceName(); - if (Strings.isNullOrEmpty(name)) { - setMessage("The new model resource name is required.", ERROR); - setPageComplete(false); - return; - } - - if (segmentType != SegmentType.MISSING) { - String fullPath = path + "/" + name; - if (SegmentType.of(view, fullPath) != SegmentType.MISSING) { - setMessage(NLS.bind("The resource already exists.", fullPath), ERROR); - setPageComplete(false); - return; - } - } - //TODO work in progress!! - String folderName = name.substring(0, name.lastIndexOf(".")); - path = path.concat("/" + folderName.substring(0, 1).toUpperCase() + folderName.substring(1)); - - newModelResourceURI = checkout.createResourceURI(path).appendSegment(name); - folderRelativePath = path; - projectName = folderName; - - if (segmentType == SegmentType.MISSING) { - setMessage("The specified folder does not exist and will be created.", WARNING); - } - } - - private String[] getSegments(String folder) { - while (folder.startsWith("/")) { - folder = folder.substring(1); - } - - while (folder.endsWith("/")) { - folder = folder.substring(0, folder.length() - 1); - } - - return folder.split("/"); - } - - private String getExtension() { - String result = null; - String name = getNewResourceName(); - - if (name != null) { - // the proper extension is whatever follows the *last* '.', - // but for our purposes we need e.g. "profile.uml" to be - // an extension - int dot = name.indexOf('.'); - if (dot >= 0) { - result = name.substring(dot + 1); - } - } - - return result; - } - - private void setSelection(IStructuredSelection selection) { - selectedElement = null; - - if (!selection.isEmpty()) { - Object element = selection.getFirstElement(); - if (element instanceof CDOElement) { - element = ((CDOElement) element).getDelegate(); - } - - if (element instanceof CDOCheckout) { - selectedElement = element; - } else if (element instanceof CDOResourceLeaf) { - selectedElement = ((CDOResourceLeaf) element).getFolder(); - } else if (element instanceof CDOResourceFolder) { - selectedElement = (CDOResourceFolder) element; - } else if (element instanceof EObject) { - Resource resource = ((EObject) element).eResource(); - if (resource instanceof CDOResource) { - selectedElement = ((CDOResource) resource).getFolder(); - } - } - } - } - - private void updateFolderText() { - if (!synchronizingFolderSelection) { - synchronizingFolderSelection = true; - - try { - if (selectedElement == null) { - folderText.setText(""); //$NON-NLS-1$ - } else { - StringBuilder builder = new StringBuilder(); - for (Object node : getSelectedSegments()) { - builder.append('/'); - builder.append(CDOExplorerUtil.getName(node)); - } - - String path = builder.toString(); - folderText.setText(path); - } - } finally { - synchronizingFolderSelection = false; - } - } - } - - private void revealSelectedElement() { - if (selectedElement != null) { - List<Object> segments = getSelectedSegments(); - for (int i = 0; i < segments.size() - 1; i++) { - Object segment = segments.get(i); - folderViewer.setExpandedState(segment, true); - } - - selectedElementRevealed = true; - folderViewer.setSelection(new StructuredSelection(selectedElement), true); - } - } - - private List<Object> getSelectedSegments() { - List<Object> segments = new ArrayList<Object>(); - fillSegments(segments, selectedElement); - return segments; - } - - private void fillSegments(List<Object> segments, Object element) { - if (element instanceof CDOCheckout) { - segments.add(element); - return; - } - - if (element instanceof CDOResourceFolder) { - CDOResourceFolder folder = (CDOResourceFolder) element; - - Adapter adapter = EcoreUtil.getAdapter(folder.eAdapters(), CDOCheckout.class); - if (adapter != null) { - fillSegments(segments, adapter); - } else { - Object parent = folder.getFolder(); - if (parent == null) { - parent = EcoreUtil.getAdapter(folder.cdoView().getRootResource().eAdapters(), CDOCheckout.class); - } - - fillSegments(segments, parent); - } - } - - segments.add(element); - } - - private EList<EObject> getChildrenOfSelectedElement() { - if (selectedElement instanceof CDOCheckout) { - CDOCheckout checkout = (CDOCheckout) selectedElement; - return checkout.getRootObject().eContents(); - } - - if (selectedElement instanceof CDOResourceFolder) { - CDOResourceFolder folder = (CDOResourceFolder) selectedElement; - return folder.eContents(); - } - - return ECollections.emptyEList(); - } - - private String getUniqueName(String extension) { - Set<String> names = new HashSet<String>(); - for (EObject eObject : getChildrenOfSelectedElement()) { - if (eObject instanceof CDOResourceNode) { - CDOResourceNode node = (CDOResourceNode) eObject; - String name = node.getName(); - if (name.startsWith(resourceType)) { - names.add(name); - } - } - } - - for (int i = 1; i < Integer.MAX_VALUE; i++) { - String name = resourceType + (i > 1 ? i : "") + "." + extension; - if (!names.contains(name)) { - return name; - } - } - - throw new IllegalStateException("Too many children"); - } - - /** - * @author Stepper - */ - private enum SegmentType { - MISSING, FOLDER, OTHER; - - public static SegmentType of(CDOView view, String path) { - CDOResourceNode resourceNode; - try { - resourceNode = view.getResourceNode(path); - if (resourceNode != null) { - if (resourceNode instanceof CDOResourceFolder) { - return SegmentType.FOLDER; - } - - return SegmentType.OTHER; - } - } catch (Exception ex) { - //$FALL-THROUGH$ - } - - return SegmentType.MISSING; - } - - private static SegmentType of(CDOResourceNode resourceNode) { - if (resourceNode == null) { - return SegmentType.MISSING; - } - - if (resourceNode instanceof CDOResourceFolder) { - return SegmentType.FOLDER; - } - - return SegmentType.OTHER; - } - } - - public String getFolderRelativePath() { - return folderRelativePath; - } - - public String getProjectName() { - return projectName; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.pages; + +import java.util.ArrayList; +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.cdo.CDOElement; +import org.eclipse.emf.cdo.eresource.CDOResource; +import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.eresource.CDOResourceLeaf; +import org.eclipse.emf.cdo.eresource.CDOResourceNode; +import org.eclipse.emf.cdo.explorer.CDOExplorerUtil; +import org.eclipse.emf.cdo.explorer.checkouts.CDOCheckout; +import org.eclipse.emf.cdo.explorer.ui.checkouts.CDOCheckoutContentProvider; +import org.eclipse.emf.cdo.view.CDOView; +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.util.ECollections; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.jface.layout.GridDataFactory; +import org.eclipse.jface.viewers.ISelectionChangedListener; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.SelectionChangedEvent; +import org.eclipse.jface.viewers.StructuredSelection; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.jface.wizard.WizardPage; +import org.eclipse.osgi.util.NLS; +import org.eclipse.papyrus.uml.diagram.wizards.Activator; +import org.eclipse.swt.SWT; +import org.eclipse.swt.events.ModifyEvent; +import org.eclipse.swt.events.ModifyListener; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Text; + +import com.google.common.base.Strings; +import com.google.common.eventbus.EventBus; + +/** + * This is the NewCHESSModelPage type. Enjoy. + */ +public class NewCHESSModelPage extends WizardPage { + + public static final String PAGE_ID = "NewCDOModel"; //$NON-NLS-1$ + + private String resourceType = "model"; + + private Text folderText; + + private TreeViewer folderViewer; + + private Text nameText; + + private boolean synchronizingFolderSelection; + + private Object selectedElement; + + private boolean selectedElementRevealed; + + private URI newModelResourceURI; + + private String folderRelativePath; + + private String projectName; + + public NewCHESSModelPage(IStructuredSelection selection, EventBus bus, String modelKindName) { + super(PAGE_ID); + + setTitle(NLS.bind("New CHESS Model", modelKindName)); + setDescription(NLS.bind("Create a new CHESS model", modelKindName)); + setSelection(selection); + + bus.register(this); + } + + @Override + public void createControl(Composite parentControl) { + Composite container = new Composite(parentControl, SWT.NONE); + GridDataFactory.fillDefaults().grab(true, true).applyTo(container); + container.setLayout(new GridLayout(2, false)); + + Label label = new Label(container, SWT.NONE); + label.setText("Enter or select the parent folder:"); + GridDataFactory.swtDefaults().span(2, 1).applyTo(label); + + folderText = new Text(container, SWT.BORDER); + GridDataFactory.fillDefaults().grab(true, false).span(2, 1).applyTo(folderText); + updateFolderText(); + + folderViewer = CDOCheckoutContentProvider.createTreeViewer(container); + folderViewer.getTree().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1)); + folderViewer.addSelectionChangedListener(new ISelectionChangedListener() { + @Override + public void selectionChanged(SelectionChangedEvent event) { + if (selectedElementRevealed) { + IStructuredSelection selection = (IStructuredSelection) event.getSelection(); + setSelection(selection); + } + + validatePage(); + } + }); + + new Label(container, SWT.NONE).setText("Resource name:"); + + nameText = new Text(container, SWT.BORDER); + GridDataFactory.fillDefaults().grab(true, false).applyTo(nameText); + nameText.setText(getUniqueName("di")); //$NON-NLS-1$ + + setControl(container); + + folderText.addModifyListener(new ModifyListener() { + + @Override + public void modifyText(ModifyEvent e) { + // TODO: set parent then revealParent() + validatePage(); + } + }); + + folderViewer.addSelectionChangedListener(new ISelectionChangedListener() { + + @Override + public void selectionChanged(SelectionChangedEvent event) { + IStructuredSelection selection = (IStructuredSelection) event.getSelection(); + setSelection(selection); + updateFolderText(); + validatePage(); + } + }); + + nameText.addModifyListener(new ModifyListener() { + + @Override + public void modifyText(ModifyEvent e) { + validatePage(); + } + }); + + parentControl.getShell().getDisplay().asyncExec(new Runnable() { + @Override + public void run() { + revealSelectedElement(); + validatePage(); + } + }); + } + + public String getNewResourceName() { + return (nameText == null) ? null : nameText.getText().trim(); + } + + public URI createNewModelResourceURI() { + return newModelResourceURI; + } + + public URI createSelectedElementURI() { + if (selectedElement instanceof CDOCheckout) { + CDOCheckout checkout = (CDOCheckout) selectedElement; + return checkout.getURI(); + } + + if (selectedElement instanceof CDOResourceNode) { + CDOResourceNode resourceNode = (CDOResourceNode) selectedElement; + return resourceNode.getURI(); + } + + return null; + } + + /** + * Diagram extension changed. + * + * @param newExtension + * the new extension + * @return result of validation of the new extension + */ + public IStatus diagramExtensionChanged(String newExtension) { + String currentExtension = getExtension(); + if (!newExtension.equals(currentExtension)) { + + String oldFileName = getNewResourceName(); + String base = oldFileName; + if (currentExtension != null) { + // take one off for the '.' + base = base.substring(0, base.length() - currentExtension.length() - 1); + } + String newFileName = getUniqueName(newExtension); + + setNewResourceName(newFileName); + + String message1 = org.eclipse.papyrus.uml.diagram.wizards.Messages.NewModelFilePage_new_diagram_category_needs_specific_extension; + String message2 = NLS.bind(org.eclipse.papyrus.uml.diagram.wizards.Messages.NewModelFilePage_diagram_file_was_renamed, oldFileName, newFileName); + String message = message1 + message2; + Status resultStatus = new Status(IStatus.INFO, Activator.PLUGIN_ID, message); + + String errorMessage = getErrorMessage(); + if (errorMessage != null) { + resultStatus = new Status(IStatus.ERROR, Activator.PLUGIN_ID, errorMessage); + } + return resultStatus; + } + return Status.OK_STATUS; + } + + protected void setNewResourceName(String newName) { + nameText.setText(newName.trim()); + } + + protected void validatePage() { + newModelResourceURI = null; + setMessage(null, NONE); + setPageComplete(true); + + String folder = folderText.getText().trim(); + if (Strings.isNullOrEmpty(folder)) { + setPageComplete(false); + return; + } + + String[] segments = getSegments(folder); + CDOCheckout checkout = CDOExplorerUtil.getCheckoutManager().getCheckoutByLabel(segments[0]); + if (checkout == null) { + setMessage(NLS.bind("The selected checkout does not exist.", segments[0]), ERROR); + setPageComplete(false); + return; + } + + CDOView view = checkout.getView(); + String path = ""; + SegmentType segmentType = SegmentType.FOLDER; // The checkout is treated like a folder. + + for (int i = 1; i < segments.length; i++) { + String segment = segments[i]; + path += "/"; + path += segment; + + segmentType = SegmentType.of(view, path); + if (segmentType == SegmentType.OTHER) { + setMessage("The specified folder cannot be created.", ERROR); + setPageComplete(false); + return; + } + } + + String name = getNewResourceName(); + if (Strings.isNullOrEmpty(name)) { + setMessage("The new model resource name is required.", ERROR); + setPageComplete(false); + return; + } + + if (segmentType != SegmentType.MISSING) { + String fullPath = path + "/" + name; + if (SegmentType.of(view, fullPath) != SegmentType.MISSING) { + setMessage(NLS.bind("The resource already exists.", fullPath), ERROR); + setPageComplete(false); + return; + } + } + //TODO work in progress!! + String folderName = name.substring(0, name.lastIndexOf(".")); + path = path.concat("/" + folderName.substring(0, 1).toUpperCase() + folderName.substring(1)); + + newModelResourceURI = checkout.createResourceURI(path).appendSegment(name); + folderRelativePath = path; + projectName = folderName; + + if (segmentType == SegmentType.MISSING) { + setMessage("The specified folder does not exist and will be created.", WARNING); + } + } + + private String[] getSegments(String folder) { + while (folder.startsWith("/")) { + folder = folder.substring(1); + } + + while (folder.endsWith("/")) { + folder = folder.substring(0, folder.length() - 1); + } + + return folder.split("/"); + } + + private String getExtension() { + String result = null; + String name = getNewResourceName(); + + if (name != null) { + // the proper extension is whatever follows the *last* '.', + // but for our purposes we need e.g. "profile.uml" to be + // an extension + int dot = name.indexOf('.'); + if (dot >= 0) { + result = name.substring(dot + 1); + } + } + + return result; + } + + private void setSelection(IStructuredSelection selection) { + selectedElement = null; + + if (!selection.isEmpty()) { + Object element = selection.getFirstElement(); + if (element instanceof CDOElement) { + element = ((CDOElement) element).getDelegate(); + } + + if (element instanceof CDOCheckout) { + selectedElement = element; + } else if (element instanceof CDOResourceLeaf) { + selectedElement = ((CDOResourceLeaf) element).getFolder(); + } else if (element instanceof CDOResourceFolder) { + selectedElement = (CDOResourceFolder) element; + } else if (element instanceof EObject) { + Resource resource = ((EObject) element).eResource(); + if (resource instanceof CDOResource) { + selectedElement = ((CDOResource) resource).getFolder(); + } + } + } + } + + private void updateFolderText() { + if (!synchronizingFolderSelection) { + synchronizingFolderSelection = true; + + try { + if (selectedElement == null) { + folderText.setText(""); //$NON-NLS-1$ + } else { + StringBuilder builder = new StringBuilder(); + for (Object node : getSelectedSegments()) { + builder.append('/'); + builder.append(CDOExplorerUtil.getName(node)); + } + + String path = builder.toString(); + folderText.setText(path); + } + } finally { + synchronizingFolderSelection = false; + } + } + } + + private void revealSelectedElement() { + if (selectedElement != null) { + List<Object> segments = getSelectedSegments(); + for (int i = 0; i < segments.size() - 1; i++) { + Object segment = segments.get(i); + folderViewer.setExpandedState(segment, true); + } + + selectedElementRevealed = true; + folderViewer.setSelection(new StructuredSelection(selectedElement), true); + } + } + + private List<Object> getSelectedSegments() { + List<Object> segments = new ArrayList<Object>(); + fillSegments(segments, selectedElement); + return segments; + } + + private void fillSegments(List<Object> segments, Object element) { + if (element instanceof CDOCheckout) { + segments.add(element); + return; + } + + if (element instanceof CDOResourceFolder) { + CDOResourceFolder folder = (CDOResourceFolder) element; + + Adapter adapter = EcoreUtil.getAdapter(folder.eAdapters(), CDOCheckout.class); + if (adapter != null) { + fillSegments(segments, adapter); + } else { + Object parent = folder.getFolder(); + if (parent == null) { + parent = EcoreUtil.getAdapter(folder.cdoView().getRootResource().eAdapters(), CDOCheckout.class); + } + + fillSegments(segments, parent); + } + } + + segments.add(element); + } + + private EList<EObject> getChildrenOfSelectedElement() { + if (selectedElement instanceof CDOCheckout) { + CDOCheckout checkout = (CDOCheckout) selectedElement; + return checkout.getRootObject().eContents(); + } + + if (selectedElement instanceof CDOResourceFolder) { + CDOResourceFolder folder = (CDOResourceFolder) selectedElement; + return folder.eContents(); + } + + return ECollections.emptyEList(); + } + + private String getUniqueName(String extension) { + Set<String> names = new HashSet<String>(); + for (EObject eObject : getChildrenOfSelectedElement()) { + if (eObject instanceof CDOResourceNode) { + CDOResourceNode node = (CDOResourceNode) eObject; + String name = node.getName(); + if (name.startsWith(resourceType)) { + names.add(name); + } + } + } + + for (int i = 1; i < Integer.MAX_VALUE; i++) { + String name = resourceType + (i > 1 ? i : "") + "." + extension; + if (!names.contains(name)) { + return name; + } + } + + throw new IllegalStateException("Too many children"); + } + + /** + * @author Stepper + */ + private enum SegmentType { + MISSING, FOLDER, OTHER; + + public static SegmentType of(CDOView view, String path) { + CDOResourceNode resourceNode; + try { + resourceNode = view.getResourceNode(path); + if (resourceNode != null) { + if (resourceNode instanceof CDOResourceFolder) { + return SegmentType.FOLDER; + } + + return SegmentType.OTHER; + } + } catch (Exception ex) { + //$FALL-THROUGH$ + } + + return SegmentType.MISSING; + } + + private static SegmentType of(CDOResourceNode resourceNode) { + if (resourceNode == null) { + return SegmentType.MISSING; + } + + if (resourceNode instanceof CDOResourceFolder) { + return SegmentType.FOLDER; + } + + return SegmentType.OTHER; + } + } + + public String getFolderRelativePath() { + return folderRelativePath; + } + + public String getProjectName() { + return projectName; + } +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSCDONewModelStorageProvider.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSCDONewModelStorageProvider.java index ab5d70e34..981b770ec 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSCDONewModelStorageProvider.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSCDONewModelStorageProvider.java @@ -1,254 +1,261 @@ -package org.polarsys.chess.cdo.providers; - -import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.adapt; -import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.getSelectedResourceURI; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.cdo.CDOObject; -import org.eclipse.emf.cdo.eresource.CDOResourceNode; -import org.eclipse.emf.cdo.explorer.CDOExplorerUtil; -import org.eclipse.emf.cdo.explorer.checkouts.CDOCheckout; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.wizard.IWizardPage; -import org.eclipse.osgi.util.NLS; -import org.eclipse.papyrus.cdo.internal.core.CDOUtils; -import org.eclipse.papyrus.cdo.internal.ui.editors.PapyrusCDOEditorInput; -import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectDiagramCategoryPage; -import org.eclipse.papyrus.uml.diagram.wizards.providers.AbstractNewModelStorageProvider; -import org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard; -import org.eclipse.papyrus.uml.diagram.wizards.wizards.InitModelWizard; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.INewWizard; -import org.polarsys.chess.cdo.pages.NewCHESSModelPage; -import org.polarsys.chess.cdo.wizards.CreateCDOCHESSModelWizard; -import org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard; - -import com.google.common.eventbus.EventBus; - - -public class CHESSCDONewModelStorageProvider extends AbstractNewModelStorageProvider { - - private final EventBus bus = new EventBus("NewCDOModelWizard"); //$NON-NLS-1$ - - private CreateCDOCHESSModelWizard wizard; - - private SelectDiagramCategoryPage newDiagramCategoryPage; - - private NewCHESSModelPage newModelPage; - - private IStructuredSelection selection; - - public CHESSCDONewModelStorageProvider() { - super(); - } - - @Override - public boolean canHandle(IStructuredSelection initialSelection) { - for (Object next : initialSelection.toList()) { - if (CDOUtils.isCDOObject(adapt(next, EObject.class))) { - return true; - } - - if (adapt(next, CDOCheckout.class) != null) { - return true; - } - } - - return false; - } - - public void init(CreateCDOCHESSModelWizard wizard, IStructuredSelection selection) { -// super.init(wizard, selection); - - this.wizard = wizard; - this.selection = selection; - newModelPage = createNewModelPage(selection); - createSelectProviderPart(); - - CDOCheckout checkout = getRepository(selection); - if (checkout != null) { - bus.post(checkout); - } - -// newDiagramCategoryPage = createNewDiagramCategoryPage(selection); - } - - /** - * Gets the contextual repository, if any, from a selection. - * - * @param selection - * a selection - * - * @return the repository that is or contains the {@code selection} - */ - static CDOCheckout getRepository(IStructuredSelection selection) { - CDOCheckout result = null; - - if (!selection.isEmpty()) { - result = adapt(selection.getFirstElement(), CDOCheckout.class); - if (result == null) { - CDOResourceNode node = adapt(selection.getFirstElement(), CDOResourceNode.class); - if (node == null) { - EObject object = adapt(selection.getFirstElement(), EObject.class); - if (object != null) { - CDOObject cdo = CDOUtils.getCDOObject(object); - if (cdo != null) { - node = cdo.cdoResource(); - } - } - } - - if (node != null) { - result = CDOExplorerUtil.getCheckout(node.getURI()); - } - } - } - - return result; - } - - @Override - public List<? extends IWizardPage> createPages() { - if (newModelPage == null && newDiagramCategoryPage == null) { - return Collections.emptyList(); - } - - return Arrays.asList(newDiagramCategoryPage, newModelPage); - } - - @Override - public SelectDiagramCategoryPage getDiagramCategoryPage() { - return newDiagramCategoryPage; - } - - @Override - public IStatus validateDiagramCategories(String... newCategories) { - if (newModelPage != null && newModelPage.getNewResourceName() != null) { - String firstCategory = newCategories.length > 0 ? newCategories[0] : null; - if (newCategories.length > 0) { - // 316943 - [Wizard] Wrong suffix for file name when creating a - // profile model - return newModelPage.diagramExtensionChanged(wizard.getDiagramFileExtension(firstCategory)); - } - } - - return super.validateDiagramCategories(newCategories); - } - - /** - * Creates the new model page, if required. - * - * @param selection - * the selection - * - * @return the new model page, or {@code null} if none - */ - protected NewCHESSModelPage createNewModelPage(IStructuredSelection selection) { - if (wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard()) { - - return null; - } - - if (isCreateFromExistingDomainModel()) { - URI uri = getSelectedResourceURI(selection); - if (uri != null) { - uri = uri.trimFileExtension().appendFileExtension(wizard.getDiagramFileExtension(null)); - return new NewDiagramForExistingModelPage(selection, wizard.getModelKindName(), bus, uri.lastSegment()); - } - } - - return new NewCHESSModelPage(selection, bus, wizard.getModelKindName()); - } - - protected boolean isCreateFromExistingDomainModel() { - return false; - } - - @Override - public URI createNewModelURI(String categoryId) { - return newModelPage.createNewModelResourceURI(); - } - - @Override - public IEditorInput createEditorInput(URI uri) { - return new PapyrusCDOEditorInput(uri, uri.trimFileExtension().lastSegment()); - } - -// private SelectDiagramCategoryPage createNewDiagramCategoryPage(IStructuredSelection selection) { -// if (wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard() || !wizard.isPapyrusRootWizard()) { -// return null; -// } -// -// return new SelectDiagramCategoryPage(); -// } - - - // - // Nested types - // - - /** - * This is the NewDiagramForExistingModelPage type. Enjoy. - */ - protected static class NewDiagramForExistingModelPage extends NewCHESSModelPage { - - /** The my diagram resource name. */ - private final String myDiagramResourceName; - - /** - * Instantiates a new new diagram for existing model page. - * - * @param selection - * the selection - * @param modelKindName - * the user-presentable (translatable) name of the kind of - * model to create - * @param bus - * an event bus for posting events - * @param defaultResourceName - * the default resource name - */ - public NewDiagramForExistingModelPage(IStructuredSelection selection, String modelKindName, EventBus bus, String defaultResourceName) { - - super(selection, bus, modelKindName); - - myDiagramResourceName = defaultResourceName; - setTitle("Init a new Papyrus model"); - setDescription("Init a new Papyrus model from the existing domain model"); - } - - @Override - public void createControl(Composite parent) { - super.createControl(parent); - - setNewResourceName(myDiagramResourceName); - } - - @Override - protected void validatePage() { - super.validatePage(); - - if (getMessageType() < ERROR) { - if (!myDiagramResourceName.equals(getNewResourceName())) { - setMessage(NLS.bind(org.eclipse.papyrus.uml.diagram.wizards.Messages.InitModelWizard_diagram_name_is_different_from_domain_model, myDiagramResourceName), ERROR); - setPageComplete(false); - } - } - }; - } - - public String getFolderRelativePath(){ - return newModelPage.getFolderRelativePath(); - } - - public String getProjectName(){ - return newModelPage.getProjectName(); - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.providers; + +import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.adapt; +import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.getSelectedResourceURI; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.cdo.CDOObject; +import org.eclipse.emf.cdo.eresource.CDOResourceNode; +import org.eclipse.emf.cdo.explorer.CDOExplorerUtil; +import org.eclipse.emf.cdo.explorer.checkouts.CDOCheckout; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.wizard.IWizardPage; +import org.eclipse.osgi.util.NLS; +import org.eclipse.papyrus.cdo.internal.core.CDOUtils; +import org.eclipse.papyrus.cdo.internal.ui.editors.PapyrusCDOEditorInput; +import org.eclipse.papyrus.uml.diagram.wizards.pages.SelectDiagramCategoryPage; +import org.eclipse.papyrus.uml.diagram.wizards.providers.AbstractNewModelStorageProvider; +import org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard; +import org.eclipse.papyrus.uml.diagram.wizards.wizards.InitModelWizard; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.INewWizard; +import org.polarsys.chess.cdo.pages.NewCHESSModelPage; +import org.polarsys.chess.cdo.wizards.CreateCDOCHESSModelWizard; +import org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard; + +import com.google.common.eventbus.EventBus; + + +public class CHESSCDONewModelStorageProvider extends AbstractNewModelStorageProvider { + + private final EventBus bus = new EventBus("NewCDOModelWizard"); //$NON-NLS-1$ + + private CreateCDOCHESSModelWizard wizard; + + private SelectDiagramCategoryPage newDiagramCategoryPage; + + private NewCHESSModelPage newModelPage; + + private IStructuredSelection selection; + + public CHESSCDONewModelStorageProvider() { + super(); + } + + @Override + public boolean canHandle(IStructuredSelection initialSelection) { + for (Object next : initialSelection.toList()) { + if (CDOUtils.isCDOObject(adapt(next, EObject.class))) { + return true; + } + + if (adapt(next, CDOCheckout.class) != null) { + return true; + } + } + + return false; + } + + public void init(CreateCDOCHESSModelWizard wizard, IStructuredSelection selection) { +// super.init(wizard, selection); + + this.wizard = wizard; + this.selection = selection; + newModelPage = createNewModelPage(selection); + createSelectProviderPart(); + + CDOCheckout checkout = getRepository(selection); + if (checkout != null) { + bus.post(checkout); + } + +// newDiagramCategoryPage = createNewDiagramCategoryPage(selection); + } + + /** + * Gets the contextual repository, if any, from a selection. + * + * @param selection + * a selection + * + * @return the repository that is or contains the {@code selection} + */ + static CDOCheckout getRepository(IStructuredSelection selection) { + CDOCheckout result = null; + + if (!selection.isEmpty()) { + result = adapt(selection.getFirstElement(), CDOCheckout.class); + if (result == null) { + CDOResourceNode node = adapt(selection.getFirstElement(), CDOResourceNode.class); + if (node == null) { + EObject object = adapt(selection.getFirstElement(), EObject.class); + if (object != null) { + CDOObject cdo = CDOUtils.getCDOObject(object); + if (cdo != null) { + node = cdo.cdoResource(); + } + } + } + + if (node != null) { + result = CDOExplorerUtil.getCheckout(node.getURI()); + } + } + } + + return result; + } + + @Override + public List<? extends IWizardPage> createPages() { + if (newModelPage == null && newDiagramCategoryPage == null) { + return Collections.emptyList(); + } + + return Arrays.asList(newDiagramCategoryPage, newModelPage); + } + + @Override + public SelectDiagramCategoryPage getDiagramCategoryPage() { + return newDiagramCategoryPage; + } + + @Override + public IStatus validateDiagramCategories(String... newCategories) { + if (newModelPage != null && newModelPage.getNewResourceName() != null) { + String firstCategory = newCategories.length > 0 ? newCategories[0] : null; + if (newCategories.length > 0) { + // 316943 - [Wizard] Wrong suffix for file name when creating a + // profile model + return newModelPage.diagramExtensionChanged(wizard.getDiagramFileExtension(firstCategory)); + } + } + + return super.validateDiagramCategories(newCategories); + } + + /** + * Creates the new model page, if required. + * + * @param selection + * the selection + * + * @return the new model page, or {@code null} if none + */ + protected NewCHESSModelPage createNewModelPage(IStructuredSelection selection) { + if (wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard()) { + + return null; + } + + if (isCreateFromExistingDomainModel()) { + URI uri = getSelectedResourceURI(selection); + if (uri != null) { + uri = uri.trimFileExtension().appendFileExtension(wizard.getDiagramFileExtension(null)); + return new NewDiagramForExistingModelPage(selection, wizard.getModelKindName(), bus, uri.lastSegment()); + } + } + + return new NewCHESSModelPage(selection, bus, wizard.getModelKindName()); + } + + protected boolean isCreateFromExistingDomainModel() { + return false; + } + + @Override + public URI createNewModelURI(String categoryId) { + return newModelPage.createNewModelResourceURI(); + } + + @Override + public IEditorInput createEditorInput(URI uri) { + return new PapyrusCDOEditorInput(uri, uri.trimFileExtension().lastSegment()); + } + +// private SelectDiagramCategoryPage createNewDiagramCategoryPage(IStructuredSelection selection) { +// if (wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard() || !wizard.isPapyrusRootWizard()) { +// return null; +// } +// +// return new SelectDiagramCategoryPage(); +// } + + + // + // Nested types + // + + /** + * This is the NewDiagramForExistingModelPage type. Enjoy. + */ + protected static class NewDiagramForExistingModelPage extends NewCHESSModelPage { + + /** The my diagram resource name. */ + private final String myDiagramResourceName; + + /** + * Instantiates a new new diagram for existing model page. + * + * @param selection + * the selection + * @param modelKindName + * the user-presentable (translatable) name of the kind of + * model to create + * @param bus + * an event bus for posting events + * @param defaultResourceName + * the default resource name + */ + public NewDiagramForExistingModelPage(IStructuredSelection selection, String modelKindName, EventBus bus, String defaultResourceName) { + + super(selection, bus, modelKindName); + + myDiagramResourceName = defaultResourceName; + setTitle("Init a new Papyrus model"); + setDescription("Init a new Papyrus model from the existing domain model"); + } + + @Override + public void createControl(Composite parent) { + super.createControl(parent); + + setNewResourceName(myDiagramResourceName); + } + + @Override + protected void validatePage() { + super.validatePage(); + + if (getMessageType() < ERROR) { + if (!myDiagramResourceName.equals(getNewResourceName())) { + setMessage(NLS.bind(org.eclipse.papyrus.uml.diagram.wizards.Messages.InitModelWizard_diagram_name_is_different_from_domain_model, myDiagramResourceName), ERROR); + setPageComplete(false); + } + } + }; + } + + public String getFolderRelativePath(){ + return newModelPage.getFolderRelativePath(); + } + + public String getProjectName(){ + return newModelPage.getProjectName(); + } +} diff --git a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSProjectListLabelProvider.java b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSProjectListLabelProvider.java index 1442f50de..794670346 100644 --- a/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSProjectListLabelProvider.java +++ b/plugins/org.polarsys.chess.cdo/src/org/polarsys/chess/cdo/providers/CHESSProjectListLabelProvider.java @@ -1,21 +1,28 @@ -package org.polarsys.chess.cdo.providers; - -import org.eclipse.jface.viewers.LabelProvider; -import org.eclipse.swt.graphics.Image; - -import org.eclipse.core.resources.IProject; - -public class CHESSProjectListLabelProvider extends LabelProvider { - - - public Image getImage(Object element) { - return null; - } - - - public String getText(Object element) { - IProject resource = (IProject) element; - return resource.getName(); - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.cdo.providers; + +import org.eclipse.jface.viewers.LabelProvider; +import org.eclipse.swt.graphics.Image; + +import org.eclipse.core.resources.IProject; + +public class CHESSProjectListLabelProvider extends LabelProvider { + + + public Image getImage(Object element) { + return null; + } + + + public String getText(Object element) { + IProject resource = (IProject) element; + return resource.getName(); + } + +} diff --git a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/util/AdaGenUtil.java b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/util/AdaGenUtil.java index d08e7a921..076e4de4a 100644 --- a/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/util/AdaGenUtil.java +++ b/plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/util/AdaGenUtil.java @@ -1,22 +1,29 @@ -package org.polarsys.chess.codegen.ada.util; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IProject; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IFileEditorInput; - -public class AdaGenUtil { - - /** - * Utility method to get the active Eclipse project. - * - * @param editor the editor - * @return the active project - */ - public static IProject getActiveProject(IEditorPart editor) { - IFileEditorInput input = (IFileEditorInput) editor.getEditorInput(); - IFile file = input.getFile(); - return file.getProject(); - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.codegen.ada.util; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IFileEditorInput; + +public class AdaGenUtil { + + /** + * Utility method to get the active Eclipse project. + * + * @param editor the editor + * @return the active project + */ + public static IProject getActiveProject(IEditorPart editor) { + IFileEditorInput input = (IFileEditorInput) editor.getEditorInput(); + IFile file = input.getFile(); + return file.getProject(); + } + +} diff --git a/plugins/org.polarsys.chess.core/src/javax/xml/bind/EmptyClass.java b/plugins/org.polarsys.chess.core/src/javax/xml/bind/EmptyClass.java index 177e5a630..9d5fa1bec 100644 --- a/plugins/org.polarsys.chess.core/src/javax/xml/bind/EmptyClass.java +++ b/plugins/org.polarsys.chess.core/src/javax/xml/bind/EmptyClass.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package javax.xml.bind; public class EmptyClass { diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/PreferenceProperties.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/PreferenceProperties.java index da8859287..23df35603 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/PreferenceProperties.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/constraint/PreferenceProperties.java @@ -1,13 +1,20 @@ -package org.polarsys.chess.core.constraint; - -/** - * The Class PreferenceProperties. - */ -public class PreferenceProperties { - - /** The diagram in view. */ - public static String DIAGRAM_IN_VIEW="DiagramInView"; - - /** The palettes in view. */ - public static String PALETTES_IN_VIEW="PaletteInView"; -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.constraint; + +/** + * The Class PreferenceProperties. + */ +public class PreferenceProperties { + + /** The diagram in view. */ + public static String DIAGRAM_IN_VIEW="DiagramInView"; + + /** The palettes in view. */ + public static String PALETTES_IN_VIEW="PaletteInView"; +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/extensionpoint/IAddProfile.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/extensionpoint/IAddProfile.java index 6a0806440..8d424ce39 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/extensionpoint/IAddProfile.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/extensionpoint/IAddProfile.java @@ -1,26 +1,33 @@ -package org.polarsys.chess.core.extensionpoint; - -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.uml2.uml.Model; - -/** - * The Interface IAddProfile. - */ -public interface IAddProfile { - - /** - * Applies a profile to the given model and resourceset. - * - * @param owner the owner - * @param resourceSet the resource set - */ - void addProfile(Model owner, ResourceSet resourceSet); - - /** - * Loads a profile for the given ResourceSet. - * - * @param resourceSet the resource set - */ - void loadProfile(ResourceSet resourceSet); - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.extensionpoint; + +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.uml2.uml.Model; + +/** + * The Interface IAddProfile. + */ +public interface IAddProfile { + + /** + * Applies a profile to the given model and resourceset. + * + * @param owner the owner + * @param resourceSet the resource set + */ + void addProfile(Model owner, ResourceSet resourceSet); + + /** + * Loads a profile for the given ResourceSet. + * + * @param resourceSet the resource set + */ + void loadProfile(ResourceSet resourceSet); + +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/extensionpoint/AddProfileHandler.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/extensionpoint/AddProfileHandler.java index 4e8675b2b..cbaff694c 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/extensionpoint/AddProfileHandler.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/extensionpoint/AddProfileHandler.java @@ -1,141 +1,148 @@ -package org.polarsys.chess.core.internal.extensionpoint; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.core.runtime.IExtensionRegistry; -import org.eclipse.core.runtime.ISafeRunnable; -import org.eclipse.core.runtime.SafeRunner; -import org.eclipse.emf.ecore.resource.ResourceSet; -//import org.eclipse.e4.core.di.annotations.Execute; -import org.eclipse.uml2.uml.Model; -import org.polarsys.chess.core.Activator; -import org.polarsys.chess.core.extensionpoint.IAddProfile; - - -/** - * The Class AddProfileHandler. - */ -public class AddProfileHandler { - - /** The Constant ADDPROFILE_ID. */ - private static final String ADDPROFILE_ID = - "org.polarsys.chess.addprofile"; - - /** - * Execute add profile. - * - * @param registry the registry - * @param owner the owner - * @param resourceSet the resource set - */ - public void executeAddProfile(IExtensionRegistry registry, Model owner, ResourceSet resourceSet) { - evaluateAddProfile(registry, owner, resourceSet); - } - - /** - * Evaluate add profile. - * - * @param registry the registry - * @param owner the owner - * @param resourceSet the resource set - */ - private void evaluateAddProfile(IExtensionRegistry registry, Model owner, ResourceSet resourceSet) { - IConfigurationElement[] config = - registry.getConfigurationElementsFor(ADDPROFILE_ID); - try { - for (IConfigurationElement e : config) { - System.out.println("Evaluating extension"); - final Object o = - e.createExecutableExtension("class"); - if (o instanceof IAddProfile) { - addProfile(o, owner, resourceSet); - } - } - } catch (CoreException ex) { - System.out.println(ex.getMessage()); - Activator.error("evaluateAddProfile error", ex); - } - } - - /** - * Adds the profile. - * - * @param o the o - * @param owner the owner - * @param resourceSet the resource set - */ - private void addProfile(final Object o, final Model owner, final ResourceSet resourceSet) { - ISafeRunnable runnable = new ISafeRunnable() { - @Override - public void handleException(Throwable e) { - System.out.println("Exception in client"); - Activator.error("Exception in client", e); - } - - @Override - public void run() throws Exception { - ((IAddProfile) o).addProfile(owner, resourceSet); - - } - }; - SafeRunner.run(runnable); - } - - /** - * Execute load profile. - * - * @param registry the registry - * @param resourceSet the resource set - */ - public void executeLoadProfile(IExtensionRegistry registry, ResourceSet resourceSet) { - evaluateLoadProfile(registry, resourceSet); - } - - /** - * Evaluate load profile. - * - * @param registry the registry - * @param resourceSet the resource set - */ - private void evaluateLoadProfile(IExtensionRegistry registry, ResourceSet resourceSet) { - IConfigurationElement[] config = - registry.getConfigurationElementsFor(ADDPROFILE_ID); - try { - for (IConfigurationElement e : config) { - System.out.println("Evaluating extension"); - final Object o = - e.createExecutableExtension("class"); - if (o instanceof IAddProfile) { - loadProfile(o, resourceSet); - } - } - } catch (CoreException ex) { - System.out.println(ex.getMessage()); - Activator.error("EvaluateLoadProfile error", ex); - } - } - - /** - * Load profile. - * - * @param o the o - * @param resourceSet the resource set - */ - private void loadProfile(final Object o, final ResourceSet resourceSet) { - ISafeRunnable runnable = new ISafeRunnable() { - @Override - public void handleException(Throwable e) { - System.out.println("Exception in client"); - Activator.error("Exception in client", e); - } - - @Override - public void run() throws Exception { - ((IAddProfile) o).loadProfile(resourceSet); - } - }; - SafeRunner.run(runnable); - } - - } - +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.internal.extensionpoint; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.IExtensionRegistry; +import org.eclipse.core.runtime.ISafeRunnable; +import org.eclipse.core.runtime.SafeRunner; +import org.eclipse.emf.ecore.resource.ResourceSet; +//import org.eclipse.e4.core.di.annotations.Execute; +import org.eclipse.uml2.uml.Model; +import org.polarsys.chess.core.Activator; +import org.polarsys.chess.core.extensionpoint.IAddProfile; + + +/** + * The Class AddProfileHandler. + */ +public class AddProfileHandler { + + /** The Constant ADDPROFILE_ID. */ + private static final String ADDPROFILE_ID = + "org.polarsys.chess.addprofile"; + + /** + * Execute add profile. + * + * @param registry the registry + * @param owner the owner + * @param resourceSet the resource set + */ + public void executeAddProfile(IExtensionRegistry registry, Model owner, ResourceSet resourceSet) { + evaluateAddProfile(registry, owner, resourceSet); + } + + /** + * Evaluate add profile. + * + * @param registry the registry + * @param owner the owner + * @param resourceSet the resource set + */ + private void evaluateAddProfile(IExtensionRegistry registry, Model owner, ResourceSet resourceSet) { + IConfigurationElement[] config = + registry.getConfigurationElementsFor(ADDPROFILE_ID); + try { + for (IConfigurationElement e : config) { + System.out.println("Evaluating extension"); + final Object o = + e.createExecutableExtension("class"); + if (o instanceof IAddProfile) { + addProfile(o, owner, resourceSet); + } + } + } catch (CoreException ex) { + System.out.println(ex.getMessage()); + Activator.error("evaluateAddProfile error", ex); + } + } + + /** + * Adds the profile. + * + * @param o the o + * @param owner the owner + * @param resourceSet the resource set + */ + private void addProfile(final Object o, final Model owner, final ResourceSet resourceSet) { + ISafeRunnable runnable = new ISafeRunnable() { + @Override + public void handleException(Throwable e) { + System.out.println("Exception in client"); + Activator.error("Exception in client", e); + } + + @Override + public void run() throws Exception { + ((IAddProfile) o).addProfile(owner, resourceSet); + + } + }; + SafeRunner.run(runnable); + } + + /** + * Execute load profile. + * + * @param registry the registry + * @param resourceSet the resource set + */ + public void executeLoadProfile(IExtensionRegistry registry, ResourceSet resourceSet) { + evaluateLoadProfile(registry, resourceSet); + } + + /** + * Evaluate load profile. + * + * @param registry the registry + * @param resourceSet the resource set + */ + private void evaluateLoadProfile(IExtensionRegistry registry, ResourceSet resourceSet) { + IConfigurationElement[] config = + registry.getConfigurationElementsFor(ADDPROFILE_ID); + try { + for (IConfigurationElement e : config) { + System.out.println("Evaluating extension"); + final Object o = + e.createExecutableExtension("class"); + if (o instanceof IAddProfile) { + loadProfile(o, resourceSet); + } + } + } catch (CoreException ex) { + System.out.println(ex.getMessage()); + Activator.error("EvaluateLoadProfile error", ex); + } + } + + /** + * Load profile. + * + * @param o the o + * @param resourceSet the resource set + */ + private void loadProfile(final Object o, final ResourceSet resourceSet) { + ISafeRunnable runnable = new ISafeRunnable() { + @Override + public void handleException(Throwable e) { + System.out.println("Exception in client"); + Activator.error("Exception in client", e); + } + + @Override + public void run() throws Exception { + ((IAddProfile) o).loadProfile(resourceSet); + } + }; + SafeRunner.run(runnable); + } + + } + diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalCHESSProjectSupport.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalCHESSProjectSupport.java index d8ced6bc1..77c2e0815 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalCHESSProjectSupport.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalCHESSProjectSupport.java @@ -1,211 +1,218 @@ -package org.polarsys.chess.core.internal.util; - -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.net.URI; -import java.net.URL; -import java.util.Enumeration; -import java.util.List; - -import org.eclipse.core.filesystem.EFS; -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IFolder; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IProjectDescription; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.FileLocator; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.Path; -import org.eclipse.core.runtime.Platform; -import org.eclipse.core.runtime.Plugin; -import org.osgi.framework.Bundle; -import org.polarsys.chess.core.natures.CHESSNature; -import org.polarsys.chess.core.util.CHESSProjectSupport; - -/** - * The Class InternalCHESSProjectSupport. - */ -public class InternalCHESSProjectSupport { - - /** - * Adds the nature. - * - * @param project the project - * @throws CoreException the core exception - */ - public static void addNature(IProject project) throws CoreException { - if (!project.hasNature(CHESSNature.NATURE_ID)) { - IProjectDescription description = project.getDescription(); - String[] prevNatures = description.getNatureIds(); - String[] newNatures = new String[prevNatures.length + 1]; - System.arraycopy(prevNatures, 0, newNatures, 0, prevNatures.length); - newNatures[prevNatures.length] = CHESSNature.NATURE_ID; - description.setNatureIds(newNatures); - project.setDescription(description, null); - } - } - - /** - * Creates the base project. - * - * @param projectName the project name - * @param location the location - * @return the i project - */ - public static IProject createBaseProject(String projectName, URI location) { - IProject newProject = ResourcesPlugin.getWorkspace().getRoot() - .getProject(projectName); - - if (!newProject.exists()) { - URI projectLocation = location; - IProjectDescription desc = newProject.getWorkspace() - .newProjectDescription(newProject.getName()); - if (location != null - && ResourcesPlugin.getWorkspace().getRoot() - .getLocationURI().equals(location)) { - projectLocation = null; - } - desc.setLocationURI(projectLocation); - try { - newProject.create(desc, null); - if (!newProject.isOpen()) { - newProject.open(null); - } - } catch (CoreException e) { - e.printStackTrace(); - } - } - return newProject; - } - - /** - * Adds the to project structure. - * - * @param newProject the new project - * @param paths the paths - * @throws CoreException the core exception - */ - @SuppressWarnings("unused") - private static void addToProjectStructure(final IProject newProject, - final String[] paths) throws CoreException { - for (String path : paths) { - IFolder etcFolder = newProject.getFolder(path); - CHESSProjectSupport.createFolder(etcFolder); - } - } - - /** - * This is a copy of org.eclipse.core.internal.utils.FileUtil. - * Converts a URI to an IPath. Returns null if the URI cannot be represented - * as an IPath. - * <p> - * Note this method differs from URIUtil in its handling of relative URIs - * as being relative to path variables. - * - * @param uri the uri - * @return the i path - */ - public static IPath toPath(URI uri) { - if (uri == null) - return null; - final String scheme = uri.getScheme(); - // null scheme represents path variable - if (scheme == null || EFS.SCHEME_FILE.equals(scheme)) - return new Path(uri.getSchemeSpecificPart()); - return null; - } - - /** - * Gets the plugin install location. - * - * @param pluginId the plugin id - * @return the plugin install location - * @throws Exception the exception - */ - public static String getPluginInstallLocation(String pluginId) throws Exception { - Bundle bundle = Platform.getBundle(pluginId); - URL locationUrl = FileLocator.find(bundle,new Path("/"), null); - URL fileUrl = FileLocator.toFileURL(locationUrl); - return fileUrl.getFile(); - } - - /** - * Gets the name without extension. - * - * @param inputFile the input file - * @return the name without extension - */ - public static String getNameWithoutExtension(IFile inputFile) { - String inputName = inputFile.getName(); - int extensionIndex = inputName.lastIndexOf('.'); - if (extensionIndex != -1) - inputName = inputName.substring(0, extensionIndex); - return inputName; - } - - /** - * File copy. - * - * @param in the in - * @param out the out - * @throws IOException Signals that an I/O exception has occurred. - */ - public static void fileCopy(InputStream in, FileOutputStream out) - throws IOException { - byte[] buf = new byte[8192]; - while (true) { - int length = in.read(buf); - if (length < 0) - break; - out.write(buf, 0, length); - } - - try { - in.close(); - } catch (IOException ignore) { - } - try { - out.close(); - } catch (IOException ignore) { - } - } - - /** - * Gets the bundle contents. - * - * @param activator the activator - * @param path the path - * @param collectedPaths the collected paths - * @return the bundle contents - */ - public static void getBundleContents(Plugin activator, String path, - List<String> collectedPaths) { - Enumeration<?> enums = activator.getBundle().getEntryPaths(path); - - while (enums.hasMoreElements()) { - Object object = enums.nextElement(); - Enumeration<?> tmpEnum = activator.getBundle().getEntryPaths( - object.toString()); - if (tmpEnum != null) - getBundleContents(activator, object.toString(), collectedPaths); - else { - collectedPaths.add(object.toString()); - } - } - } - - /** - * Gets the i file from absolute path. - * - * @param path the path - * @return the i file from absolute path - */ - public static IFile getIFileFromAbsolutePath(String path) { - IPath location = Path.fromOSString(path); - return ResourcesPlugin.getWorkspace().getRoot() - .getFileForLocation(location); - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.internal.util; + +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.URI; +import java.net.URL; +import java.util.Enumeration; +import java.util.List; + +import org.eclipse.core.filesystem.EFS; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IProjectDescription; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.Bundle; +import org.polarsys.chess.core.natures.CHESSNature; +import org.polarsys.chess.core.util.CHESSProjectSupport; + +/** + * The Class InternalCHESSProjectSupport. + */ +public class InternalCHESSProjectSupport { + + /** + * Adds the nature. + * + * @param project the project + * @throws CoreException the core exception + */ + public static void addNature(IProject project) throws CoreException { + if (!project.hasNature(CHESSNature.NATURE_ID)) { + IProjectDescription description = project.getDescription(); + String[] prevNatures = description.getNatureIds(); + String[] newNatures = new String[prevNatures.length + 1]; + System.arraycopy(prevNatures, 0, newNatures, 0, prevNatures.length); + newNatures[prevNatures.length] = CHESSNature.NATURE_ID; + description.setNatureIds(newNatures); + project.setDescription(description, null); + } + } + + /** + * Creates the base project. + * + * @param projectName the project name + * @param location the location + * @return the i project + */ + public static IProject createBaseProject(String projectName, URI location) { + IProject newProject = ResourcesPlugin.getWorkspace().getRoot() + .getProject(projectName); + + if (!newProject.exists()) { + URI projectLocation = location; + IProjectDescription desc = newProject.getWorkspace() + .newProjectDescription(newProject.getName()); + if (location != null + && ResourcesPlugin.getWorkspace().getRoot() + .getLocationURI().equals(location)) { + projectLocation = null; + } + desc.setLocationURI(projectLocation); + try { + newProject.create(desc, null); + if (!newProject.isOpen()) { + newProject.open(null); + } + } catch (CoreException e) { + e.printStackTrace(); + } + } + return newProject; + } + + /** + * Adds the to project structure. + * + * @param newProject the new project + * @param paths the paths + * @throws CoreException the core exception + */ + @SuppressWarnings("unused") + private static void addToProjectStructure(final IProject newProject, + final String[] paths) throws CoreException { + for (String path : paths) { + IFolder etcFolder = newProject.getFolder(path); + CHESSProjectSupport.createFolder(etcFolder); + } + } + + /** + * This is a copy of org.eclipse.core.internal.utils.FileUtil. + * Converts a URI to an IPath. Returns null if the URI cannot be represented + * as an IPath. + * <p> + * Note this method differs from URIUtil in its handling of relative URIs + * as being relative to path variables. + * + * @param uri the uri + * @return the i path + */ + public static IPath toPath(URI uri) { + if (uri == null) + return null; + final String scheme = uri.getScheme(); + // null scheme represents path variable + if (scheme == null || EFS.SCHEME_FILE.equals(scheme)) + return new Path(uri.getSchemeSpecificPart()); + return null; + } + + /** + * Gets the plugin install location. + * + * @param pluginId the plugin id + * @return the plugin install location + * @throws Exception the exception + */ + public static String getPluginInstallLocation(String pluginId) throws Exception { + Bundle bundle = Platform.getBundle(pluginId); + URL locationUrl = FileLocator.find(bundle,new Path("/"), null); + URL fileUrl = FileLocator.toFileURL(locationUrl); + return fileUrl.getFile(); + } + + /** + * Gets the name without extension. + * + * @param inputFile the input file + * @return the name without extension + */ + public static String getNameWithoutExtension(IFile inputFile) { + String inputName = inputFile.getName(); + int extensionIndex = inputName.lastIndexOf('.'); + if (extensionIndex != -1) + inputName = inputName.substring(0, extensionIndex); + return inputName; + } + + /** + * File copy. + * + * @param in the in + * @param out the out + * @throws IOException Signals that an I/O exception has occurred. + */ + public static void fileCopy(InputStream in, FileOutputStream out) + throws IOException { + byte[] buf = new byte[8192]; + while (true) { + int length = in.read(buf); + if (length < 0) + break; + out.write(buf, 0, length); + } + + try { + in.close(); + } catch (IOException ignore) { + } + try { + out.close(); + } catch (IOException ignore) { + } + } + + /** + * Gets the bundle contents. + * + * @param activator the activator + * @param path the path + * @param collectedPaths the collected paths + * @return the bundle contents + */ + public static void getBundleContents(Plugin activator, String path, + List<String> collectedPaths) { + Enumeration<?> enums = activator.getBundle().getEntryPaths(path); + + while (enums.hasMoreElements()) { + Object object = enums.nextElement(); + Enumeration<?> tmpEnum = activator.getBundle().getEntryPaths( + object.toString()); + if (tmpEnum != null) + getBundleContents(activator, object.toString(), collectedPaths); + else { + collectedPaths.add(object.toString()); + } + } + } + + /** + * Gets the i file from absolute path. + * + * @param path the path + * @return the i file from absolute path + */ + public static IFile getIFileFromAbsolutePath(String path) { + IPath location = Path.fromOSString(path); + return ResourcesPlugin.getWorkspace().getRoot() + .getFileForLocation(location); + } + +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalConsoleUtil.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalConsoleUtil.java index 853c2be36..eb07e0150 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalConsoleUtil.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/internal/util/InternalConsoleUtil.java @@ -1,76 +1,83 @@ -package org.polarsys.chess.core.internal.util; - -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.PrintStream; - -import org.eclipse.ui.console.ConsolePlugin; -import org.eclipse.ui.console.IConsole; -import org.eclipse.ui.console.IConsoleManager; -import org.eclipse.ui.console.MessageConsole; -import org.eclipse.ui.console.MessageConsoleStream; -import org.polarsys.chess.core.util.CHESSProjectSupport; - -/** - * The Class InternalConsoleUtil. - */ -public class InternalConsoleUtil { - - /** - * Find console. - * - * @param name the name - * @return the message console - */ - public static MessageConsole findConsole(final String name) { - ConsolePlugin plugin = ConsolePlugin.getDefault(); - IConsoleManager conMan = plugin.getConsoleManager(); - IConsole[] existing = conMan.getConsoles(); - for (int i = 0; i < existing.length; i++) - if (name.equals(existing[i].getName())) - return (MessageConsole) existing[i]; - //no console found, so create a new one - MessageConsole myConsole = new MessageConsole(name, null); - conMan.addConsoles(new IConsole[]{myConsole}); - return myConsole; - } - - /** - * Find CHES sconsole. - * - * @return the message console stream - */ - public static MessageConsoleStream findCHESSconsole(){ - MessageConsole myConsole = findConsole(CHESSProjectSupport.CHESS_CONSOLE_NAME); - return myConsole.newMessageStream(); - } - - /** - * Write log. - * - * @param message the message - * @throws FileNotFoundException the file not found exception - */ - public static void writeLog(String message) throws FileNotFoundException { - FileOutputStream out = new FileOutputStream(InternalConsoleUtil.getEclipseInstallLocation() - + "CHESSLOG"); - PrintStream p = new PrintStream(out); - p.println(message); - p.close(); - } - - /** - * Gets the eclipse install location. - * - * @return the eclipse install location - */ - public static String getEclipseInstallLocation() { - if (System.getProperty("os.name").equals("Linux")) - return System.getProperties().get("osgi.install.area").toString() - .substring(5); - else - return System.getProperties().get("osgi.install.area").toString() - .substring(6); - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.internal.util; + +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.PrintStream; + +import org.eclipse.ui.console.ConsolePlugin; +import org.eclipse.ui.console.IConsole; +import org.eclipse.ui.console.IConsoleManager; +import org.eclipse.ui.console.MessageConsole; +import org.eclipse.ui.console.MessageConsoleStream; +import org.polarsys.chess.core.util.CHESSProjectSupport; + +/** + * The Class InternalConsoleUtil. + */ +public class InternalConsoleUtil { + + /** + * Find console. + * + * @param name the name + * @return the message console + */ + public static MessageConsole findConsole(final String name) { + ConsolePlugin plugin = ConsolePlugin.getDefault(); + IConsoleManager conMan = plugin.getConsoleManager(); + IConsole[] existing = conMan.getConsoles(); + for (int i = 0; i < existing.length; i++) + if (name.equals(existing[i].getName())) + return (MessageConsole) existing[i]; + //no console found, so create a new one + MessageConsole myConsole = new MessageConsole(name, null); + conMan.addConsoles(new IConsole[]{myConsole}); + return myConsole; + } + + /** + * Find CHES sconsole. + * + * @return the message console stream + */ + public static MessageConsoleStream findCHESSconsole(){ + MessageConsole myConsole = findConsole(CHESSProjectSupport.CHESS_CONSOLE_NAME); + return myConsole.newMessageStream(); + } + + /** + * Write log. + * + * @param message the message + * @throws FileNotFoundException the file not found exception + */ + public static void writeLog(String message) throws FileNotFoundException { + FileOutputStream out = new FileOutputStream(InternalConsoleUtil.getEclipseInstallLocation() + + "CHESSLOG"); + PrintStream p = new PrintStream(out); + p.println(message); + p.close(); + } + + /** + * Gets the eclipse install location. + * + * @return the eclipse install location + */ + public static String getEclipseInstallLocation() { + if (System.getProperty("os.name").equals("Linux")) + return System.getProperties().get("osgi.install.area").toString() + .substring(5); + else + return System.getProperties().get("osgi.install.area").toString() + .substring(6); + } + +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/ITransformationExecutor.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/ITransformationExecutor.java index 4ab5c9633..99cb3aff4 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/ITransformationExecutor.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/transformationExecutor/ITransformationExecutor.java @@ -1,25 +1,32 @@ -package org.polarsys.chess.core.transformationExecutor; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IFolder; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.uml2.uml.Package; - -/** - * This interface defines the transformation to execute. - * - */ -public interface ITransformationExecutor { - /** - * Executes the transformation. - * - * @param modelFile the input model for the transformation - * @param transformationDirectory the directory where the output of the transformation will be created - * @param monitor the progress monitor - * @param psmPackage the PSM package to use as input for the transformation - * @return the resulting status of the transformation - * @throws Exception when something went wrong during the transformation - */ - public String execute(IFile modelFile, IFolder transformationDirectory, - IProgressMonitor monitor, Package psmPackage) throws Exception; -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.transformationExecutor; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.uml2.uml.Package; + +/** + * This interface defines the transformation to execute. + * + */ +public interface ITransformationExecutor { + /** + * Executes the transformation. + * + * @param modelFile the input model for the transformation + * @param transformationDirectory the directory where the output of the transformation will be created + * @param monitor the progress monitor + * @param psmPackage the PSM package to use as input for the transformation + * @return the resulting status of the transformation + * @throws Exception when something went wrong during the transformation + */ + public String execute(IFile modelFile, IFolder transformationDirectory, + IProgressMonitor monitor, Package psmPackage) throws Exception; +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java index 9c548266a..4524048d2 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/EndToEndResultData.java @@ -1,30 +1,37 @@ -/* ------------------------------------------------------------------------------ - - Copyright (c) 2015 Intecs. - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - L. Baracchi, laura.baracchi@intecs.it - ------------------------------------------------------------------------------*/ - -package org.polarsys.chess.core.util; - -/** - * Used to save and display the results data from End to End Response Time Analysis . - */ - -public class EndToEndResultData { - - /** The scenario name. */ - public String scenarioName =""; - - /** The deadline. */ - public String deadline =""; - - /** The resp time. */ - public String respTime =""; -} - - +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/* ------------------------------------------------------------------------------ + - Copyright (c) 2015 Intecs. + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - L. Baracchi, laura.baracchi@intecs.it + ------------------------------------------------------------------------------*/ + +package org.polarsys.chess.core.util; + +/** + * Used to save and display the results data from End to End Response Time Analysis . + */ + +public class EndToEndResultData { + + /** The scenario name. */ + public String scenarioName =""; + + /** The deadline. */ + public String deadline =""; + + /** The resp time. */ + public String respTime =""; +} + + diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/InitCHESSModelCommand.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/InitCHESSModelCommand.java index 2e4de3c60..90e83b4fa 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/InitCHESSModelCommand.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/commands/InitCHESSModelCommand.java @@ -1,69 +1,76 @@ -package org.polarsys.chess.core.util.commands; - -import org.eclipse.core.runtime.IExtensionRegistry; -import org.eclipse.core.runtime.Platform; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.uml.tools.model.UmlUtils; -import org.eclipse.uml2.uml.Model; -import org.polarsys.chess.core.internal.extensionpoint.AddProfileHandler; -import org.polarsys.chess.core.internal.views.commands.CreateViewsCommand; - -/** - * This class extends the {@link RecordingCommand} class to implement the command to initialize a - * CHESS model. - * - */ -public class InitCHESSModelCommand extends RecordingCommand { - - /** The model set. */ - private ModelSet modelSet; - - /** - * Initializes the command. - * - * @param editingDomain the editing domain where the command takes place - * @param modelSet the model set where the command works in - */ - public InitCHESSModelCommand(TransactionalEditingDomain editingDomain, ModelSet modelSet) { - super(editingDomain); - this.modelSet = modelSet; - } - - /* (non-Javadoc) - * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() - */ - @Override - protected void doExecute() { - - EObject owner = getRootElement(UmlUtils.getUmlResource(modelSet)); - CreateViewsCommand.viewsToModel((Model)owner, modelSet/*, chess, marte, sysml*/); - - //let external plugins to add additional profiles - AddProfileHandler h = new AddProfileHandler(); - IExtensionRegistry reg = Platform.getExtensionRegistry(); - h.executeAddProfile(reg, (Model)owner, modelSet); - - } - - /** - * Gets the root element. - * - * @param modelResource the model resource - * @return the root element - */ - protected EObject getRootElement(Resource modelResource) { - EObject rootElement = null; - if(modelResource != null && modelResource.getContents() != null && modelResource.getContents().size() > 0) { - Object root = modelResource.getContents().get(0); - if(root instanceof EObject) { - rootElement = (EObject)root; - } - } - return rootElement; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.util.commands; + +import org.eclipse.core.runtime.IExtensionRegistry; +import org.eclipse.core.runtime.Platform; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.uml.tools.model.UmlUtils; +import org.eclipse.uml2.uml.Model; +import org.polarsys.chess.core.internal.extensionpoint.AddProfileHandler; +import org.polarsys.chess.core.internal.views.commands.CreateViewsCommand; + +/** + * This class extends the {@link RecordingCommand} class to implement the command to initialize a + * CHESS model. + * + */ +public class InitCHESSModelCommand extends RecordingCommand { + + /** The model set. */ + private ModelSet modelSet; + + /** + * Initializes the command. + * + * @param editingDomain the editing domain where the command takes place + * @param modelSet the model set where the command works in + */ + public InitCHESSModelCommand(TransactionalEditingDomain editingDomain, ModelSet modelSet) { + super(editingDomain); + this.modelSet = modelSet; + } + + /* (non-Javadoc) + * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() + */ + @Override + protected void doExecute() { + + EObject owner = getRootElement(UmlUtils.getUmlResource(modelSet)); + CreateViewsCommand.viewsToModel((Model)owner, modelSet/*, chess, marte, sysml*/); + + //let external plugins to add additional profiles + AddProfileHandler h = new AddProfileHandler(); + IExtensionRegistry reg = Platform.getExtensionRegistry(); + h.executeAddProfile(reg, (Model)owner, modelSet); + + } + + /** + * Gets the root element. + * + * @param modelResource the model resource + * @return the root element + */ + protected EObject getRootElement(Resource modelResource) { + EObject rootElement = null; + if(modelResource != null && modelResource.getContents() != null && modelResource.getContents().size() > 0) { + Object root = modelResource.getContents().get(0); + if(root instanceof EObject) { + rootElement = (EObject)root; + } + } + return rootElement; + } + +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ModelError.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ModelError.java index 58ac14a16..1a87ca836 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ModelError.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ModelError.java @@ -1,30 +1,37 @@ -package org.polarsys.chess.core.util.uml; - -/** - * The Class ModelError. - */ -public class ModelError extends Exception { - - /** - * Instantiates a new model error. - * - * @param message the message - */ - public ModelError(String message) { - super(message); - } - - /** - * Instantiates a new model error. - * - * @param messageFormat the message format - * @param args the args - */ - public ModelError(String messageFormat, Object... args) { - super(String.format(messageFormat, args)); - } - - /** The Constant serialVersionUID. */ - private static final long serialVersionUID = -3470869043917284064L; - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.core.util.uml; + +/** + * The Class ModelError. + */ +public class ModelError extends Exception { + + /** + * Instantiates a new model error. + * + * @param message the message + */ + public ModelError(String message) { + super(message); + } + + /** + * Instantiates a new model error. + * + * @param messageFormat the message format + * @param args the args + */ + public ModelError(String messageFormat, Object... args) { + super(String.format(messageFormat, args)); + } + + /** The Constant serialVersionUID. */ + private static final long serialVersionUID = -3470869043917284064L; + +} diff --git a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java index f03cc603a..4a774af13 100644 --- a/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java +++ b/plugins/org.polarsys.chess.core/src/org/polarsys/chess/core/util/uml/ValueNFP.java @@ -1,24 +1,31 @@ -/* ------------------------------------------------------------------------------ - - Copyright (c) 2015 Intecs. - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - L. Baracchi, laura.baracchi@intecs.it - ------------------------------------------------------------------------------*/ - -package org.polarsys.chess.core.util.uml; - -/** - * The Class ValueNFP. - */ -public class ValueNFP { - - /** The unit. */ - public String unit = new String(); - - /** The value. */ - public Double value = 0.0; -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/* ------------------------------------------------------------------------------ + - Copyright (c) 2015 Intecs. + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - L. Baracchi, laura.baracchi@intecs.it + ------------------------------------------------------------------------------*/ + +package org.polarsys.chess.core.util.uml; + +/** + * The Class ValueNFP. + */ +public class ValueNFP { + + /** The unit. */ + public String unit = new String(); + + /** The value. */ + public Double value = 0.0; +} diff --git a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/utils/DiagramUtils.java b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/utils/DiagramUtils.java index 1e7dc6364..03e29d3e0 100644 --- a/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/utils/DiagramUtils.java +++ b/plugins/org.polarsys.chess.diagramsCreator/src/org/polarsys/chess/diagramsCreator/utils/DiagramUtils.java @@ -1,3 +1,10 @@ +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ package org.polarsys.chess.diagramsCreator.utils; import java.util.ArrayList; diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java index bc8e712c9..9a6bad82b 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/Activator.java @@ -1,69 +1,76 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/ -package org.polarsys.chess.multicore; - -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle. - */ -public class Activator extends AbstractUIPlugin { - - /** The Constant PLUGIN_ID. */ - // The plug-in ID - public static final String PLUGIN_ID = "org.polarsys.chess.multicore"; //$NON-NLS-1$ - - /** The plugin. */ - // The shared instance - private static Activator plugin; - - /** - * The constructor. - */ - public Activator() { - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance. - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/ +package org.polarsys.chess.multicore; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle. + */ +public class Activator extends AbstractUIPlugin { + + /** The Constant PLUGIN_ID. */ + // The plug-in ID + public static final String PLUGIN_ID = "org.polarsys.chess.multicore"; //$NON-NLS-1$ + + /** The plugin. */ + // The shared instance + private static Activator plugin; + + /** + * The constructor. + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance. + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java index 0aa70aedd..9e075c007 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/ReferenceSelectorNoDoubleClick.java @@ -1,215 +1,222 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jface.viewers.ITreeContentProvider; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.jface.viewers.ViewerFilter; -import org.eclipse.papyrus.infra.widgets.editors.ICommitListener; -import org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.IGraphicalContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; -import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; -import org.eclipse.papyrus.infra.widgets.strategy.ProviderBasedBrowseStrategy; -import org.eclipse.papyrus.infra.widgets.strategy.StrategyBasedContentProvider; -import org.eclipse.papyrus.infra.widgets.strategy.TreeBrowseStrategy; -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.FillLayout; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.ui.dialogs.PatternFilter; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.polarsys.chess.multicore.model.CHTask; - - -/** - * A copy of the ReferenceSelector class where the treeViewer does not have - * - * any IDoubleClickListener instance. - * - * @author Alessandro Zovi - */ -public class ReferenceSelectorNoDoubleClick extends ReferenceSelector { - - /** The inst spec not yet assigned to partition. */ - private EList<InstanceSpecification> instSpecNotYetAssignedToPartition; - - /** The task not yet assigned to partition. */ - private EList<CHTask> taskNotYetAssignedToPartition; - - /** - * Instantiates a new reference selector no double click. - * - * @param unique the unique - */ - public ReferenceSelectorNoDoubleClick(boolean unique) { - super(unique); - } - - /** - * Instantiates a new reference selector no double click. - * - * @param unique the unique - * @param instSpecNotYetAssignedToPartition the inst spec not yet assigned to partition - * @param taskNotYetAssignedToPartition the task not yet assigned to partition - */ - public ReferenceSelectorNoDoubleClick(boolean unique, - EList<InstanceSpecification> instSpecNotYetAssignedToPartition, - EList<CHTask> taskNotYetAssignedToPartition) { - super(unique); - this.instSpecNotYetAssignedToPartition = instSpecNotYetAssignedToPartition; - this.taskNotYetAssignedToPartition = taskNotYetAssignedToPartition; - } - - /** - * Refreshes this selector's {@link org.eclipse.swt.widgets.List} - */ - @Override - public void refresh() { - ((CustomSelectionFilteredBrowseStrategy) contentProvider.getBrowseStrategy()).refresh(); - treeViewer.refresh(); - } - - /* (non-Javadoc) - * @see org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector#setContentProvider(org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider) - */ - @Override - public void setContentProvider(IStaticContentProvider staticContentProvider) { - ITreeContentProvider provider = new EncapsulatedContentProvider(staticContentProvider); - - TreeBrowseStrategy filteredBrowseStrategy = new CustomSelectionFilteredBrowseStrategy(provider); - - TreeBrowseStrategy revealBrowseStrategy = new ProviderBasedBrowseStrategy(provider); - - this.contentProvider = new StrategyBasedContentProvider(filteredBrowseStrategy, revealBrowseStrategy); - - if (treeViewer != null) { - treeViewer.setContentProvider(contentProvider); - treeViewer.setInput(""); //$NON-NLS-1$ - } - - if (contentProvider instanceof ICommitListener) { - commitListeners.add(contentProvider); - } - } - - /** - * The Class CustomSelectionFilteredBrowseStrategy. - */ - /* LB 20150708 - * CustomSelectionFilteredBrowseStrategy was introduced for managing correctly the - * visualization in the selector of only Inst Specs or Tasks that are not - * already assigned to partitions or cores (even the first time the panel is opened) - */ - private class CustomSelectionFilteredBrowseStrategy extends ProviderBasedBrowseStrategy { - - /** - * Instantiates a new custom selection filtered browse strategy. - * - * @param provider the provider - */ - public CustomSelectionFilteredBrowseStrategy(ITreeContentProvider provider) { - super(provider); - } - - /* (non-Javadoc) - * @see org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider#isValidValue(java.lang.Object) - */ - @Override - public boolean isValidValue(Object element) { - if (!unique) { - return super.isValidValue(element); - } - - if (!super.isValidValue(element)) { - return false; - } - - if(instSpecNotYetAssignedToPartition!=null && !instSpecNotYetAssignedToPartition.contains(element)){ - instSpecNotYetAssignedToPartition.add((InstanceSpecification) element); - selectedElements.add((InstanceSpecification) element); - return false; - } - if(taskNotYetAssignedToPartition!=null && !taskNotYetAssignedToPartition.contains(element)){ - taskNotYetAssignedToPartition.add((CHTask) element); - selectedElements.add((CHTask) element); - return false; - } - return !selectedElements.contains(getAdaptedValue(element)); - } - - /** - * Refresh. - */ - public void refresh() { - if (unique) { - clearCache(); - } - } - } - - - /* (non-Javadoc) - * @see org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector#createControls(org.eclipse.swt.widgets.Composite) - */ - @Override - public void createControls(Composite parent) { - Composite content = new Composite(parent, SWT.NONE); - content.setLayout(new GridLayout(1, true)); - - treeViewer = new TreeViewer(content, SWT.BORDER | SWT.MULTI); - treeViewer.setFilters(new ViewerFilter[]{ new PatternFilter() }); - - GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); - data.minimumHeight = 300; - data.minimumWidth = 300; - treeViewer.getTree().setLayoutData(data); - - if(labelProvider != null) { - treeViewer.setLabelProvider(labelProvider); - } - - if(contentProvider != null) { - treeViewer.setContentProvider(contentProvider); - treeViewer.setInput(""); //$NON-NLS-1$ - } - - if(contentProvider instanceof IGraphicalContentProvider) { - IGraphicalContentProvider graphicalContentProvider = contentProvider; - - Composite beforeTreeComposite = new Composite(content, SWT.NONE); - beforeTreeComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); - FillLayout layout = new FillLayout(); - layout.marginHeight = 0; - layout.marginWidth = 0; - beforeTreeComposite.setLayout(layout); - graphicalContentProvider.createBefore(beforeTreeComposite); - - beforeTreeComposite.moveAbove(treeViewer.getTree()); - - Composite afterTreeComposite = new Composite(content, SWT.NONE); - layout = new FillLayout(); - layout.marginHeight = 0; - layout.marginWidth = 0; - afterTreeComposite.setLayout(layout); - afterTreeComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); - graphicalContentProvider.createAfter(afterTreeComposite); - } - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jface.viewers.ITreeContentProvider; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.jface.viewers.ViewerFilter; +import org.eclipse.papyrus.infra.widgets.editors.ICommitListener; +import org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.IGraphicalContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; +import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; +import org.eclipse.papyrus.infra.widgets.strategy.ProviderBasedBrowseStrategy; +import org.eclipse.papyrus.infra.widgets.strategy.StrategyBasedContentProvider; +import org.eclipse.papyrus.infra.widgets.strategy.TreeBrowseStrategy; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.FillLayout; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.dialogs.PatternFilter; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.polarsys.chess.multicore.model.CHTask; + + +/** + * A copy of the ReferenceSelector class where the treeViewer does not have + * + * any IDoubleClickListener instance. + * + * @author Alessandro Zovi + */ +public class ReferenceSelectorNoDoubleClick extends ReferenceSelector { + + /** The inst spec not yet assigned to partition. */ + private EList<InstanceSpecification> instSpecNotYetAssignedToPartition; + + /** The task not yet assigned to partition. */ + private EList<CHTask> taskNotYetAssignedToPartition; + + /** + * Instantiates a new reference selector no double click. + * + * @param unique the unique + */ + public ReferenceSelectorNoDoubleClick(boolean unique) { + super(unique); + } + + /** + * Instantiates a new reference selector no double click. + * + * @param unique the unique + * @param instSpecNotYetAssignedToPartition the inst spec not yet assigned to partition + * @param taskNotYetAssignedToPartition the task not yet assigned to partition + */ + public ReferenceSelectorNoDoubleClick(boolean unique, + EList<InstanceSpecification> instSpecNotYetAssignedToPartition, + EList<CHTask> taskNotYetAssignedToPartition) { + super(unique); + this.instSpecNotYetAssignedToPartition = instSpecNotYetAssignedToPartition; + this.taskNotYetAssignedToPartition = taskNotYetAssignedToPartition; + } + + /** + * Refreshes this selector's {@link org.eclipse.swt.widgets.List} + */ + @Override + public void refresh() { + ((CustomSelectionFilteredBrowseStrategy) contentProvider.getBrowseStrategy()).refresh(); + treeViewer.refresh(); + } + + /* (non-Javadoc) + * @see org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector#setContentProvider(org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider) + */ + @Override + public void setContentProvider(IStaticContentProvider staticContentProvider) { + ITreeContentProvider provider = new EncapsulatedContentProvider(staticContentProvider); + + TreeBrowseStrategy filteredBrowseStrategy = new CustomSelectionFilteredBrowseStrategy(provider); + + TreeBrowseStrategy revealBrowseStrategy = new ProviderBasedBrowseStrategy(provider); + + this.contentProvider = new StrategyBasedContentProvider(filteredBrowseStrategy, revealBrowseStrategy); + + if (treeViewer != null) { + treeViewer.setContentProvider(contentProvider); + treeViewer.setInput(""); //$NON-NLS-1$ + } + + if (contentProvider instanceof ICommitListener) { + commitListeners.add(contentProvider); + } + } + + /** + * The Class CustomSelectionFilteredBrowseStrategy. + */ + /* LB 20150708 + * CustomSelectionFilteredBrowseStrategy was introduced for managing correctly the + * visualization in the selector of only Inst Specs or Tasks that are not + * already assigned to partitions or cores (even the first time the panel is opened) + */ + private class CustomSelectionFilteredBrowseStrategy extends ProviderBasedBrowseStrategy { + + /** + * Instantiates a new custom selection filtered browse strategy. + * + * @param provider the provider + */ + public CustomSelectionFilteredBrowseStrategy(ITreeContentProvider provider) { + super(provider); + } + + /* (non-Javadoc) + * @see org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider#isValidValue(java.lang.Object) + */ + @Override + public boolean isValidValue(Object element) { + if (!unique) { + return super.isValidValue(element); + } + + if (!super.isValidValue(element)) { + return false; + } + + if(instSpecNotYetAssignedToPartition!=null && !instSpecNotYetAssignedToPartition.contains(element)){ + instSpecNotYetAssignedToPartition.add((InstanceSpecification) element); + selectedElements.add((InstanceSpecification) element); + return false; + } + if(taskNotYetAssignedToPartition!=null && !taskNotYetAssignedToPartition.contains(element)){ + taskNotYetAssignedToPartition.add((CHTask) element); + selectedElements.add((CHTask) element); + return false; + } + return !selectedElements.contains(getAdaptedValue(element)); + } + + /** + * Refresh. + */ + public void refresh() { + if (unique) { + clearCache(); + } + } + } + + + /* (non-Javadoc) + * @see org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector#createControls(org.eclipse.swt.widgets.Composite) + */ + @Override + public void createControls(Composite parent) { + Composite content = new Composite(parent, SWT.NONE); + content.setLayout(new GridLayout(1, true)); + + treeViewer = new TreeViewer(content, SWT.BORDER | SWT.MULTI); + treeViewer.setFilters(new ViewerFilter[]{ new PatternFilter() }); + + GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); + data.minimumHeight = 300; + data.minimumWidth = 300; + treeViewer.getTree().setLayoutData(data); + + if(labelProvider != null) { + treeViewer.setLabelProvider(labelProvider); + } + + if(contentProvider != null) { + treeViewer.setContentProvider(contentProvider); + treeViewer.setInput(""); //$NON-NLS-1$ + } + + if(contentProvider instanceof IGraphicalContentProvider) { + IGraphicalContentProvider graphicalContentProvider = contentProvider; + + Composite beforeTreeComposite = new Composite(content, SWT.NONE); + beforeTreeComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); + FillLayout layout = new FillLayout(); + layout.marginHeight = 0; + layout.marginWidth = 0; + beforeTreeComposite.setLayout(layout); + graphicalContentProvider.createBefore(beforeTreeComposite); + + beforeTreeComposite.moveAbove(treeViewer.getTree()); + + Composite afterTreeComposite = new Composite(content, SWT.NONE); + layout = new FillLayout(); + layout.marginHeight = 0; + layout.marginWidth = 0; + afterTreeComposite.setLayout(layout); + afterTreeComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); + graphicalContentProvider.createAfter(afterTreeComposite); + } + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java index 2843aada8..4b5924876 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignComponents2CoresCommand.java @@ -1,350 +1,357 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.papyrus.infra.core.services.ServicesRegistry; -import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource; -import org.eclipse.papyrus.infra.services.labelprovider.service.LabelProviderService; -import org.eclipse.papyrus.infra.widgets.providers.FilteredContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.StaticContentProvider; -import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.PlatformUI; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Component; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Package; -import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.multicore.ReferenceSelectorNoDoubleClick; -import org.polarsys.chess.multicore.dialogs.CoreSelectorDialog; -import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; -import org.polarsys.chess.multicore.model.AbstractCommand; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.utils.QueryUtils; - -/** - * The Class AssignComponents2CoresCommand. - */ -public class AssignComponents2CoresCommand extends -AbstractCommand { - - /** The cores. */ - private EList<CHCore> cores; - - /** The components. */ - private EList<InstanceSpecification> components; - - /** The result. */ - private Map<CHCore, LinkedHashSet<Object>> result; - - /** The processors. */ - private EList<InstanceSpecification> processors; - - /** The hw system. */ - private static Component hwSystem; - - /** The processors map. */ - private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); - - /** The cores map. */ - private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); - - /** The hw systems list. */ - private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); - - /** The assignments. */ - private EList<Assign> assignments; - - - /** - * Open selector to choose HW system where assign components. - * - * @param umlModel the uml model - * @param hwSystemsList the hw systems list - * @return the instance specification - */ - private static InstanceSpecification openSystemSelector (Model umlModel, - EList<InstanceSpecification> hwSystemsList) { - - // First of all show selector to select HwSystem - List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); - for (InstanceSpecification syst : hwSystemsList) { - systemSelection.add(syst); - } - - Shell activeShell = Display.getDefault().getActiveShell(); - SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); - if (systemDialog.open() == Window.OK) { - String selectedSystemQN = systemDialog.getSystemName(); - EList<Element> allElems = umlModel.allOwnedElements(); - for (Element elem : allElems) { - InstanceSpecification theSystem; - if (elem instanceof InstanceSpecification) { - theSystem = (InstanceSpecification)elem; - if (theSystem.getQualifiedName()!=null && theSystem.getQualifiedName().equals(selectedSystemQN)) { - Classifier classif = theSystem.getClassifiers().get(0); - hwSystem = (Component)classif; - return theSystem; - } - } - } - } - return null; - } - - - /** - * Open wizard to assign components to cores. - * - * @param components the components - * @param pack the pack - * @param cores the cores - * @param assignments the assignments - * @return the map - */ - private static Map<CHCore, LinkedHashSet<Object>> openWizard( - final EList<InstanceSpecification> components, - Package pack, - EList<CHCore> cores, - EList<Assign> assignments) { - - - - ServicesRegistry servicesRegistry =null; - try { - servicesRegistry = ServiceUtilsForResource.getInstance().getServiceRegistry(pack.eResource()); - } catch (ServiceException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } - - // LB 20150713 Show components in the left side - // Only show the components that are not assigned to a Processor - EList<InstanceSpecification> instSpecNotYetAssignedToCore = new BasicEList<InstanceSpecification>(); - for (InstanceSpecification i : components) { - if (!(QueryUtils.isAssigned2Core(i, pack, assignments))) { - instSpecNotYetAssignedToCore.add(i); - } - } - final ReferenceSelector referenceSelector = new ReferenceSelectorNoDoubleClick( - true, instSpecNotYetAssignedToCore, null); - - final IStaticContentProvider semanticProvider = new StaticContentProvider( - components.toArray()); - - final FilteredContentProvider filteredProvider = new FilteredContentProvider( - semanticProvider); - referenceSelector.setContentProvider(filteredProvider); - /// - - CoreSelectorDialog dialog = null; - - ILabelProvider serv = null; - try { - serv = servicesRegistry.getService(LabelProviderService.class) - .getLabelProvider(); - } catch (final ServiceException e) { - // Activator.log.error("LabelProviderServiceNotFound", e); - } - -// org.eclipse.uml2.uml.Package pack; - referenceSelector.setLabelProvider(serv); - dialog = new CoreSelectorDialog(Display.getDefault() - .getActiveShell(), referenceSelector, cores, pack, - assignments, - CoreSelectorDialog.COMPONENTS_TO_CORES, - "Assign Software Components to Cores"); - - dialog.setLabelProvider(serv); - //dialog.setMessage("Messages.CreateDiagramImage_LifelineDialogMessage"); - //dialog.setTitle("Messages.CreateDiagramImage_LifelineDialogTitle"); - // dialog.setInitialElementSelections(insts2); - - if (dialog.open() == org.eclipse.jface.window.Window.OK) { - Map<CHCore, LinkedHashSet<Object>> result = dialog - .getResult(); - if (result != null) - return result; - } - return null; - } - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() - */ - @Override - public void execute() throws ModelError { - queryContent(umlModel); - printContent(); - - int howMany = hwSystemsList.size(); - - InstanceSpecification theSystem = null; - if (howMany > 1) { - theSystem = openSystemSelector(umlModel, hwSystemsList); - } - else { - theSystem = hwSystemsList.get(0); - } - if (theSystem!=null) { - Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); - - EList<InstanceSpecification> processorList = processorsMap.get(pack); - - EList<CHCore> cores = new BasicEList<CHCore>(); - if (processorList!=null) { - for (InstanceSpecification proc : processorList) { - EList<CHCore> coreList = coresMap.get(proc); - for (CHCore core : coreList) { - cores.add(core); - } - } - } - - result = openWizard(components, pack, cores, assignments); - if (result != null) { - updateModel(); - } - } - } - - /** - * Prints the content. - */ - private void printContent() { - System.out.println("Components:"); - for (InstanceSpecification component : components) { - System.out.println(component.getQualifiedName()); - } - - Set<Package> packs = processorsMap.keySet(); - for (Package pack: packs) { - System.out.println("Package: "+pack.getName()); - EList<InstanceSpecification> procList = processorsMap.get(pack); - for (InstanceSpecification theProc : procList) { - System.out.println("Processor: "+theProc.getName()); - EList<CHCore> coreList = coresMap.get(theProc); - for (CHCore theCore : coreList) { - System.out.println("Core: "+theCore.getName()); - } - } - } - } - - /** - * Update model. - */ - private void updateModel() { - TransactionalEditingDomain editingDomain = TransactionUtil - .getEditingDomain(umlModel); - editingDomain.getCommandStack().execute(new Com(editingDomain)); - } - - /** - * Query content. - * - * @param umlModel the uml model - * @throws ModelError the model error - */ - private void queryContent(Model umlModel) throws ModelError { - - hwSystem = UMLUtils.getResourcePlatformComponent(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - - // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment View - EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - - if (packages.size()==0) { - ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); - throw me; - } - hwSystemsList = new BasicEList<InstanceSpecification>(); - for(Package pack : packages) { - EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); - for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { - InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); - processors.add(instSpec); - EList<CHCore> theCores = QueryUtils.getCores(ch_processor); - coresMap.put(instSpec, theCores); - } - InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); - hwSystemsList.add(theSystem); - processorsMap.put(pack, processors); - } - - if (hwSystemsList.isEmpty()) { - ModelError me = new ModelError("Error in model: no System in the Deployment View!"); - throw me; - } - - -// processors = new BasicEList<InstanceSpecification>(); -// cores = new BasicEList<CHCore>(); -// for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstances(umlModel)) { -// processors.add(ch_processor.getBase_InstanceSpecification()); -// cores.addAll(QueryUtils.getCores(ch_processor)); -// } - components = UMLUtils.getAllComponentInstances(umlModel, true); - assignments = UMLUtils.getComponent2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - } - - /** - * The Class Com. - */ - class Com extends RecordingCommand { - - /** - * Instantiates a new com. - * - * @param domain the domain - */ - public Com(TransactionalEditingDomain domain) { - super(domain); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() - */ - @Override - protected void doExecute() { - QueryUtils.deleteComponent2CoreAssociations(hwSystem); - QueryUtils.buildInstance2CoreAssignments(hwSystem, result); - } - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.jface.viewers.ILabelProvider; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.core.services.ServicesRegistry; +import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource; +import org.eclipse.papyrus.infra.services.labelprovider.service.LabelProviderService; +import org.eclipse.papyrus.infra.widgets.providers.FilteredContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.StaticContentProvider; +import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.PlatformUI; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Component; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Package; +import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.multicore.ReferenceSelectorNoDoubleClick; +import org.polarsys.chess.multicore.dialogs.CoreSelectorDialog; +import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; +import org.polarsys.chess.multicore.model.AbstractCommand; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.utils.QueryUtils; + +/** + * The Class AssignComponents2CoresCommand. + */ +public class AssignComponents2CoresCommand extends +AbstractCommand { + + /** The cores. */ + private EList<CHCore> cores; + + /** The components. */ + private EList<InstanceSpecification> components; + + /** The result. */ + private Map<CHCore, LinkedHashSet<Object>> result; + + /** The processors. */ + private EList<InstanceSpecification> processors; + + /** The hw system. */ + private static Component hwSystem; + + /** The processors map. */ + private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); + + /** The cores map. */ + private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); + + /** The hw systems list. */ + private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); + + /** The assignments. */ + private EList<Assign> assignments; + + + /** + * Open selector to choose HW system where assign components. + * + * @param umlModel the uml model + * @param hwSystemsList the hw systems list + * @return the instance specification + */ + private static InstanceSpecification openSystemSelector (Model umlModel, + EList<InstanceSpecification> hwSystemsList) { + + // First of all show selector to select HwSystem + List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); + for (InstanceSpecification syst : hwSystemsList) { + systemSelection.add(syst); + } + + Shell activeShell = Display.getDefault().getActiveShell(); + SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); + if (systemDialog.open() == Window.OK) { + String selectedSystemQN = systemDialog.getSystemName(); + EList<Element> allElems = umlModel.allOwnedElements(); + for (Element elem : allElems) { + InstanceSpecification theSystem; + if (elem instanceof InstanceSpecification) { + theSystem = (InstanceSpecification)elem; + if (theSystem.getQualifiedName()!=null && theSystem.getQualifiedName().equals(selectedSystemQN)) { + Classifier classif = theSystem.getClassifiers().get(0); + hwSystem = (Component)classif; + return theSystem; + } + } + } + } + return null; + } + + + /** + * Open wizard to assign components to cores. + * + * @param components the components + * @param pack the pack + * @param cores the cores + * @param assignments the assignments + * @return the map + */ + private static Map<CHCore, LinkedHashSet<Object>> openWizard( + final EList<InstanceSpecification> components, + Package pack, + EList<CHCore> cores, + EList<Assign> assignments) { + + + + ServicesRegistry servicesRegistry =null; + try { + servicesRegistry = ServiceUtilsForResource.getInstance().getServiceRegistry(pack.eResource()); + } catch (ServiceException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + } + + // LB 20150713 Show components in the left side + // Only show the components that are not assigned to a Processor + EList<InstanceSpecification> instSpecNotYetAssignedToCore = new BasicEList<InstanceSpecification>(); + for (InstanceSpecification i : components) { + if (!(QueryUtils.isAssigned2Core(i, pack, assignments))) { + instSpecNotYetAssignedToCore.add(i); + } + } + final ReferenceSelector referenceSelector = new ReferenceSelectorNoDoubleClick( + true, instSpecNotYetAssignedToCore, null); + + final IStaticContentProvider semanticProvider = new StaticContentProvider( + components.toArray()); + + final FilteredContentProvider filteredProvider = new FilteredContentProvider( + semanticProvider); + referenceSelector.setContentProvider(filteredProvider); + /// + + CoreSelectorDialog dialog = null; + + ILabelProvider serv = null; + try { + serv = servicesRegistry.getService(LabelProviderService.class) + .getLabelProvider(); + } catch (final ServiceException e) { + // Activator.log.error("LabelProviderServiceNotFound", e); + } + +// org.eclipse.uml2.uml.Package pack; + referenceSelector.setLabelProvider(serv); + dialog = new CoreSelectorDialog(Display.getDefault() + .getActiveShell(), referenceSelector, cores, pack, + assignments, + CoreSelectorDialog.COMPONENTS_TO_CORES, + "Assign Software Components to Cores"); + + dialog.setLabelProvider(serv); + //dialog.setMessage("Messages.CreateDiagramImage_LifelineDialogMessage"); + //dialog.setTitle("Messages.CreateDiagramImage_LifelineDialogTitle"); + // dialog.setInitialElementSelections(insts2); + + if (dialog.open() == org.eclipse.jface.window.Window.OK) { + Map<CHCore, LinkedHashSet<Object>> result = dialog + .getResult(); + if (result != null) + return result; + } + return null; + } + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() + */ + @Override + public void execute() throws ModelError { + queryContent(umlModel); + printContent(); + + int howMany = hwSystemsList.size(); + + InstanceSpecification theSystem = null; + if (howMany > 1) { + theSystem = openSystemSelector(umlModel, hwSystemsList); + } + else { + theSystem = hwSystemsList.get(0); + } + if (theSystem!=null) { + Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); + + EList<InstanceSpecification> processorList = processorsMap.get(pack); + + EList<CHCore> cores = new BasicEList<CHCore>(); + if (processorList!=null) { + for (InstanceSpecification proc : processorList) { + EList<CHCore> coreList = coresMap.get(proc); + for (CHCore core : coreList) { + cores.add(core); + } + } + } + + result = openWizard(components, pack, cores, assignments); + if (result != null) { + updateModel(); + } + } + } + + /** + * Prints the content. + */ + private void printContent() { + System.out.println("Components:"); + for (InstanceSpecification component : components) { + System.out.println(component.getQualifiedName()); + } + + Set<Package> packs = processorsMap.keySet(); + for (Package pack: packs) { + System.out.println("Package: "+pack.getName()); + EList<InstanceSpecification> procList = processorsMap.get(pack); + for (InstanceSpecification theProc : procList) { + System.out.println("Processor: "+theProc.getName()); + EList<CHCore> coreList = coresMap.get(theProc); + for (CHCore theCore : coreList) { + System.out.println("Core: "+theCore.getName()); + } + } + } + } + + /** + * Update model. + */ + private void updateModel() { + TransactionalEditingDomain editingDomain = TransactionUtil + .getEditingDomain(umlModel); + editingDomain.getCommandStack().execute(new Com(editingDomain)); + } + + /** + * Query content. + * + * @param umlModel the uml model + * @throws ModelError the model error + */ + private void queryContent(Model umlModel) throws ModelError { + + hwSystem = UMLUtils.getResourcePlatformComponent(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + + // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment View + EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + + if (packages.size()==0) { + ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); + throw me; + } + hwSystemsList = new BasicEList<InstanceSpecification>(); + for(Package pack : packages) { + EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); + for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { + InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); + processors.add(instSpec); + EList<CHCore> theCores = QueryUtils.getCores(ch_processor); + coresMap.put(instSpec, theCores); + } + InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); + hwSystemsList.add(theSystem); + processorsMap.put(pack, processors); + } + + if (hwSystemsList.isEmpty()) { + ModelError me = new ModelError("Error in model: no System in the Deployment View!"); + throw me; + } + + +// processors = new BasicEList<InstanceSpecification>(); +// cores = new BasicEList<CHCore>(); +// for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstances(umlModel)) { +// processors.add(ch_processor.getBase_InstanceSpecification()); +// cores.addAll(QueryUtils.getCores(ch_processor)); +// } + components = UMLUtils.getAllComponentInstances(umlModel, true); + assignments = UMLUtils.getComponent2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + } + + /** + * The Class Com. + */ + class Com extends RecordingCommand { + + /** + * Instantiates a new com. + * + * @param domain the domain + */ + public Com(TransactionalEditingDomain domain) { + super(domain); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() + */ + @Override + protected void doExecute() { + QueryUtils.deleteComponent2CoreAssociations(hwSystem); + QueryUtils.buildInstance2CoreAssignments(hwSystem, result); + } + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java index a53f6e6dd..805cef0c8 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/AssignTasks2CoresCommand.java @@ -1,388 +1,395 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.papyrus.infra.core.services.ServicesRegistry; -import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource; -import org.eclipse.papyrus.infra.services.labelprovider.service.LabelProviderService; -import org.eclipse.papyrus.infra.widgets.providers.FilteredContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; -import org.eclipse.papyrus.infra.widgets.providers.StaticContentProvider; -import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Component; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Package; -import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.multicore.ReferenceSelectorNoDoubleClick; -import org.polarsys.chess.multicore.dialogs.CoreSelectorDialog; -import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; -import org.polarsys.chess.multicore.model.AbstractCommand; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.model.CHTask; -import org.polarsys.chess.multicore.utils.GeneratorUtils; -import org.polarsys.chess.multicore.utils.QueryUtils; - -/** - * The Class AssignTasks2CoresCommand. - */ -public class AssignTasks2CoresCommand extends -AbstractCommand { - - /** The tasks. */ - private EList<CHTask> tasks; - - /** The processors map. */ - private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); - - /** The cores map. */ - private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); - - /** The result. */ - private Map<CHCore, LinkedHashSet<Object>> result; - - /** The hw system. */ - private static Component hwSystem; - - /** The operation list. */ - private HashMap<CHTask, EList<CHTask>> operationList; - - /** The assignments. */ - private EList<Assign> assignments; - - /** The hw systems list. */ - private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); - - - /** - * Open selector to choose HW system where assign tasks. - * - * @param umlModel the uml model - * @param hwSystemsList the hw systems list - * @return the instance specification - */ - private static InstanceSpecification openSystemSelector (Model umlModel, - EList<InstanceSpecification> hwSystemsList) { - - // First of all show selector to select HwSystem - List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); - for (InstanceSpecification syst : hwSystemsList) { - systemSelection.add(syst); - } - - Shell activeShell = Display.getDefault().getActiveShell(); - SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); - if (systemDialog.open() == Window.OK) { - String selectedSystemQN = systemDialog.getSystemName(); - EList<Element> allElems = umlModel.allOwnedElements(); - for (Element elem : allElems) { - InstanceSpecification theSystem; - if (elem instanceof InstanceSpecification) { - theSystem = (InstanceSpecification)elem; - if (theSystem.getQualifiedName()!=null && theSystem.getQualifiedName().equals(selectedSystemQN)) { - Classifier classif = theSystem.getClassifiers().get(0); - hwSystem = (Component)classif; - return theSystem; - } - } - } - } - return null; - } - - - /** - * Open the Wizard window to assign tasks to Cores (for the selected HW System). - * - * @param tasks the tasks - * @param pack the pack - * @param cores the cores - * @param assignments the assignments - * @return the map - */ - private static Map<CHCore, LinkedHashSet<Object>> openWizard( - final EList<CHTask> tasks, - Package pack, - EList<CHCore> cores, - EList<Assign> assignments) { - -// final ServicesRegistry servicesRegistry = ((IMultiDiagramEditor) (PlatformUI -// .getWorkbench().getActiveWorkbenchWindow().getActivePage() -// .getActiveEditor())).getServicesRegistry(); - - ServicesRegistry servicesRegistry = null; - try { - servicesRegistry = ServiceUtilsForResource.getInstance().getServiceRegistry(pack.eResource()); - } catch (ServiceException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - return null; - } - - // Look for the tasks that are not assigned to a Processor in this package (deployment) - EList<CHTask> taskNotYetAssignedToCore = new BasicEList<CHTask>(); - for (CHTask i : tasks) { - if (!(QueryUtils.isTaskAssigned2Core(i, pack, assignments))) { - taskNotYetAssignedToCore.add(i); - } - } - - final ReferenceSelector referenceSelector = new ReferenceSelectorNoDoubleClick( - true, null, taskNotYetAssignedToCore); - - final IStaticContentProvider semanticProvider = new StaticContentProvider( - tasks.toArray()); - - final FilteredContentProvider filteredProvider = new FilteredContentProvider( - semanticProvider); - referenceSelector.setContentProvider(filteredProvider); - - CoreSelectorDialog dialog = null; - - ILabelProvider serv = null; - try { - serv = servicesRegistry.getService(LabelProviderService.class) - .getLabelProvider(); - } catch (final ServiceException e) { - // Activator.log.error("LabelProviderServiceNotFound", e); - } - - referenceSelector.setLabelProvider(serv); - dialog = new CoreSelectorDialog(Display.getDefault() - .getActiveShell(), referenceSelector, cores, pack, assignments, - CoreSelectorDialog.TASKS_TO_CORES, - "Assign Tasks to Cores"); - - dialog.setLabelProvider(serv); - //dialog.setMessage("Messages.CreateDiagramImage_LifelineDialogMessage"); - //dialog.setTitle("Messages.CreateDiagramImage_LifelineDialogTitle"); - // dialog.setInitialElementSelections(insts2); - - if (dialog.open() == org.eclipse.jface.window.Window.OK) { - Map<CHCore, LinkedHashSet<Object>> result = dialog - .getResult(); - if (result != null) - return result; - } - return null; - } - - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() - */ - @Override - public void execute() throws ModelError { - queryContent(umlModel); - printContent(); - - int howMany = hwSystemsList.size(); - - InstanceSpecification theSystem = null; - if (howMany > 1) { - theSystem = openSystemSelector(umlModel, hwSystemsList); - } - else { - theSystem = hwSystemsList.get(0); - } - - if (theSystem!=null) { - Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); - - EList<InstanceSpecification> processorList = processorsMap.get(pack); - - EList<CHCore> cores = new BasicEList<CHCore>(); - if (processorList!=null) { - for (InstanceSpecification proc : processorList) { - EList<CHCore> coreList = coresMap.get(proc); - for (CHCore core : coreList) { - cores.add(core); - } - } - } - - result = openWizard(tasks, pack, cores, assignments); - - if (result != null) { - updateModel(); - } - } - } - - - /** - * Prints the content. - */ - private void printContent() { - System.out.println("Tasks:"); - for (CHTask component : tasks) { - System.out.println(component); - } - Set<Package> packs = processorsMap.keySet(); - for (Package pack: packs) { - System.out.println("Package: "+pack.getName()); - EList<InstanceSpecification> procList = processorsMap.get(pack); - for (InstanceSpecification theProc : procList) { - System.out.println("Processor: "+theProc.getName()); - EList<CHCore> coreList = coresMap.get(theProc); - for (CHCore theCore : coreList) { - System.out.println("Core: "+theCore.getName()); - } - } - } - } - - - /** - * Update model. - */ - private void updateModel() { - TransactionalEditingDomain editingDomain = TransactionUtil - .getEditingDomain(umlModel); - editingDomain.getCommandStack().execute(new Com(editingDomain)); - } - - /** - * Get all that is needed from the model. - * - * @param umlModel the uml model - * @throws ModelError the model error - */ - private void queryContent(Model umlModel) throws ModelError { - try{ - hwSystem = UMLUtils.getResourcePlatformComponent(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - }catch (ModelError me){ - ModelError me2 = new ModelError(me.getMessage()+" Be sure that HW root Components in the ComponentView are stereotyped with CHGaResourcePlatorm"); - throw me2; - } - - // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment View - EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - - if (packages.size()==0) { - ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); - throw me; - } - hwSystemsList = new BasicEList<InstanceSpecification>(); - - for(Package pack : packages) { - EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); - for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { - InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); - processors.add(instSpec); - EList<CHCore> theCores = QueryUtils.getCores(ch_processor); - coresMap.put(instSpec, theCores); - } - InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); - hwSystemsList.add(theSystem); - processorsMap.put(pack, processors); - } - - if (hwSystemsList.isEmpty()) { - ModelError me = new ModelError("Error in model: no System in the Deployment View!"); - throw me; - } - - EList<InstanceSpecification> instances = UMLUtils.getAllComponentInstances(umlModel, true); - tasks = QueryUtils.getCHTasksList(instances); - - operationList = QueryUtils.getOperationChain(umlModel, tasks); - assignments = UMLUtils.getTask2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - } - - /** - * The Class Com. - */ - class Com extends RecordingCommand { - - /** The assigned operations. */ - private HashSet<CHTask> assignedOperations; - - /** - * Instantiates a new com. - * - * @param domain the domain - */ - public Com(TransactionalEditingDomain domain) { - super(domain); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() - */ - @Override - protected void doExecute() { - - Map<CHCore, LinkedHashSet<Object>> core2chtask = new HashMap<CHCore, LinkedHashSet<Object>>(); - - for (CHCore core : result.keySet()) { - assignedOperations = new HashSet<CHTask>(); - LinkedHashSet<Object> list = new LinkedHashSet<Object>(); - for (Object task : result.get(core)) { - CHTask owningTask = (CHTask) task; - list.add(owningTask); - addRelatedOperations(owningTask, list); - } - core2chtask.put(core, list); - } - - QueryUtils.deleteTask2CoreAssociations(hwSystem); - GeneratorUtils.buildTask2CoreAssociations(hwSystem, core2chtask); - } - - //the related operations of a task are assigned to the same core of the task, - /** - * Adds the related operations. - * - * @param owningTask the owning task - * @param list the list - */ - //TODO for now every operation shared by multiple tasks is assigned to the same core of the first task that was processed - private void addRelatedOperations(CHTask owningTask, LinkedHashSet<Object> list) { - for (CHTask operation : operationList.get(owningTask)) { - if(!assignedOperations.contains(operation)) { - list.add(operation); - assignedOperations.add(operation); - } - } - } - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.jface.viewers.ILabelProvider; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.core.services.ServicesRegistry; +import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource; +import org.eclipse.papyrus.infra.services.labelprovider.service.LabelProviderService; +import org.eclipse.papyrus.infra.widgets.providers.FilteredContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider; +import org.eclipse.papyrus.infra.widgets.providers.StaticContentProvider; +import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Component; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Package; +import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.multicore.ReferenceSelectorNoDoubleClick; +import org.polarsys.chess.multicore.dialogs.CoreSelectorDialog; +import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; +import org.polarsys.chess.multicore.model.AbstractCommand; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.model.CHTask; +import org.polarsys.chess.multicore.utils.GeneratorUtils; +import org.polarsys.chess.multicore.utils.QueryUtils; + +/** + * The Class AssignTasks2CoresCommand. + */ +public class AssignTasks2CoresCommand extends +AbstractCommand { + + /** The tasks. */ + private EList<CHTask> tasks; + + /** The processors map. */ + private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); + + /** The cores map. */ + private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); + + /** The result. */ + private Map<CHCore, LinkedHashSet<Object>> result; + + /** The hw system. */ + private static Component hwSystem; + + /** The operation list. */ + private HashMap<CHTask, EList<CHTask>> operationList; + + /** The assignments. */ + private EList<Assign> assignments; + + /** The hw systems list. */ + private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); + + + /** + * Open selector to choose HW system where assign tasks. + * + * @param umlModel the uml model + * @param hwSystemsList the hw systems list + * @return the instance specification + */ + private static InstanceSpecification openSystemSelector (Model umlModel, + EList<InstanceSpecification> hwSystemsList) { + + // First of all show selector to select HwSystem + List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); + for (InstanceSpecification syst : hwSystemsList) { + systemSelection.add(syst); + } + + Shell activeShell = Display.getDefault().getActiveShell(); + SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); + if (systemDialog.open() == Window.OK) { + String selectedSystemQN = systemDialog.getSystemName(); + EList<Element> allElems = umlModel.allOwnedElements(); + for (Element elem : allElems) { + InstanceSpecification theSystem; + if (elem instanceof InstanceSpecification) { + theSystem = (InstanceSpecification)elem; + if (theSystem.getQualifiedName()!=null && theSystem.getQualifiedName().equals(selectedSystemQN)) { + Classifier classif = theSystem.getClassifiers().get(0); + hwSystem = (Component)classif; + return theSystem; + } + } + } + } + return null; + } + + + /** + * Open the Wizard window to assign tasks to Cores (for the selected HW System). + * + * @param tasks the tasks + * @param pack the pack + * @param cores the cores + * @param assignments the assignments + * @return the map + */ + private static Map<CHCore, LinkedHashSet<Object>> openWizard( + final EList<CHTask> tasks, + Package pack, + EList<CHCore> cores, + EList<Assign> assignments) { + +// final ServicesRegistry servicesRegistry = ((IMultiDiagramEditor) (PlatformUI +// .getWorkbench().getActiveWorkbenchWindow().getActivePage() +// .getActiveEditor())).getServicesRegistry(); + + ServicesRegistry servicesRegistry = null; + try { + servicesRegistry = ServiceUtilsForResource.getInstance().getServiceRegistry(pack.eResource()); + } catch (ServiceException e1) { + // TODO Auto-generated catch block + e1.printStackTrace(); + return null; + } + + // Look for the tasks that are not assigned to a Processor in this package (deployment) + EList<CHTask> taskNotYetAssignedToCore = new BasicEList<CHTask>(); + for (CHTask i : tasks) { + if (!(QueryUtils.isTaskAssigned2Core(i, pack, assignments))) { + taskNotYetAssignedToCore.add(i); + } + } + + final ReferenceSelector referenceSelector = new ReferenceSelectorNoDoubleClick( + true, null, taskNotYetAssignedToCore); + + final IStaticContentProvider semanticProvider = new StaticContentProvider( + tasks.toArray()); + + final FilteredContentProvider filteredProvider = new FilteredContentProvider( + semanticProvider); + referenceSelector.setContentProvider(filteredProvider); + + CoreSelectorDialog dialog = null; + + ILabelProvider serv = null; + try { + serv = servicesRegistry.getService(LabelProviderService.class) + .getLabelProvider(); + } catch (final ServiceException e) { + // Activator.log.error("LabelProviderServiceNotFound", e); + } + + referenceSelector.setLabelProvider(serv); + dialog = new CoreSelectorDialog(Display.getDefault() + .getActiveShell(), referenceSelector, cores, pack, assignments, + CoreSelectorDialog.TASKS_TO_CORES, + "Assign Tasks to Cores"); + + dialog.setLabelProvider(serv); + //dialog.setMessage("Messages.CreateDiagramImage_LifelineDialogMessage"); + //dialog.setTitle("Messages.CreateDiagramImage_LifelineDialogTitle"); + // dialog.setInitialElementSelections(insts2); + + if (dialog.open() == org.eclipse.jface.window.Window.OK) { + Map<CHCore, LinkedHashSet<Object>> result = dialog + .getResult(); + if (result != null) + return result; + } + return null; + } + + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() + */ + @Override + public void execute() throws ModelError { + queryContent(umlModel); + printContent(); + + int howMany = hwSystemsList.size(); + + InstanceSpecification theSystem = null; + if (howMany > 1) { + theSystem = openSystemSelector(umlModel, hwSystemsList); + } + else { + theSystem = hwSystemsList.get(0); + } + + if (theSystem!=null) { + Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); + + EList<InstanceSpecification> processorList = processorsMap.get(pack); + + EList<CHCore> cores = new BasicEList<CHCore>(); + if (processorList!=null) { + for (InstanceSpecification proc : processorList) { + EList<CHCore> coreList = coresMap.get(proc); + for (CHCore core : coreList) { + cores.add(core); + } + } + } + + result = openWizard(tasks, pack, cores, assignments); + + if (result != null) { + updateModel(); + } + } + } + + + /** + * Prints the content. + */ + private void printContent() { + System.out.println("Tasks:"); + for (CHTask component : tasks) { + System.out.println(component); + } + Set<Package> packs = processorsMap.keySet(); + for (Package pack: packs) { + System.out.println("Package: "+pack.getName()); + EList<InstanceSpecification> procList = processorsMap.get(pack); + for (InstanceSpecification theProc : procList) { + System.out.println("Processor: "+theProc.getName()); + EList<CHCore> coreList = coresMap.get(theProc); + for (CHCore theCore : coreList) { + System.out.println("Core: "+theCore.getName()); + } + } + } + } + + + /** + * Update model. + */ + private void updateModel() { + TransactionalEditingDomain editingDomain = TransactionUtil + .getEditingDomain(umlModel); + editingDomain.getCommandStack().execute(new Com(editingDomain)); + } + + /** + * Get all that is needed from the model. + * + * @param umlModel the uml model + * @throws ModelError the model error + */ + private void queryContent(Model umlModel) throws ModelError { + try{ + hwSystem = UMLUtils.getResourcePlatformComponent(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + }catch (ModelError me){ + ModelError me2 = new ModelError(me.getMessage()+" Be sure that HW root Components in the ComponentView are stereotyped with CHGaResourcePlatorm"); + throw me2; + } + + // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment View + EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + + if (packages.size()==0) { + ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); + throw me; + } + hwSystemsList = new BasicEList<InstanceSpecification>(); + + for(Package pack : packages) { + EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); + for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { + InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); + processors.add(instSpec); + EList<CHCore> theCores = QueryUtils.getCores(ch_processor); + coresMap.put(instSpec, theCores); + } + InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); + hwSystemsList.add(theSystem); + processorsMap.put(pack, processors); + } + + if (hwSystemsList.isEmpty()) { + ModelError me = new ModelError("Error in model: no System in the Deployment View!"); + throw me; + } + + EList<InstanceSpecification> instances = UMLUtils.getAllComponentInstances(umlModel, true); + tasks = QueryUtils.getCHTasksList(instances); + + operationList = QueryUtils.getOperationChain(umlModel, tasks); + assignments = UMLUtils.getTask2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + } + + /** + * The Class Com. + */ + class Com extends RecordingCommand { + + /** The assigned operations. */ + private HashSet<CHTask> assignedOperations; + + /** + * Instantiates a new com. + * + * @param domain the domain + */ + public Com(TransactionalEditingDomain domain) { + super(domain); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() + */ + @Override + protected void doExecute() { + + Map<CHCore, LinkedHashSet<Object>> core2chtask = new HashMap<CHCore, LinkedHashSet<Object>>(); + + for (CHCore core : result.keySet()) { + assignedOperations = new HashSet<CHTask>(); + LinkedHashSet<Object> list = new LinkedHashSet<Object>(); + for (Object task : result.get(core)) { + CHTask owningTask = (CHTask) task; + list.add(owningTask); + addRelatedOperations(owningTask, list); + } + core2chtask.put(core, list); + } + + QueryUtils.deleteTask2CoreAssociations(hwSystem); + GeneratorUtils.buildTask2CoreAssociations(hwSystem, core2chtask); + } + + //the related operations of a task are assigned to the same core of the task, + /** + * Adds the related operations. + * + * @param owningTask the owning task + * @param list the list + */ + //TODO for now every operation shared by multiple tasks is assigned to the same core of the first task that was processed + private void addRelatedOperations(CHTask owningTask, LinkedHashSet<Object> list) { + for (CHTask operation : operationList.get(owningTask)) { + if(!assignedOperations.contains(operation)) { + list.add(operation); + assignedOperations.add(operation); + } + } + } + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java index acdbb8101..3464893a3 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsCommand.java @@ -1,556 +1,563 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Comparator; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Hashtable; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.Map.Entry; - -import org.eclipse.core.runtime.OperationCanceledException; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.jface.window.Window; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Component; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Package; -import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; -import org.polarsys.chess.multicore.model.AbstractCommand; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.model.CHTask; -import org.polarsys.chess.multicore.model.SupertaskInfo; -import org.polarsys.chess.multicore.partitioning.Bin; -import org.polarsys.chess.multicore.partitioning.BinPackerFactory; -import org.polarsys.chess.multicore.partitioning.RUNReduction; -import org.polarsys.chess.multicore.partitioning.Task; -import org.polarsys.chess.multicore.utils.GeneratorUtils; -import org.polarsys.chess.multicore.utils.QueryUtils; -import org.polarsys.chess.multicore.utils.QueryUtils.OccKindInfo; -import org.polarsys.chess.validator.constraints.StringParser; - -/** - * The Class GenerateTask2CoreAssignmentsCommand. - */ -public class GenerateTask2CoreAssignmentsCommand extends AbstractCommand { - - /** The operation list. */ - private HashMap<CHTask, EList<CHTask>> operationList; - - /** The core 2 chtask. */ - private Map<CHCore, LinkedHashSet<Object>> core2chtask; - - /** The processors. */ - private EList<InstanceSpecification> processors; - - /** The cores. */ - private EList<CHCore> cores = new BasicEList<CHCore>(); - - /** The assigned operations. */ - private Set<CHTask> assignedOperations = new HashSet<CHTask>(); - - /** The processors map. */ - private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); - - /** The cores map. */ - private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); - - /** The hw system. */ - private static Component hwSystem; - - /** The hw systems list. */ - private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); - - /** The use RUN. */ - private boolean useRUN; - - /** The supertask info list. */ - private List<SupertaskInfo> supertaskInfoList; - - /** The core 2 supertask. */ - private HashMap<SupertaskInfo, LinkedHashSet<Object>> core2supertask; - - /** - * Open selector to choose HW system where assign tasks. - * - * @param umlModel the uml model - * @param hwSystemsList the hw systems list - * @return the instance specification - */ - private static InstanceSpecification openSystemSelector(Model umlModel, EList<InstanceSpecification> hwSystemsList) { - - // First of all show selector to select HwSystem - List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); - for (InstanceSpecification syst : hwSystemsList) { - systemSelection.add(syst); - } - - Shell activeShell = Display.getDefault().getActiveShell(); - SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); - if (systemDialog.open() == Window.OK) { - String selectedSystemQN = systemDialog.getSystemName(); - EList<Element> allElems = umlModel.allOwnedElements(); - for (Element elem : allElems) { - InstanceSpecification theSystem; - if (elem instanceof InstanceSpecification) { - theSystem = (InstanceSpecification) elem; - if (theSystem.getQualifiedName() != null && theSystem.getQualifiedName().equals(selectedSystemQN)) { - Classifier classif = theSystem.getClassifiers().get(0); - hwSystem = (Component) classif; - return theSystem; - } - } - } - } - return null; - } - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() - */ - @Override - public void execute() throws ModelError { - queryContent(umlModel); - - int howMany = hwSystemsList.size(); - - InstanceSpecification theSystem = null; - if (howMany > 1) { - theSystem = openSystemSelector(umlModel, hwSystemsList); - } else { - theSystem = hwSystemsList.get(0); - } - - if (theSystem != null) { - Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); - - EList<InstanceSpecification> processorList = processorsMap.get(pack); - - cores = new BasicEList<CHCore>(); - if (processorList != null) { - for (InstanceSpecification proc : processorList) { - EList<CHCore> coreList = coresMap.get(proc); - for (CHCore core : coreList) { - cores.add(core); - } - } - } - - executeTask2CoreCalculator(false); - - // printContent(); - if (core2chtask != null) { - updateModel(); - } - } - } - - /** - * Execute task 2 core calculator. - * - * @param forceUseOfRUN the force use of RUN - * @throws ModelError the model error - */ - protected void executeTask2CoreCalculator(boolean forceUseOfRUN) throws ModelError { - - List<Bin> allBins = new ArrayList<Bin>(); - List<Task> allTasks = new ArrayList<Task>(); - System.out.format("We have %d cores\n", cores.size()); - // init bins - for (int i = 0; i < cores.size(); i++) - allBins.add(new Bin(i)); - - for (CHTask chRtSpecification : operationList.keySet()) { - - String occKind = chRtSpecification.getCHRtSpecification().getOccKind(); - OccKindInfo info = QueryUtils.getOccKindInfo(occKind); - - double c_ = QueryUtils.getWCET(chRtSpecification.getCHRtSpecification()); - /* add the wcet for each operation relative to this chrtspec */ - for (CHTask spec : operationList.get(chRtSpecification)) { - double c_1 = QueryUtils.getWCET(spec.getCHRtSpecification()); - c_ += c_1; - } - StringParser sp = new StringParser(); - double d_ = sp.getValueNFP(chRtSpecification.getCHRtSpecification().getRlDl()); - double t_ = info.value; - - // d_ = xxx.remove(0); - // t_ = d_; - - String name = getTaskID(chRtSpecification.getCHRtSpecification()); - - float c = (float) c_;// exec time - float d = (float) d_;// deadline - float t = (float) t_;// period - float o = 0;// TODO insert offset in stereotype - - double u_ = c / t; - float u = (float) u_; - - System.out.println("Task " + name + " -> " + c + " " + d + " " + t + " -> " + u); - allTasks.add(new Task(name, new Float(c), new Float(d), new Float(t), new Float(o), null)); - - } - - Map<Bin, List<Task>> firstPack = BinPackerFactory.getBinPacker(org.polarsys.chess.multicore.partitioning.Heuristic.WORST_FIT).pack(allBins, allTasks); - Map<Bin, List<Task>> reductionTree = new Hashtable<Bin, List<Task>>(firstPack); - - useRUN = reductionTree.size() > allBins.size(); - if (forceUseOfRUN) - useRUN = true; - - if (useRUN) { - System.out.println("Starting RUN packing"); - allTasks = new ArrayList<Task>(); - for (Bin bin : reductionTree.keySet()) - allTasks.add(new Task(bin.getId().toString(), bin.getCapacity())); - reductionTree = new RUNReduction().pack(null, allTasks); - for (java.util.Map.Entry<Bin, List<Task>> row : reductionTree.entrySet()) { - System.out.print("LEVEL " + row.getKey().getLevel() + "-" + row.getKey().getId() + "(U=" + row.getKey().getCapacity() + ") -> {"); - for (Task t : row.getValue()) - System.out.print(" " + t.getId() + ","); - System.out.println("}"); - } - buildRUNAssociations(firstPack, reductionTree); - } else - // Build model results - buildAssociations(firstPack); - } - - /** - * Builds the RUN associations. - * - * @param firstPack the first pack - * @param reductionTree the reduction tree - * @throws ModelError the model error - */ - private void buildRUNAssociations(Map<Bin, List<Task>> firstPack, Map<Bin, List<Task>> reductionTree) throws ModelError { - // add chtasks which represent real tasks to the core map and add the - // related operation chain to the same core - // TODO solve the following problem: the related operations may be shared - // between tasks which can be assigned to different cores! - - core2supertask = new HashMap<SupertaskInfo, LinkedHashSet<Object>>(); - - Object[] firstPackSorted = firstPack.entrySet().toArray(); - Arrays.sort(firstPackSorted, new Comparator<Object>() { - - @Override - public int compare(Object o1, Object o2) { - if (((Entry<Bin, List<Task>>) o1).getKey().getId() > ((Entry<Bin, List<Task>>) o2).getKey().getId()) - return 1; - else if (((Entry<Bin, List<Task>>) o1).getKey().getId() < ((Entry<Bin, List<Task>>) o2).getKey().getId()) - return -1; - else - return 0; - } - }); - - Object[] allBins = reductionTree.keySet().toArray(); - Arrays.sort(allBins, new Comparator<Object>() { - - @Override - public int compare(Object o1, Object o2) { - if (((Bin) o1).getLevel() > ((Bin) o2).getLevel()) - return -1; - else if (((Bin) o1).getLevel() < ((Bin) o2).getLevel()) - return 1; - else - return 0; - } - }); - - // DEPTH-FIRST print - // root level - - CH_HwProcessor procInstance = QueryUtils.getAllProcessorInstances(umlModel).get(0); - - int maxLevel = ((Bin) allBins[0]).getLevel(); - System.out.println("-- Primary Schedulers\n"); - System.out.println("Scheduler ("); - System.out.println(" Type => Primary_Scheduler,"); - System.out.println(" Name => Scheduler_1,"); - System.out.println(" Policy => ( Type => RUN ),"); - System.out.println(" Host => Multicore_1 );");// TODO: depends on CHRT - // specification - System.out.println("\n-- Primary Scheduling Servers and Secondary Schedulers\n"); - int indexSupertask = 0; - // all levels of the tree in the interval (root,0] - supertaskInfoList = new ArrayList<SupertaskInfo>(); - for (int i = 1; (i < allBins.length) && (((Bin) allBins[i]).getLevel() >= 0); i++) { - createSupertaskInfo(procInstance, indexSupertask, ((Bin) allBins[i]).getCapacity()); - - assignedOperations = new HashSet<CHTask>(); - // first pack: print leaf nodes - if (((Bin) allBins[i]).getLevel() == 0) { - List<Task> tasks = reductionTree.get(((Bin) allBins[i])); - LinkedHashSet<Object> list = new LinkedHashSet<Object>(); - for (Task task : tasks) { - List<Task> leaves = ((Entry<Bin, List<Task>>) firstPackSorted[new Integer(task.getId())]).getValue(); - for (Task leaf : leaves) { - System.out.println("Scheduling_Server ("); - System.out.println(" Type => Regular,"); - System.out.println(" Name => " + leaf.getId() + ","); - System.out.println(" Server_Sched_Parameters => ("); - System.out.println(" Type => EDF_policy,"); - System.out.println(" Deadline => " + leaf.getT() + ","); - System.out.println(" Preassigned => No),"); - System.out.println(" Scheduler => SecondaryScheduler_" + indexSupertask + ");"); - System.out.println(); - - CHTask owningTask = getCHRTFromTask(leaf); - list.add(owningTask); - addRelatedOperations(owningTask, list); - - } - - } - core2supertask.put(supertaskInfoList.get(indexSupertask), list); - } - indexSupertask++; - } - } - - /** - * Creates the supertask info. - * - * @param ch_HwProcessor the ch hw processor - * @param indexSupertask the index supertask - * @param capacity the capacity - */ - private void createSupertaskInfo(CH_HwProcessor ch_HwProcessor, int indexSupertask, Float capacity) { - SupertaskInfo si = new SupertaskInfo(ch_HwProcessor.getBase_InstanceSpecification(), "SuperTask_" + indexSupertask, capacity); - supertaskInfoList.add(si); - System.out.println("--*************** BRANCH ***************"); - System.out.println("Scheduling_Server ("); - System.out.println(" Type => Regular,"); - System.out.println(" Name => SuperTask_" + indexSupertask + ","); - System.out.println(" Server_Sched_parameters => ( Type => RUN_Supertask,"); - System.out.println(" Utilization => " + capacity + " ),"); // FIXME: - // utilization - // is - // not - // expressed - // as U - // in - // Geoffrey's - // example - System.out.println(" Scheduler => Scheduler_1 );"); - System.out.println(); - System.out.println("Scheduler ("); - System.out.println(" Type => Secondary_Scheduler,"); - System.out.println(" Name => SecondaryScheduler_" + indexSupertask + ","); - System.out.println(" Policy => ( Type => EDF,"); - System.out.println(" Worst_Context_Switch => 20 ),");// FIXME: based on - // Compagnin paper - // at ECRTS2014 - System.out.println(" Server => SuperTask_" + indexSupertask + " );"); - System.out.println(); - } - - /** - * Builds the associations. - * - * @param firstPack the first pack - */ - public void buildAssociations(Map<Bin, List<Task>> firstPack) { - // add chtasks which represent real tasks to the core map and add the - // related operation chain to the same core - // TODO solve the following problem: the related operations may be shared - // between tasks which can be assigned to different cores! - - core2chtask = new HashMap<CHCore, LinkedHashSet<Object>>(); - int coreIndex = 0; - for (Bin core : firstPack.keySet()) { - assignedOperations = new HashSet<CHTask>(); - LinkedHashSet<Object> list = new LinkedHashSet<Object>(); - for (Task task : firstPack.get(core)) { - CHTask owningTask = getCHRTFromTask(task); - list.add(owningTask); - addRelatedOperations(owningTask, list); - } - core2chtask.put(cores.get(coreIndex++), list); - } - } - - // the related operations of a task are assigned to the same core of the task, - // TODO for now every operation shared by multiple tasks is assigned to the - /** - * Adds the related operations. - * - * @param owningTask the owning task - * @param list the list - */ - // same core of the first task that was processed - private void addRelatedOperations(CHTask owningTask, LinkedHashSet<Object> list) { - for (CHTask operation : operationList.get(owningTask)) { - if (!assignedOperations.contains(operation)) { - list.add(operation); - assignedOperations.add(operation); - } - } - } - - /** - * Gets the task ID. - * - * @param chRtSpecification the ch rt specification - * @return the task ID - */ - private String getTaskID(CHRtSpecification chRtSpecification) { - return chRtSpecification.getContext().getName() + UMLUtils.getElementID(chRtSpecification.getContext()); - } - - /** - * Gets the CHRT from task. - * - * @param task the task - * @return the CHRT from task - */ - private CHTask getCHRTFromTask(Task task) { - for (CHTask chtask : operationList.keySet()) { - if (getTaskID(chtask.getCHRtSpecification()).equals(task.getId())) - return chtask; - } - return null; - } - - /** - * Prints the content. - */ - private void printContent() { - System.out.println("Tasks:"); - for (CHTask chtask : operationList.keySet()) { - System.out.println(chtask); - } - } - - /** - * Update model. - */ - protected void updateModel() { - boolean b1 = core2chtask != null && !core2chtask.isEmpty(); - boolean b2 = core2supertask != null && !core2supertask.isEmpty(); - - if (b1 || b2) { - - TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(umlModel); - editingDomain.getCommandStack().execute(new Com(editingDomain)); - } - } - - /** - * Query content. - * - * @param owner the owner - * @throws ModelError the model error - */ - protected void queryContent(Model owner) throws ModelError { - EList<CH_HwProcessor> x = QueryUtils.getAllProcessorInstances(umlModel); - x = QueryUtils.filterMultiCoreProcessors(x); - if (x.size() > 1) - throw new ModelError("Assignment generation works only on single processor systems"); - - // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment - // View - EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - - if (packages.size() == 0) { - ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); - throw me; - } - hwSystemsList = new BasicEList<InstanceSpecification>(); - - for (Package pack : packages) { - EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); - for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { - InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); - processors.add(instSpec); - EList<CHCore> theCores = QueryUtils.getCores(ch_processor); - coresMap.put(instSpec, theCores); - cores.addAll(theCores); - } - InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); - hwSystemsList.add(theSystem); - processorsMap.put(pack, processors); - } - - if (hwSystemsList.isEmpty()) { - ModelError me = new ModelError("Error in model: no System in the Deployment View!"); - throw me; - } - - EList<InstanceSpecification> instances = UMLUtils.getAllComponentInstances(umlModel, true); - EList<CHTask> chtasks = QueryUtils.getCHTasksList(instances); - - operationList = QueryUtils.getOperationChain(umlModel, chtasks); - - } - - /** - * The Class Com. - */ - class Com extends RecordingCommand { - - /** - * Instantiates a new com. - * - * @param domain the domain - */ - public Com(TransactionalEditingDomain domain) { - super(domain); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() - */ - @Override - protected void doExecute() { - try { - QueryUtils.deleteTask2CoreAssociations(hwSystem); - if (!useRUN) - GeneratorUtils.buildTask2CoreAssociations(hwSystem, core2chtask); - else - GeneratorUtils.buildTask2SuperTaskAssociations(hwSystem, core2supertask, supertaskInfoList); - - } catch (Exception e) { - throw new OperationCanceledException(e.getMessage()); - } - } - } - -} \ No newline at end of file +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Comparator; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Hashtable; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Map.Entry; + +import org.eclipse.core.runtime.OperationCanceledException; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.jface.window.Window; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Component; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Package; +import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.multicore.dialogs.SystemSelectionDialog; +import org.polarsys.chess.multicore.model.AbstractCommand; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.model.CHTask; +import org.polarsys.chess.multicore.model.SupertaskInfo; +import org.polarsys.chess.multicore.partitioning.Bin; +import org.polarsys.chess.multicore.partitioning.BinPackerFactory; +import org.polarsys.chess.multicore.partitioning.RUNReduction; +import org.polarsys.chess.multicore.partitioning.Task; +import org.polarsys.chess.multicore.utils.GeneratorUtils; +import org.polarsys.chess.multicore.utils.QueryUtils; +import org.polarsys.chess.multicore.utils.QueryUtils.OccKindInfo; +import org.polarsys.chess.validator.constraints.StringParser; + +/** + * The Class GenerateTask2CoreAssignmentsCommand. + */ +public class GenerateTask2CoreAssignmentsCommand extends AbstractCommand { + + /** The operation list. */ + private HashMap<CHTask, EList<CHTask>> operationList; + + /** The core 2 chtask. */ + private Map<CHCore, LinkedHashSet<Object>> core2chtask; + + /** The processors. */ + private EList<InstanceSpecification> processors; + + /** The cores. */ + private EList<CHCore> cores = new BasicEList<CHCore>(); + + /** The assigned operations. */ + private Set<CHTask> assignedOperations = new HashSet<CHTask>(); + + /** The processors map. */ + private Map<Package, EList<InstanceSpecification>> processorsMap = new HashMap<Package, EList<InstanceSpecification>>(); + + /** The cores map. */ + private Map<InstanceSpecification, EList<CHCore>> coresMap = new HashMap<InstanceSpecification, EList<CHCore>>(); + + /** The hw system. */ + private static Component hwSystem; + + /** The hw systems list. */ + private EList<InstanceSpecification> hwSystemsList = new BasicEList<InstanceSpecification>(); + + /** The use RUN. */ + private boolean useRUN; + + /** The supertask info list. */ + private List<SupertaskInfo> supertaskInfoList; + + /** The core 2 supertask. */ + private HashMap<SupertaskInfo, LinkedHashSet<Object>> core2supertask; + + /** + * Open selector to choose HW system where assign tasks. + * + * @param umlModel the uml model + * @param hwSystemsList the hw systems list + * @return the instance specification + */ + private static InstanceSpecification openSystemSelector(Model umlModel, EList<InstanceSpecification> hwSystemsList) { + + // First of all show selector to select HwSystem + List<InstanceSpecification> systemSelection = new ArrayList<InstanceSpecification>(); + for (InstanceSpecification syst : hwSystemsList) { + systemSelection.add(syst); + } + + Shell activeShell = Display.getDefault().getActiveShell(); + SystemSelectionDialog systemDialog = new SystemSelectionDialog(activeShell, systemSelection, "Select System where to assign tasks"); + if (systemDialog.open() == Window.OK) { + String selectedSystemQN = systemDialog.getSystemName(); + EList<Element> allElems = umlModel.allOwnedElements(); + for (Element elem : allElems) { + InstanceSpecification theSystem; + if (elem instanceof InstanceSpecification) { + theSystem = (InstanceSpecification) elem; + if (theSystem.getQualifiedName() != null && theSystem.getQualifiedName().equals(selectedSystemQN)) { + Classifier classif = theSystem.getClassifiers().get(0); + hwSystem = (Component) classif; + return theSystem; + } + } + } + } + return null; + } + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.model.AbstractCommand#execute() + */ + @Override + public void execute() throws ModelError { + queryContent(umlModel); + + int howMany = hwSystemsList.size(); + + InstanceSpecification theSystem = null; + if (howMany > 1) { + theSystem = openSystemSelector(umlModel, hwSystemsList); + } else { + theSystem = hwSystemsList.get(0); + } + + if (theSystem != null) { + Package pack = QueryUtils.getOwnerCHGaResourcePlatformPackage(umlModel, theSystem); + + EList<InstanceSpecification> processorList = processorsMap.get(pack); + + cores = new BasicEList<CHCore>(); + if (processorList != null) { + for (InstanceSpecification proc : processorList) { + EList<CHCore> coreList = coresMap.get(proc); + for (CHCore core : coreList) { + cores.add(core); + } + } + } + + executeTask2CoreCalculator(false); + + // printContent(); + if (core2chtask != null) { + updateModel(); + } + } + } + + /** + * Execute task 2 core calculator. + * + * @param forceUseOfRUN the force use of RUN + * @throws ModelError the model error + */ + protected void executeTask2CoreCalculator(boolean forceUseOfRUN) throws ModelError { + + List<Bin> allBins = new ArrayList<Bin>(); + List<Task> allTasks = new ArrayList<Task>(); + System.out.format("We have %d cores\n", cores.size()); + // init bins + for (int i = 0; i < cores.size(); i++) + allBins.add(new Bin(i)); + + for (CHTask chRtSpecification : operationList.keySet()) { + + String occKind = chRtSpecification.getCHRtSpecification().getOccKind(); + OccKindInfo info = QueryUtils.getOccKindInfo(occKind); + + double c_ = QueryUtils.getWCET(chRtSpecification.getCHRtSpecification()); + /* add the wcet for each operation relative to this chrtspec */ + for (CHTask spec : operationList.get(chRtSpecification)) { + double c_1 = QueryUtils.getWCET(spec.getCHRtSpecification()); + c_ += c_1; + } + StringParser sp = new StringParser(); + double d_ = sp.getValueNFP(chRtSpecification.getCHRtSpecification().getRlDl()); + double t_ = info.value; + + // d_ = xxx.remove(0); + // t_ = d_; + + String name = getTaskID(chRtSpecification.getCHRtSpecification()); + + float c = (float) c_;// exec time + float d = (float) d_;// deadline + float t = (float) t_;// period + float o = 0;// TODO insert offset in stereotype + + double u_ = c / t; + float u = (float) u_; + + System.out.println("Task " + name + " -> " + c + " " + d + " " + t + " -> " + u); + allTasks.add(new Task(name, new Float(c), new Float(d), new Float(t), new Float(o), null)); + + } + + Map<Bin, List<Task>> firstPack = BinPackerFactory.getBinPacker(org.polarsys.chess.multicore.partitioning.Heuristic.WORST_FIT).pack(allBins, allTasks); + Map<Bin, List<Task>> reductionTree = new Hashtable<Bin, List<Task>>(firstPack); + + useRUN = reductionTree.size() > allBins.size(); + if (forceUseOfRUN) + useRUN = true; + + if (useRUN) { + System.out.println("Starting RUN packing"); + allTasks = new ArrayList<Task>(); + for (Bin bin : reductionTree.keySet()) + allTasks.add(new Task(bin.getId().toString(), bin.getCapacity())); + reductionTree = new RUNReduction().pack(null, allTasks); + for (java.util.Map.Entry<Bin, List<Task>> row : reductionTree.entrySet()) { + System.out.print("LEVEL " + row.getKey().getLevel() + "-" + row.getKey().getId() + "(U=" + row.getKey().getCapacity() + ") -> {"); + for (Task t : row.getValue()) + System.out.print(" " + t.getId() + ","); + System.out.println("}"); + } + buildRUNAssociations(firstPack, reductionTree); + } else + // Build model results + buildAssociations(firstPack); + } + + /** + * Builds the RUN associations. + * + * @param firstPack the first pack + * @param reductionTree the reduction tree + * @throws ModelError the model error + */ + private void buildRUNAssociations(Map<Bin, List<Task>> firstPack, Map<Bin, List<Task>> reductionTree) throws ModelError { + // add chtasks which represent real tasks to the core map and add the + // related operation chain to the same core + // TODO solve the following problem: the related operations may be shared + // between tasks which can be assigned to different cores! + + core2supertask = new HashMap<SupertaskInfo, LinkedHashSet<Object>>(); + + Object[] firstPackSorted = firstPack.entrySet().toArray(); + Arrays.sort(firstPackSorted, new Comparator<Object>() { + + @Override + public int compare(Object o1, Object o2) { + if (((Entry<Bin, List<Task>>) o1).getKey().getId() > ((Entry<Bin, List<Task>>) o2).getKey().getId()) + return 1; + else if (((Entry<Bin, List<Task>>) o1).getKey().getId() < ((Entry<Bin, List<Task>>) o2).getKey().getId()) + return -1; + else + return 0; + } + }); + + Object[] allBins = reductionTree.keySet().toArray(); + Arrays.sort(allBins, new Comparator<Object>() { + + @Override + public int compare(Object o1, Object o2) { + if (((Bin) o1).getLevel() > ((Bin) o2).getLevel()) + return -1; + else if (((Bin) o1).getLevel() < ((Bin) o2).getLevel()) + return 1; + else + return 0; + } + }); + + // DEPTH-FIRST print + // root level + + CH_HwProcessor procInstance = QueryUtils.getAllProcessorInstances(umlModel).get(0); + + int maxLevel = ((Bin) allBins[0]).getLevel(); + System.out.println("-- Primary Schedulers\n"); + System.out.println("Scheduler ("); + System.out.println(" Type => Primary_Scheduler,"); + System.out.println(" Name => Scheduler_1,"); + System.out.println(" Policy => ( Type => RUN ),"); + System.out.println(" Host => Multicore_1 );");// TODO: depends on CHRT + // specification + System.out.println("\n-- Primary Scheduling Servers and Secondary Schedulers\n"); + int indexSupertask = 0; + // all levels of the tree in the interval (root,0] + supertaskInfoList = new ArrayList<SupertaskInfo>(); + for (int i = 1; (i < allBins.length) && (((Bin) allBins[i]).getLevel() >= 0); i++) { + createSupertaskInfo(procInstance, indexSupertask, ((Bin) allBins[i]).getCapacity()); + + assignedOperations = new HashSet<CHTask>(); + // first pack: print leaf nodes + if (((Bin) allBins[i]).getLevel() == 0) { + List<Task> tasks = reductionTree.get(((Bin) allBins[i])); + LinkedHashSet<Object> list = new LinkedHashSet<Object>(); + for (Task task : tasks) { + List<Task> leaves = ((Entry<Bin, List<Task>>) firstPackSorted[new Integer(task.getId())]).getValue(); + for (Task leaf : leaves) { + System.out.println("Scheduling_Server ("); + System.out.println(" Type => Regular,"); + System.out.println(" Name => " + leaf.getId() + ","); + System.out.println(" Server_Sched_Parameters => ("); + System.out.println(" Type => EDF_policy,"); + System.out.println(" Deadline => " + leaf.getT() + ","); + System.out.println(" Preassigned => No),"); + System.out.println(" Scheduler => SecondaryScheduler_" + indexSupertask + ");"); + System.out.println(); + + CHTask owningTask = getCHRTFromTask(leaf); + list.add(owningTask); + addRelatedOperations(owningTask, list); + + } + + } + core2supertask.put(supertaskInfoList.get(indexSupertask), list); + } + indexSupertask++; + } + } + + /** + * Creates the supertask info. + * + * @param ch_HwProcessor the ch hw processor + * @param indexSupertask the index supertask + * @param capacity the capacity + */ + private void createSupertaskInfo(CH_HwProcessor ch_HwProcessor, int indexSupertask, Float capacity) { + SupertaskInfo si = new SupertaskInfo(ch_HwProcessor.getBase_InstanceSpecification(), "SuperTask_" + indexSupertask, capacity); + supertaskInfoList.add(si); + System.out.println("--*************** BRANCH ***************"); + System.out.println("Scheduling_Server ("); + System.out.println(" Type => Regular,"); + System.out.println(" Name => SuperTask_" + indexSupertask + ","); + System.out.println(" Server_Sched_parameters => ( Type => RUN_Supertask,"); + System.out.println(" Utilization => " + capacity + " ),"); // FIXME: + // utilization + // is + // not + // expressed + // as U + // in + // Geoffrey's + // example + System.out.println(" Scheduler => Scheduler_1 );"); + System.out.println(); + System.out.println("Scheduler ("); + System.out.println(" Type => Secondary_Scheduler,"); + System.out.println(" Name => SecondaryScheduler_" + indexSupertask + ","); + System.out.println(" Policy => ( Type => EDF,"); + System.out.println(" Worst_Context_Switch => 20 ),");// FIXME: based on + // Compagnin paper + // at ECRTS2014 + System.out.println(" Server => SuperTask_" + indexSupertask + " );"); + System.out.println(); + } + + /** + * Builds the associations. + * + * @param firstPack the first pack + */ + public void buildAssociations(Map<Bin, List<Task>> firstPack) { + // add chtasks which represent real tasks to the core map and add the + // related operation chain to the same core + // TODO solve the following problem: the related operations may be shared + // between tasks which can be assigned to different cores! + + core2chtask = new HashMap<CHCore, LinkedHashSet<Object>>(); + int coreIndex = 0; + for (Bin core : firstPack.keySet()) { + assignedOperations = new HashSet<CHTask>(); + LinkedHashSet<Object> list = new LinkedHashSet<Object>(); + for (Task task : firstPack.get(core)) { + CHTask owningTask = getCHRTFromTask(task); + list.add(owningTask); + addRelatedOperations(owningTask, list); + } + core2chtask.put(cores.get(coreIndex++), list); + } + } + + // the related operations of a task are assigned to the same core of the task, + // TODO for now every operation shared by multiple tasks is assigned to the + /** + * Adds the related operations. + * + * @param owningTask the owning task + * @param list the list + */ + // same core of the first task that was processed + private void addRelatedOperations(CHTask owningTask, LinkedHashSet<Object> list) { + for (CHTask operation : operationList.get(owningTask)) { + if (!assignedOperations.contains(operation)) { + list.add(operation); + assignedOperations.add(operation); + } + } + } + + /** + * Gets the task ID. + * + * @param chRtSpecification the ch rt specification + * @return the task ID + */ + private String getTaskID(CHRtSpecification chRtSpecification) { + return chRtSpecification.getContext().getName() + UMLUtils.getElementID(chRtSpecification.getContext()); + } + + /** + * Gets the CHRT from task. + * + * @param task the task + * @return the CHRT from task + */ + private CHTask getCHRTFromTask(Task task) { + for (CHTask chtask : operationList.keySet()) { + if (getTaskID(chtask.getCHRtSpecification()).equals(task.getId())) + return chtask; + } + return null; + } + + /** + * Prints the content. + */ + private void printContent() { + System.out.println("Tasks:"); + for (CHTask chtask : operationList.keySet()) { + System.out.println(chtask); + } + } + + /** + * Update model. + */ + protected void updateModel() { + boolean b1 = core2chtask != null && !core2chtask.isEmpty(); + boolean b2 = core2supertask != null && !core2supertask.isEmpty(); + + if (b1 || b2) { + + TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(umlModel); + editingDomain.getCommandStack().execute(new Com(editingDomain)); + } + } + + /** + * Query content. + * + * @param owner the owner + * @throws ModelError the model error + */ + protected void queryContent(Model owner) throws ModelError { + EList<CH_HwProcessor> x = QueryUtils.getAllProcessorInstances(umlModel); + x = QueryUtils.filterMultiCoreProcessors(x); + if (x.size() > 1) + throw new ModelError("Assignment generation works only on single processor systems"); + + // Look for Packages stereotyped as CHGAResourcePlatform in the Deployment + // View + EList<Package> packages = QueryUtils.getResourcePlatformPackages(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + + if (packages.size() == 0) { + ModelError me = new ModelError("Error in model: no Package stereotyped as CHGAResourcePlatform in the Deployment View!"); + throw me; + } + hwSystemsList = new BasicEList<InstanceSpecification>(); + + for (Package pack : packages) { + EList<InstanceSpecification> processors = new BasicEList<InstanceSpecification>(); + for (CH_HwProcessor ch_processor : QueryUtils.getAllProcessorInstancesInPackage(pack)) { + InstanceSpecification instSpec = ch_processor.getBase_InstanceSpecification(); + processors.add(instSpec); + EList<CHCore> theCores = QueryUtils.getCores(ch_processor); + coresMap.put(instSpec, theCores); + cores.addAll(theCores); + } + InstanceSpecification theSystem = UMLUtils.getRootInstanceInPackage(pack); + hwSystemsList.add(theSystem); + processorsMap.put(pack, processors); + } + + if (hwSystemsList.isEmpty()) { + ModelError me = new ModelError("Error in model: no System in the Deployment View!"); + throw me; + } + + EList<InstanceSpecification> instances = UMLUtils.getAllComponentInstances(umlModel, true); + EList<CHTask> chtasks = QueryUtils.getCHTasksList(instances); + + operationList = QueryUtils.getOperationChain(umlModel, chtasks); + + } + + /** + * The Class Com. + */ + class Com extends RecordingCommand { + + /** + * Instantiates a new com. + * + * @param domain the domain + */ + public Com(TransactionalEditingDomain domain) { + super(domain); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() + */ + @Override + protected void doExecute() { + try { + QueryUtils.deleteTask2CoreAssociations(hwSystem); + if (!useRUN) + GeneratorUtils.buildTask2CoreAssociations(hwSystem, core2chtask); + else + GeneratorUtils.buildTask2SuperTaskAssociations(hwSystem, core2supertask, supertaskInfoList); + + } catch (Exception e) { + throw new OperationCanceledException(e.getMessage()); + } + } + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java index 61859b9e3..9d244a5c3 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/GenerateTask2CoreAssignmentsUsingRUNCommand.java @@ -1,36 +1,43 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; - -import org.polarsys.chess.core.util.uml.ModelError; - - -/** - * The Class GenerateTask2CoreAssignmentsUsingRUNCommand. - */ -public class GenerateTask2CoreAssignmentsUsingRUNCommand extends GenerateTask2CoreAssignmentsCommand { - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.commands.GenerateTask2CoreAssignmentsCommand#execute() - */ - @Override - public void execute() throws ModelError { - queryContent(umlModel); - executeTask2CoreCalculator(true); - updateModel(); - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.commands; + +import org.polarsys.chess.core.util.uml.ModelError; + + +/** + * The Class GenerateTask2CoreAssignmentsUsingRUNCommand. + */ +public class GenerateTask2CoreAssignmentsUsingRUNCommand extends GenerateTask2CoreAssignmentsCommand { + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.commands.GenerateTask2CoreAssignmentsCommand#execute() + */ + @Override + public void execute() throws ModelError { + queryContent(umlModel); + executeTask2CoreCalculator(true); + updateModel(); + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/commands/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java index a19cf5753..b374255c0 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/CoreSelectorDialog.java @@ -1,602 +1,609 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.dialogs; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.Map; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jface.dialogs.TrayDialog; -import org.eclipse.jface.viewers.DoubleClickEvent; -import org.eclipse.jface.viewers.IDoubleClickListener; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.jface.viewers.ISelectionChangedListener; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.SelectionChangedEvent; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; -import org.eclipse.papyrus.infra.widgets.Activator; -import org.eclipse.papyrus.infra.widgets.editors.IElementSelectionListener; -import org.eclipse.papyrus.infra.widgets.messages.Messages; -import org.eclipse.papyrus.infra.widgets.providers.CollectionContentProvider; -import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; -import org.eclipse.swt.SWT; -import org.eclipse.swt.custom.ScrolledComposite; -import org.eclipse.swt.events.ControlAdapter; -import org.eclipse.swt.events.ControlEvent; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.events.SelectionListener; -import org.eclipse.swt.layout.FillLayout; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.layout.RowData; -import org.eclipse.swt.layout.RowLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.swt.widgets.Tree; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.utils.QueryUtils; - -/** - * The Class CoreSelectorDialog. - */ -public class CoreSelectorDialog extends TrayDialog implements - SelectionListener, ISelectionChangedListener, IDoubleClickListener, IElementSelectionListener { - - /** The Constant PARTITIONS_TO_CORES. */ - public static final int PARTITIONS_TO_CORES = 0; - - /** The Constant COMPONENTS_TO_CORES. */ - public static final int COMPONENTS_TO_CORES = 1; - - /** The Constant TASKS_TO_CORES. */ - public static final int TASKS_TO_CORES = 2; - - /** The cores. */ - private EList<CHCore> cores; - - /** The map. */ - Map<CHCore, LinkedHashSet<Object>> map; - - /** The selector section. */ - private Composite selectorSection; - - /** The buttons section. */ - private Composite buttonsSection; - - /** The add. */ - private Button add; - - /** The remove. */ - private Button remove; - - /** The add all. */ - private Button addAll; - - /** The remove all. */ - private Button removeAll; - - /** The selected elements. */ - private Tree selectedElements; - - /** The label provider. */ - //private TreeViewer selectedElementsViewer; - private ILabelProvider labelProvider; - //@Deprecated - //protected final Collection<Object> allElements; - /** The selector. */ - //private TreeViewer treeViewer; - private ReferenceSelector selector; - - /** The partition selected. */ - private CHCore partitionSelected; - - /** The selected elements viewers. */ - private HashMap<CHCore, TreeViewer> selectedElementsViewers; - - /** The result. */ - private Map<CHCore, LinkedHashSet<Object>> result; - - /** - * Open core selector dialog for Assign partition to cores or assign components to cores or assign tasks to cores. - * - * @param parentShell the parent shell - * @param referenceSelector the reference selector - * @param cores the cores - * @param pack the pack - * @param assignments the assignments - * @param mode PARTITIONS_TO_CORES | COMPONENTS_TO_CORES | TASKS_TO_CORES - * @param title the title - */ - public CoreSelectorDialog(Shell parentShell, - ReferenceSelector referenceSelector, - EList<CHCore> cores, org.eclipse.uml2.uml.Package pack, EList<Assign> assignments, int mode, String title) { - // super(parentShell, selector, title, unique, ordered, upperBound); - super(parentShell); - this.cores = cores; - this.selector = referenceSelector; - map = new HashMap<CHCore, LinkedHashSet<Object>>(); - if(mode==PARTITIONS_TO_CORES) { - for (CHCore core : cores) { - // LB 20150708 look at assignments that already exist in the model before opening the selector - LinkedHashSet<Object> theCoresPartitions = QueryUtils.getPartitionsAssigned2Core(core, assignments); - map.put(core, theCoresPartitions); - //map.put(core, new LinkedHashSet<Object>()); - } - } - if(mode==COMPONENTS_TO_CORES) { - for (CHCore core : cores) { - // LB 20150708 look at assignments that already exist in the model before opening the selector - LinkedHashSet<Object> theCoresComponents = QueryUtils.getComponentsAssigned2Core(core, assignments); - map.put(core, theCoresComponents); - } - } - if(mode==TASKS_TO_CORES) { - for (CHCore core : cores) { - // LB 20150708 look at assignments that already exist in the model before opening the selector - LinkedHashSet<Object> theCoresTasks = QueryUtils.getTasksAssigned2Core(core, pack, assignments); - map.put(core, theCoresTasks); - } - } - //this.allElements = new LinkedHashSet<Object>(); - - selector.addElementSelectionListener(this); - - selectedElementsViewers = new HashMap<CHCore, TreeViewer>(); - setTitle(title); - } - - /** - * Gets the display. - * - * @return the display - */ - public static Display getDisplay() { - Display display = Display.getCurrent(); - // may be null if outside the UI thread - if (display == null) - display = Display.getDefault(); - return display; - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite) - */ - @Override - protected Control createDialogArea(Composite parent) { - GridLayout layout = (GridLayout) parent.getLayout(); - layout.numColumns = 2; - layout.makeColumnsEqualWidth = true; - - - - Composite selectorPane = new Composite(parent, SWT.NONE); - selectorPane.setLayout(new GridLayout(1, false)); - selectorPane - .setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - - final ScrolledComposite sc2 = new ScrolledComposite(parent, - SWT.V_SCROLL | SWT.BORDER); - sc2.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - sc2.setExpandHorizontal(true); - sc2.setExpandVertical(true); - - final Composite selectedPane = new Composite(sc2, SWT.NONE); - selectedPane.setLayout(new GridLayout(1,false)); - selectedPane - .setLayoutData(new GridData(SWT.RIGHT, SWT.FILL, true, true)); - for (CHCore object : cores) { - Composite selectedPane_ = new Composite(selectedPane, SWT.NONE); - selectedPane_.setLayout(new GridLayout(2, false)); - selectedPane_.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - - createListSection(object, selectedPane_); - } - - sc2.setContent(selectedPane); - sc2.setMinSize(sc2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); - - - sc2.addControlListener(new ControlAdapter() { - @Override - public void controlResized(ControlEvent e) { - sc2.setMinSize(sc2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); - } - }); - - createSelectorSection(selectorPane); - - - return super.createDialogArea(parent); - } - - /** - * Creates the selector section. - * - * @param parent the parent - */ - private void createSelectorSection(Composite parent) { - selectorSection = new Composite(parent, SWT.NONE); - selectorSection.setLayout(new FillLayout()); - selectorSection.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, - true)); - - selector.createControls(selectorSection); - //selector.setSelectedElements(allElements.toArray()); - - - } - - /** - * Creates the controls section. - * - * @param partition the partition - * @param parent the parent - */ - private void createControlsSection(CHCore partition, - Composite parent) { - buttonsSection = new Composite(parent, SWT.NONE); - buttonsSection.setLayout(new GridLayout(1, true)); - - add = new Button(buttonsSection, SWT.PUSH); - add.setImage(Activator.getDefault().getImage("/icons/arrow_right.gif")); //$NON-NLS-1$ - add.addSelectionListener(this); - add.setToolTipText(Messages.MultipleValueSelectorDialog_AddSelectedElements); - add.setData(new WidgetData(WidgetData.ADD, partition)); - - remove = new Button(buttonsSection, SWT.PUSH); - remove.setImage(Activator.getDefault() - .getImage("/icons/arrow_left.gif")); //$NON-NLS-1$ - remove.addSelectionListener(this); - remove.setToolTipText(Messages.MultipleValueEditor_RemoveSelectedElements); - remove.setData(new WidgetData(WidgetData.REMOVE, partition)); - - addAll = new Button(buttonsSection, SWT.PUSH); - addAll.setImage(Activator.getDefault().getImage( - "/icons/arrow_double.gif")); //$NON-NLS-1$ - addAll.addSelectionListener(this); - addAll.setToolTipText(Messages.MultipleValueSelectorDialog_AddAllElements); - addAll.setData(new WidgetData(WidgetData.AALL, partition)); - - removeAll = new Button(buttonsSection, SWT.PUSH); - removeAll.setImage(Activator.getDefault().getImage( - "/icons/arrow_left_double.gif")); //$NON-NLS-1$ - removeAll.addSelectionListener(this); - removeAll - .setToolTipText(Messages.MultipleValueSelectorDialog_RemoveAllElements); - removeAll.setData(new WidgetData(WidgetData.RALL, partition)); - } - - /** - * Gets the instance specification name. - * - * @param instanceSpecification the instance specification - * @return the instance specification name - */ - private String getInstanceSpecificationName( - CHCore instanceSpecification) { - - return instanceSpecification.toString(); - } - - /** - * Creates the list section. - * - * @param core the core - * @param parent the parent - */ - private void createListSection(CHCore core, - Composite parent) { - - Label lbl = new Label(parent, SWT.NONE); - lbl.setText(getInstanceSpecificationName(core)); - - GridData lLbl = new GridData(SWT.CENTER, SWT.TOP, true, true, 2, 1); - // gd_lblNewLabel.horizontalIndent = 1; - lbl.setLayoutData(lLbl); - - createControlsSection(core, parent); - - selectedElements = new Tree(parent, SWT.MULTI | SWT.BORDER - | SWT.V_SCROLL | SWT.H_SCROLL); - // selectedElements.addSelectionListener(this); - GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); - selectedElements.setLayoutData(data); - - - TreeViewer selectedElementsViewer = new TreeViewer(selectedElements); - - selectedElementsViewer.addSelectionChangedListener(this); - selectedElementsViewer.addDoubleClickListener(this); - - selectedElementsViewer - .setContentProvider(CollectionContentProvider.instance); - - if (labelProvider != null) { - selectedElementsViewer.setLabelProvider(labelProvider); - } - - selectedElementsViewer.setInput(map.get(core)); - - selectedElementsViewers.put(core, selectedElementsViewer); - - - //selector.setSelectedElements(allElements.toArray()); - - } - - /** - * The Class WidgetData. - */ - class WidgetData { - - /** The type. */ - int type; - - /** The partition. */ - CHCore partition; - - /** The Constant AALL. */ - final static int ADD = 1, REMOVE = 2, RALL = 3, AALL = 4; - - /** - * Instantiates a new widget data. - * - * @param type the type - * @param partition the partition - */ - public WidgetData(int type, CHCore partition) { - this.partition = partition; - this.type = type; - } - } - - /* (non-Javadoc) - * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) - */ - @Override - public void widgetSelected(SelectionEvent e) { - Object data = e.widget.getData(); - if (data != null && data instanceof WidgetData) { - WidgetData wData = (WidgetData) data; - if (wData.type == WidgetData.ADD) { - addAction(wData.partition); - } else if (wData.type == WidgetData.REMOVE) { - removeAction(wData.partition); - } else if (wData.type == WidgetData.AALL) { - addAllAction(wData.partition); - } else if (wData.type == WidgetData.RALL) { - removeAllAction(wData.partition); - } - } - } - - - - /** - * Removes the all action. - * - * @param partition the partition - */ - private void removeAllAction(CHCore partition) { - TreeViewer selectedElementsViewer = selectedElementsViewers.get(partition); - - LinkedHashSet<Object> el = new LinkedHashSet<Object>(); - for (LinkedHashSet<Object> values : map.values()) { - el.addAll(values); - } - - - - LinkedHashSet<Object> el1 = map.get(partition); - - for(Object element : el1.toArray()) { - el.remove(element); - el1.remove(element); - } - - selector.setSelectedElements(el.toArray()); - selectedElementsViewer.setSelection(null); - selectedElementsViewer.refresh(); - } - - /** - * Adds the all action. - * - * @param partition the partition - */ - private void addAllAction(CHCore partition) { - Object[] elements = selector.getAllElements(); - partitionSelected = partition; - addElements(elements); - } - - /** - * Removes the action. - * - * @param partition the partition - */ - private void removeAction(CHCore partition) { - TreeViewer selectedElementsViewer = selectedElementsViewers.get(partition); - - LinkedHashSet<Object> el = new LinkedHashSet<Object>(); - for (LinkedHashSet<Object> values : map.values()) { - el.addAll(values); - } - - IStructuredSelection selection = (IStructuredSelection)selectedElementsViewer.getSelection(); - if(selection.isEmpty()) { - return; - } - - LinkedHashSet<Object> el1 = map.get(partition); - - for(Object element : selection.toArray()) { - el.remove(element); - el1.remove(element); - } - - selector.setSelectedElements(el.toArray()); - selectedElementsViewer.setSelection(null); - selectedElementsViewer.refresh(); - } - - /** - * Adds the action. - * - * @param partition the partition - */ - private void addAction(CHCore partition) { - Object[] elements = selector.getSelectedElements(); - partitionSelected = partition; - addElements(elements); - } - - /** - * Gets the selected elements. - * - * @return the selected elements - */ - private InstanceSpecification[] getSelectedElements() { - return null; - /*ISelection selection = treeViewer.getSelection(); - - if(selection instanceof IStructuredSelection) { - Object[] containerElementsToMove = getElementsToMove(((IStructuredSelection)selection).toArray()); - Object[] semanticElementsToMove = getSemanticElements(containerElementsToMove); - addSelectedElements(semanticElementsToMove); - return semanticElementsToMove; - } - - return new Object[0];*/ - } - - - /* (non-Javadoc) - * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent) - */ - @Override - public void widgetDefaultSelected(SelectionEvent e) { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see org.eclipse.jface.viewers.IDoubleClickListener#doubleClick(org.eclipse.jface.viewers.DoubleClickEvent) - */ - @Override - public void doubleClick(DoubleClickEvent event) { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent) - */ - @Override - public void selectionChanged(SelectionChangedEvent event) { - // TODO Auto-generated method stub - - } - - /** - * Sets the label provider. - * - * @param serv the new label provider - */ - public void setLabelProvider(ILabelProvider serv) { - labelProvider = serv; - } - - /** - * Sets the message. - * - * @param string the new message - */ - public void setMessage(String string) { - // TODO Auto-generated method stub - } - - /** - * Sets the title. - * - * @param string the new title - */ - public void setTitle(String string) { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see org.eclipse.papyrus.infra.widgets.editors.IElementSelectionListener#addElements(java.lang.Object[]) - */ - @Override - public void addElements(Object[] elements) { - if(elements != null && partitionSelected != null) { - - - Collection<InstanceSpecification> t = new ArrayList<InstanceSpecification>(); - LinkedHashSet<Object> l = map.get(partitionSelected); - - l.addAll(Arrays.asList(elements)); - - TreeViewer selectedElementsViewer = selectedElementsViewers.get(partitionSelected); - selectedElementsViewer.refresh(); - - } - } - - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#okPressed() - */ - @Override - protected void okPressed() { - setResult(map); - - super.okPressed(); - } - - - /** - * Sets the result. - * - * @param map_ the map - */ - protected void setResult(Map<CHCore, LinkedHashSet<Object>> map_) { - result = map_; - } - - - /** - * Gets the result. - * - * @return the result - */ - public Map<CHCore, LinkedHashSet<Object>> getResult() { - return result; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.dialogs; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.HashMap; +import java.util.LinkedHashSet; +import java.util.Map; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jface.dialogs.TrayDialog; +import org.eclipse.jface.viewers.DoubleClickEvent; +import org.eclipse.jface.viewers.IDoubleClickListener; +import org.eclipse.jface.viewers.ILabelProvider; +import org.eclipse.jface.viewers.ISelectionChangedListener; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.viewers.SelectionChangedEvent; +import org.eclipse.jface.viewers.TreeViewer; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; +import org.eclipse.papyrus.infra.widgets.Activator; +import org.eclipse.papyrus.infra.widgets.editors.IElementSelectionListener; +import org.eclipse.papyrus.infra.widgets.messages.Messages; +import org.eclipse.papyrus.infra.widgets.providers.CollectionContentProvider; +import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector; +import org.eclipse.swt.SWT; +import org.eclipse.swt.custom.ScrolledComposite; +import org.eclipse.swt.events.ControlAdapter; +import org.eclipse.swt.events.ControlEvent; +import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.events.SelectionListener; +import org.eclipse.swt.layout.FillLayout; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.layout.RowData; +import org.eclipse.swt.layout.RowLayout; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Tree; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.utils.QueryUtils; + +/** + * The Class CoreSelectorDialog. + */ +public class CoreSelectorDialog extends TrayDialog implements + SelectionListener, ISelectionChangedListener, IDoubleClickListener, IElementSelectionListener { + + /** The Constant PARTITIONS_TO_CORES. */ + public static final int PARTITIONS_TO_CORES = 0; + + /** The Constant COMPONENTS_TO_CORES. */ + public static final int COMPONENTS_TO_CORES = 1; + + /** The Constant TASKS_TO_CORES. */ + public static final int TASKS_TO_CORES = 2; + + /** The cores. */ + private EList<CHCore> cores; + + /** The map. */ + Map<CHCore, LinkedHashSet<Object>> map; + + /** The selector section. */ + private Composite selectorSection; + + /** The buttons section. */ + private Composite buttonsSection; + + /** The add. */ + private Button add; + + /** The remove. */ + private Button remove; + + /** The add all. */ + private Button addAll; + + /** The remove all. */ + private Button removeAll; + + /** The selected elements. */ + private Tree selectedElements; + + /** The label provider. */ + //private TreeViewer selectedElementsViewer; + private ILabelProvider labelProvider; + //@Deprecated + //protected final Collection<Object> allElements; + /** The selector. */ + //private TreeViewer treeViewer; + private ReferenceSelector selector; + + /** The partition selected. */ + private CHCore partitionSelected; + + /** The selected elements viewers. */ + private HashMap<CHCore, TreeViewer> selectedElementsViewers; + + /** The result. */ + private Map<CHCore, LinkedHashSet<Object>> result; + + /** + * Open core selector dialog for Assign partition to cores or assign components to cores or assign tasks to cores. + * + * @param parentShell the parent shell + * @param referenceSelector the reference selector + * @param cores the cores + * @param pack the pack + * @param assignments the assignments + * @param mode PARTITIONS_TO_CORES | COMPONENTS_TO_CORES | TASKS_TO_CORES + * @param title the title + */ + public CoreSelectorDialog(Shell parentShell, + ReferenceSelector referenceSelector, + EList<CHCore> cores, org.eclipse.uml2.uml.Package pack, EList<Assign> assignments, int mode, String title) { + // super(parentShell, selector, title, unique, ordered, upperBound); + super(parentShell); + this.cores = cores; + this.selector = referenceSelector; + map = new HashMap<CHCore, LinkedHashSet<Object>>(); + if(mode==PARTITIONS_TO_CORES) { + for (CHCore core : cores) { + // LB 20150708 look at assignments that already exist in the model before opening the selector + LinkedHashSet<Object> theCoresPartitions = QueryUtils.getPartitionsAssigned2Core(core, assignments); + map.put(core, theCoresPartitions); + //map.put(core, new LinkedHashSet<Object>()); + } + } + if(mode==COMPONENTS_TO_CORES) { + for (CHCore core : cores) { + // LB 20150708 look at assignments that already exist in the model before opening the selector + LinkedHashSet<Object> theCoresComponents = QueryUtils.getComponentsAssigned2Core(core, assignments); + map.put(core, theCoresComponents); + } + } + if(mode==TASKS_TO_CORES) { + for (CHCore core : cores) { + // LB 20150708 look at assignments that already exist in the model before opening the selector + LinkedHashSet<Object> theCoresTasks = QueryUtils.getTasksAssigned2Core(core, pack, assignments); + map.put(core, theCoresTasks); + } + } + //this.allElements = new LinkedHashSet<Object>(); + + selector.addElementSelectionListener(this); + + selectedElementsViewers = new HashMap<CHCore, TreeViewer>(); + setTitle(title); + } + + /** + * Gets the display. + * + * @return the display + */ + public static Display getDisplay() { + Display display = Display.getCurrent(); + // may be null if outside the UI thread + if (display == null) + display = Display.getDefault(); + return display; + } + + /* (non-Javadoc) + * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite) + */ + @Override + protected Control createDialogArea(Composite parent) { + GridLayout layout = (GridLayout) parent.getLayout(); + layout.numColumns = 2; + layout.makeColumnsEqualWidth = true; + + + + Composite selectorPane = new Composite(parent, SWT.NONE); + selectorPane.setLayout(new GridLayout(1, false)); + selectorPane + .setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); + + final ScrolledComposite sc2 = new ScrolledComposite(parent, + SWT.V_SCROLL | SWT.BORDER); + sc2.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); + sc2.setExpandHorizontal(true); + sc2.setExpandVertical(true); + + final Composite selectedPane = new Composite(sc2, SWT.NONE); + selectedPane.setLayout(new GridLayout(1,false)); + selectedPane + .setLayoutData(new GridData(SWT.RIGHT, SWT.FILL, true, true)); + for (CHCore object : cores) { + Composite selectedPane_ = new Composite(selectedPane, SWT.NONE); + selectedPane_.setLayout(new GridLayout(2, false)); + selectedPane_.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); + + createListSection(object, selectedPane_); + } + + sc2.setContent(selectedPane); + sc2.setMinSize(sc2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); + + + sc2.addControlListener(new ControlAdapter() { + @Override + public void controlResized(ControlEvent e) { + sc2.setMinSize(sc2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); + } + }); + + createSelectorSection(selectorPane); + + + return super.createDialogArea(parent); + } + + /** + * Creates the selector section. + * + * @param parent the parent + */ + private void createSelectorSection(Composite parent) { + selectorSection = new Composite(parent, SWT.NONE); + selectorSection.setLayout(new FillLayout()); + selectorSection.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, + true)); + + selector.createControls(selectorSection); + //selector.setSelectedElements(allElements.toArray()); + + + } + + /** + * Creates the controls section. + * + * @param partition the partition + * @param parent the parent + */ + private void createControlsSection(CHCore partition, + Composite parent) { + buttonsSection = new Composite(parent, SWT.NONE); + buttonsSection.setLayout(new GridLayout(1, true)); + + add = new Button(buttonsSection, SWT.PUSH); + add.setImage(Activator.getDefault().getImage("/icons/arrow_right.gif")); //$NON-NLS-1$ + add.addSelectionListener(this); + add.setToolTipText(Messages.MultipleValueSelectorDialog_AddSelectedElements); + add.setData(new WidgetData(WidgetData.ADD, partition)); + + remove = new Button(buttonsSection, SWT.PUSH); + remove.setImage(Activator.getDefault() + .getImage("/icons/arrow_left.gif")); //$NON-NLS-1$ + remove.addSelectionListener(this); + remove.setToolTipText(Messages.MultipleValueEditor_RemoveSelectedElements); + remove.setData(new WidgetData(WidgetData.REMOVE, partition)); + + addAll = new Button(buttonsSection, SWT.PUSH); + addAll.setImage(Activator.getDefault().getImage( + "/icons/arrow_double.gif")); //$NON-NLS-1$ + addAll.addSelectionListener(this); + addAll.setToolTipText(Messages.MultipleValueSelectorDialog_AddAllElements); + addAll.setData(new WidgetData(WidgetData.AALL, partition)); + + removeAll = new Button(buttonsSection, SWT.PUSH); + removeAll.setImage(Activator.getDefault().getImage( + "/icons/arrow_left_double.gif")); //$NON-NLS-1$ + removeAll.addSelectionListener(this); + removeAll + .setToolTipText(Messages.MultipleValueSelectorDialog_RemoveAllElements); + removeAll.setData(new WidgetData(WidgetData.RALL, partition)); + } + + /** + * Gets the instance specification name. + * + * @param instanceSpecification the instance specification + * @return the instance specification name + */ + private String getInstanceSpecificationName( + CHCore instanceSpecification) { + + return instanceSpecification.toString(); + } + + /** + * Creates the list section. + * + * @param core the core + * @param parent the parent + */ + private void createListSection(CHCore core, + Composite parent) { + + Label lbl = new Label(parent, SWT.NONE); + lbl.setText(getInstanceSpecificationName(core)); + + GridData lLbl = new GridData(SWT.CENTER, SWT.TOP, true, true, 2, 1); + // gd_lblNewLabel.horizontalIndent = 1; + lbl.setLayoutData(lLbl); + + createControlsSection(core, parent); + + selectedElements = new Tree(parent, SWT.MULTI | SWT.BORDER + | SWT.V_SCROLL | SWT.H_SCROLL); + // selectedElements.addSelectionListener(this); + GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); + selectedElements.setLayoutData(data); + + + TreeViewer selectedElementsViewer = new TreeViewer(selectedElements); + + selectedElementsViewer.addSelectionChangedListener(this); + selectedElementsViewer.addDoubleClickListener(this); + + selectedElementsViewer + .setContentProvider(CollectionContentProvider.instance); + + if (labelProvider != null) { + selectedElementsViewer.setLabelProvider(labelProvider); + } + + selectedElementsViewer.setInput(map.get(core)); + + selectedElementsViewers.put(core, selectedElementsViewer); + + + //selector.setSelectedElements(allElements.toArray()); + + } + + /** + * The Class WidgetData. + */ + class WidgetData { + + /** The type. */ + int type; + + /** The partition. */ + CHCore partition; + + /** The Constant AALL. */ + final static int ADD = 1, REMOVE = 2, RALL = 3, AALL = 4; + + /** + * Instantiates a new widget data. + * + * @param type the type + * @param partition the partition + */ + public WidgetData(int type, CHCore partition) { + this.partition = partition; + this.type = type; + } + } + + /* (non-Javadoc) + * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent) + */ + @Override + public void widgetSelected(SelectionEvent e) { + Object data = e.widget.getData(); + if (data != null && data instanceof WidgetData) { + WidgetData wData = (WidgetData) data; + if (wData.type == WidgetData.ADD) { + addAction(wData.partition); + } else if (wData.type == WidgetData.REMOVE) { + removeAction(wData.partition); + } else if (wData.type == WidgetData.AALL) { + addAllAction(wData.partition); + } else if (wData.type == WidgetData.RALL) { + removeAllAction(wData.partition); + } + } + } + + + + /** + * Removes the all action. + * + * @param partition the partition + */ + private void removeAllAction(CHCore partition) { + TreeViewer selectedElementsViewer = selectedElementsViewers.get(partition); + + LinkedHashSet<Object> el = new LinkedHashSet<Object>(); + for (LinkedHashSet<Object> values : map.values()) { + el.addAll(values); + } + + + + LinkedHashSet<Object> el1 = map.get(partition); + + for(Object element : el1.toArray()) { + el.remove(element); + el1.remove(element); + } + + selector.setSelectedElements(el.toArray()); + selectedElementsViewer.setSelection(null); + selectedElementsViewer.refresh(); + } + + /** + * Adds the all action. + * + * @param partition the partition + */ + private void addAllAction(CHCore partition) { + Object[] elements = selector.getAllElements(); + partitionSelected = partition; + addElements(elements); + } + + /** + * Removes the action. + * + * @param partition the partition + */ + private void removeAction(CHCore partition) { + TreeViewer selectedElementsViewer = selectedElementsViewers.get(partition); + + LinkedHashSet<Object> el = new LinkedHashSet<Object>(); + for (LinkedHashSet<Object> values : map.values()) { + el.addAll(values); + } + + IStructuredSelection selection = (IStructuredSelection)selectedElementsViewer.getSelection(); + if(selection.isEmpty()) { + return; + } + + LinkedHashSet<Object> el1 = map.get(partition); + + for(Object element : selection.toArray()) { + el.remove(element); + el1.remove(element); + } + + selector.setSelectedElements(el.toArray()); + selectedElementsViewer.setSelection(null); + selectedElementsViewer.refresh(); + } + + /** + * Adds the action. + * + * @param partition the partition + */ + private void addAction(CHCore partition) { + Object[] elements = selector.getSelectedElements(); + partitionSelected = partition; + addElements(elements); + } + + /** + * Gets the selected elements. + * + * @return the selected elements + */ + private InstanceSpecification[] getSelectedElements() { + return null; + /*ISelection selection = treeViewer.getSelection(); + + if(selection instanceof IStructuredSelection) { + Object[] containerElementsToMove = getElementsToMove(((IStructuredSelection)selection).toArray()); + Object[] semanticElementsToMove = getSemanticElements(containerElementsToMove); + addSelectedElements(semanticElementsToMove); + return semanticElementsToMove; + } + + return new Object[0];*/ + } + + + /* (non-Javadoc) + * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent) + */ + @Override + public void widgetDefaultSelected(SelectionEvent e) { + // TODO Auto-generated method stub + + } + + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.IDoubleClickListener#doubleClick(org.eclipse.jface.viewers.DoubleClickEvent) + */ + @Override + public void doubleClick(DoubleClickEvent event) { + // TODO Auto-generated method stub + + } + + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent) + */ + @Override + public void selectionChanged(SelectionChangedEvent event) { + // TODO Auto-generated method stub + + } + + /** + * Sets the label provider. + * + * @param serv the new label provider + */ + public void setLabelProvider(ILabelProvider serv) { + labelProvider = serv; + } + + /** + * Sets the message. + * + * @param string the new message + */ + public void setMessage(String string) { + // TODO Auto-generated method stub + } + + /** + * Sets the title. + * + * @param string the new title + */ + public void setTitle(String string) { + // TODO Auto-generated method stub + + } + + /* (non-Javadoc) + * @see org.eclipse.papyrus.infra.widgets.editors.IElementSelectionListener#addElements(java.lang.Object[]) + */ + @Override + public void addElements(Object[] elements) { + if(elements != null && partitionSelected != null) { + + + Collection<InstanceSpecification> t = new ArrayList<InstanceSpecification>(); + LinkedHashSet<Object> l = map.get(partitionSelected); + + l.addAll(Arrays.asList(elements)); + + TreeViewer selectedElementsViewer = selectedElementsViewers.get(partitionSelected); + selectedElementsViewer.refresh(); + + } + } + + + /* (non-Javadoc) + * @see org.eclipse.jface.dialogs.Dialog#okPressed() + */ + @Override + protected void okPressed() { + setResult(map); + + super.okPressed(); + } + + + /** + * Sets the result. + * + * @param map_ the map + */ + protected void setResult(Map<CHCore, LinkedHashSet<Object>> map_) { + result = map_; + } + + + /** + * Gets the result. + * + * @return the result + */ + public Map<CHCore, LinkedHashSet<Object>> getResult() { + return result; + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java index 324d3dff0..5761ac46f 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/SystemSelectionDialog.java @@ -1,154 +1,161 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.dialogs; - -import java.util.List; - -import org.eclipse.jface.dialogs.Dialog; -import org.eclipse.swt.SWT; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Combo; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Package; - -/** - * The Class SystemSelectionDialog. - */ -public class SystemSelectionDialog extends Dialog { - - /** The choose system field. */ - private Combo chooseSystemField; - - /** The selected system name. */ - private String selectedSystemName; - - /** The selected system. */ - private InstanceSpecification selectedSystem; - - /** The title. */ - private String title; - - /** The systems list. */ - private List<InstanceSpecification> systemsList; - - /** - * Instantiates a new system selection dialog. - * - * @param parentShell the parent shell - * @param systemSelection the system selection - * @param title the title - */ - public SystemSelectionDialog(Shell parentShell, List<InstanceSpecification> systemSelection, String title) { - super(parentShell); - systemsList = systemSelection; - this.title = title; - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite) - */ - @Override - protected Control createDialogArea(Composite parent) { - GridLayout layout = new GridLayout(1, false); - - layout.horizontalSpacing = 4; - layout.verticalSpacing = 4; - layout.marginBottom = 5; - layout.marginTop = 5; - - parent.setLayout(layout); - new Label(parent, SWT.NONE).setText("Systems found in model: "); - - GridData gridData = new GridData(GridData.FILL_HORIZONTAL); - chooseSystemField = new Combo(parent, SWT.DROP_DOWN | SWT.READ_ONLY); - for(InstanceSpecification theSystem : systemsList){ - chooseSystemField.add(theSystem.getQualifiedName()); - } - chooseSystemField.setLayoutData(gridData); - - new Label(parent, SWT.NONE).setText(""); - - return parent; - } - - /* (non-Javadoc) - * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell) - */ - @Override - protected void configureShell(Shell shell) { - super.configureShell(shell); - shell.setText(title); - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#isResizable() - */ - @Override - protected boolean isResizable() { - return true; - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#okPressed() - */ - @Override - protected void okPressed() { - setSystemName(chooseSystemField.getText()); - super.okPressed(); - } - - /** - * Sets the system name. - * - * @param qname the new system name - */ - public void setSystemName(String qname) { - this.selectedSystemName = qname; - } - - /** - * Gets the system name. - * - * @return the system name - */ - public String getSystemName() { - return selectedSystemName; - } - - /** - * Gets the selected system. - * - * @return the selected system - */ - public InstanceSpecification getSelectedSystem() { - return selectedSystem; - } - - /** - * Sets the selected system. - * - * @param selectedSystem the new selected system - */ - public void setSelectedSystem(InstanceSpecification selectedSystem) { - this.selectedSystem = selectedSystem; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.dialogs; + +import java.util.List; + +import org.eclipse.jface.dialogs.Dialog; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Combo; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.Package; + +/** + * The Class SystemSelectionDialog. + */ +public class SystemSelectionDialog extends Dialog { + + /** The choose system field. */ + private Combo chooseSystemField; + + /** The selected system name. */ + private String selectedSystemName; + + /** The selected system. */ + private InstanceSpecification selectedSystem; + + /** The title. */ + private String title; + + /** The systems list. */ + private List<InstanceSpecification> systemsList; + + /** + * Instantiates a new system selection dialog. + * + * @param parentShell the parent shell + * @param systemSelection the system selection + * @param title the title + */ + public SystemSelectionDialog(Shell parentShell, List<InstanceSpecification> systemSelection, String title) { + super(parentShell); + systemsList = systemSelection; + this.title = title; + } + + /* (non-Javadoc) + * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite) + */ + @Override + protected Control createDialogArea(Composite parent) { + GridLayout layout = new GridLayout(1, false); + + layout.horizontalSpacing = 4; + layout.verticalSpacing = 4; + layout.marginBottom = 5; + layout.marginTop = 5; + + parent.setLayout(layout); + new Label(parent, SWT.NONE).setText("Systems found in model: "); + + GridData gridData = new GridData(GridData.FILL_HORIZONTAL); + chooseSystemField = new Combo(parent, SWT.DROP_DOWN | SWT.READ_ONLY); + for(InstanceSpecification theSystem : systemsList){ + chooseSystemField.add(theSystem.getQualifiedName()); + } + chooseSystemField.setLayoutData(gridData); + + new Label(parent, SWT.NONE).setText(""); + + return parent; + } + + /* (non-Javadoc) + * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell) + */ + @Override + protected void configureShell(Shell shell) { + super.configureShell(shell); + shell.setText(title); + } + + /* (non-Javadoc) + * @see org.eclipse.jface.dialogs.Dialog#isResizable() + */ + @Override + protected boolean isResizable() { + return true; + } + + /* (non-Javadoc) + * @see org.eclipse.jface.dialogs.Dialog#okPressed() + */ + @Override + protected void okPressed() { + setSystemName(chooseSystemField.getText()); + super.okPressed(); + } + + /** + * Sets the system name. + * + * @param qname the new system name + */ + public void setSystemName(String qname) { + this.selectedSystemName = qname; + } + + /** + * Gets the system name. + * + * @return the system name + */ + public String getSystemName() { + return selectedSystemName; + } + + /** + * Gets the selected system. + * + * @return the selected system + */ + public InstanceSpecification getSelectedSystem() { + return selectedSystem; + } + + /** + * Sets the selected system. + * + * @param selectedSystem the new selected system + */ + public void setSelectedSystem(InstanceSpecification selectedSystem) { + this.selectedSystem = selectedSystem; + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/dialogs/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java index e8456a9a9..20a7daeea 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/AbstractCommand.java @@ -1,92 +1,99 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor; -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.uml2.uml.Model; -import org.polarsys.chess.core.notifications.ResourceNotification; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.ResourceUtils; -import org.polarsys.chess.core.views.DiagramStatus; -import org.polarsys.chess.service.gui.utils.CHESSEditorUtils; - -/** - * The Class AbstractCommand. - */ -public abstract class AbstractCommand extends AbstractHandler { - - /** The uml model. */ - protected Model umlModel; - - /** The event. */ - protected ExecutionEvent event; - - /** The diagram status. */ - protected DiagramStatus diagramStatus; - - /** The editor. */ - protected PapyrusMultiDiagramEditor editor; - - /* (non-Javadoc) - * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) - */ - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - this.event = event; - - editor = CHESSEditorUtils.getCHESSEditor(); - diagramStatus = CHESSEditorUtils.getDiagramStatus(editor); - if (editor == null || diagramStatus == null) - return null; - try { - Resource res = ResourceUtils.getUMLResource(editor - .getServicesRegistry()); - umlModel = ResourceUtils.getModel(res); - if (umlModel != null) { - - try { - execute(); - } catch (ModelError e) { - ResourceNotification.showInfo("Problems with the model. " + e.getCause() + ": " + e.getMessage()); - } catch (Exception e) { - e.printStackTrace(); - ResourceNotification.showError("Unexpected error: " + e.toString()); - } - - - - } - } catch (ServiceException e) { - e.printStackTrace(); - } - return null; - } - - /** - * Execute. - * - * @throws ModelError the model error - * @throws Exception the exception - */ - public abstract void execute() throws ModelError, Exception; - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.uml2.uml.Model; +import org.polarsys.chess.core.notifications.ResourceNotification; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.ResourceUtils; +import org.polarsys.chess.core.views.DiagramStatus; +import org.polarsys.chess.service.gui.utils.CHESSEditorUtils; + +/** + * The Class AbstractCommand. + */ +public abstract class AbstractCommand extends AbstractHandler { + + /** The uml model. */ + protected Model umlModel; + + /** The event. */ + protected ExecutionEvent event; + + /** The diagram status. */ + protected DiagramStatus diagramStatus; + + /** The editor. */ + protected PapyrusMultiDiagramEditor editor; + + /* (non-Javadoc) + * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) + */ + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + this.event = event; + + editor = CHESSEditorUtils.getCHESSEditor(); + diagramStatus = CHESSEditorUtils.getDiagramStatus(editor); + if (editor == null || diagramStatus == null) + return null; + try { + Resource res = ResourceUtils.getUMLResource(editor + .getServicesRegistry()); + umlModel = ResourceUtils.getModel(res); + if (umlModel != null) { + + try { + execute(); + } catch (ModelError e) { + ResourceNotification.showInfo("Problems with the model. " + e.getCause() + ": " + e.getMessage()); + } catch (Exception e) { + e.printStackTrace(); + ResourceNotification.showError("Unexpected error: " + e.toString()); + } + + + + } + } catch (ServiceException e) { + e.printStackTrace(); + } + return null; + } + + /** + * Execute. + * + * @throws ModelError the model error + * @throws Exception the exception + */ + public abstract void execute() throws ModelError, Exception; + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java index b3a3f1686..d61c50709 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHCore.java @@ -1,125 +1,132 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; - -import java.util.Arrays; - -import org.eclipse.uml2.uml.InstanceSpecification; -import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; - - -/** - * The Class CHCore. - * - * @author Alessandro Zovi - * - * CHCore represents the tuple <processor, core>. - */ -public final class CHCore { - - /** The processor. */ - private CH_HwProcessor processor; - - /** The name. */ - private String name; - - /** - * Instantiates a new CH core. - * - * @param processor the processor - * @param coreName the core name - */ - public CHCore(CH_HwProcessor processor, String coreName) { - - if (processor.getBase_InstanceSpecification() == null) - throw new RuntimeException("Core can be instanced only by an InstanceSpecification!"); - - this.processor = processor; - this.name = coreName; - } - - - /** - * Gets the processor. - * - * @return the processor - */ - public CH_HwProcessor getProcessor() { - return processor; - } - - /** - * Gets the name. - * - * @return the name - */ - public String getName() { - return name; - } - - /** - * Gets the qualified name. - * - * @return the qualified name - */ - public String getQualifiedName() { - - StringBuilder sb = new StringBuilder(); - return sb.append(processor.getBase_InstanceSpecification().getName()).append('_').append(name).toString(); - } - - /* (non-Javadoc) - * @see java.lang.Object#equals(java.lang.Object) - */ - @Override - public boolean equals(Object obj) { - if(!(obj instanceof CHCore)) return false; - if(obj == this) return true; - - CHCore that = (CHCore) obj; - return processor.getBase_InstanceSpecification().getName().equals(that.processor.getBase_InstanceSpecification().getName()) && name.equals(that.name); - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return getQualifiedName(); - } - - /* (non-Javadoc) - * @see java.lang.Object#hashCode() - */ - @Override - public int hashCode() { - return Arrays.hashCode(new Object[] { - processor.getBase_InstanceSpecification().getName().hashCode(), - name.hashCode(), - }); - } - - - /** - * Gets the processor instance. - * - * @return the processor instance - */ - public InstanceSpecification getProcessorInstance() { - return processor.getBase_InstanceSpecification(); - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; + +import java.util.Arrays; + +import org.eclipse.uml2.uml.InstanceSpecification; +import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; + + +/** + * The Class CHCore. + * + * @author Alessandro Zovi + * + * CHCore represents the tuple <processor, core>. + */ +public final class CHCore { + + /** The processor. */ + private CH_HwProcessor processor; + + /** The name. */ + private String name; + + /** + * Instantiates a new CH core. + * + * @param processor the processor + * @param coreName the core name + */ + public CHCore(CH_HwProcessor processor, String coreName) { + + if (processor.getBase_InstanceSpecification() == null) + throw new RuntimeException("Core can be instanced only by an InstanceSpecification!"); + + this.processor = processor; + this.name = coreName; + } + + + /** + * Gets the processor. + * + * @return the processor + */ + public CH_HwProcessor getProcessor() { + return processor; + } + + /** + * Gets the name. + * + * @return the name + */ + public String getName() { + return name; + } + + /** + * Gets the qualified name. + * + * @return the qualified name + */ + public String getQualifiedName() { + + StringBuilder sb = new StringBuilder(); + return sb.append(processor.getBase_InstanceSpecification().getName()).append('_').append(name).toString(); + } + + /* (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + @Override + public boolean equals(Object obj) { + if(!(obj instanceof CHCore)) return false; + if(obj == this) return true; + + CHCore that = (CHCore) obj; + return processor.getBase_InstanceSpecification().getName().equals(that.processor.getBase_InstanceSpecification().getName()) && name.equals(that.name); + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return getQualifiedName(); + } + + /* (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + @Override + public int hashCode() { + return Arrays.hashCode(new Object[] { + processor.getBase_InstanceSpecification().getName().hashCode(), + name.hashCode(), + }); + } + + + /** + * Gets the processor instance. + * + * @return the processor instance + */ + public InstanceSpecification getProcessorInstance() { + return processor.getBase_InstanceSpecification(); + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java index 708be3a8c..cc5d0f739 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/CHTask.java @@ -1,149 +1,156 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; - -import java.util.Arrays; - -import org.eclipse.uml2.uml.BehavioralFeature; -import org.eclipse.uml2.uml.Parameter; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; -import org.polarsys.chess.multicore.utils.QueryUtils; - - -/** - * The Class CHTask. - * - * @author Alessandro Zovi - * - * CHTask represents the instance of a component operation. - * The operation can also be seen as a task, a shared resource or a simple procedure call. - */ - -public final class CHTask { - - /** The slot. */ - private CHRtPortSlot slot; - - /** The spec. */ - private CHRtSpecification spec; - - /** - * Instantiates a new CH task. - * - * @param slot the slot - * @param spec the spec - */ - public CHTask(CHRtPortSlot slot, CHRtSpecification spec) { - this.slot = slot; - this.spec = spec; - } - - /** - * Gets the slot. - * - * @return the slot - */ - public CHRtPortSlot getSlot() { - return slot; - } - - /** - * Gets the CH rt specification. - * - * @return the CH rt specification - */ - public CHRtSpecification getCHRtSpecification() { - return spec; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - //TODO it should take into consideration the multiplicity of the instances in Inst_full package - return slot.getBase_Slot().getOwningInstance().getName() + "_" - + slot.getBase_Slot().getDefiningFeature().getName() - + "_" + spec.getContext().getName() + "(" +getType()+")"; - } - - /** - * Gets the name. - * - * @return the name - */ - public String getName() { - //TODO it should take into consideration the multiplicity of the instances in Inst_full package - return slot.getBase_Slot().getOwningInstance().getName() + "_" - + slot.getBase_Slot().getDefiningFeature().getName() - + "_" + getOpName(spec.getContext())+"_task"; - } - - /** - * Gets the op name. - * - * @param op the op - * @return the op name - */ - private String getOpName(BehavioralFeature op){ - StringBuilder sb = new StringBuilder(op.getName()); - for (Parameter par : op.getOwnedParameters()) { - sb.append('_').append(par.getType().getName()); - } - return sb.toString(); - } - - /** - * Gets the type. - * - * @return the type - */ - public String getType(){ - String type = "simple_operation"; - if(QueryUtils.isOccKindSporadicOrPeriodic(spec.getOccKind())){ - type = "task"; - } else if (QueryUtils.isGuarded(spec)){ - type = "shared_resource"; - } - return type; - } - - /* (non-Javadoc) - * @see java.lang.Object#equals(java.lang.Object) - */ - @Override - public boolean equals(Object obj) { - if(!(obj instanceof CHTask)) return false; - if(obj == this) return true; - - CHTask that = (CHTask) obj; - return toString().equals(that.toString()); - } - - /* (non-Javadoc) - * @see java.lang.Object#hashCode() - */ - @Override - public int hashCode() { - return Arrays.hashCode(new Object[] { - slot.getBase_Slot().getOwningInstance().getName(), - slot.getBase_Slot().getDefiningFeature().getName(), - spec.getContext().getName() - }); - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; + +import java.util.Arrays; + +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.Parameter; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; +import org.polarsys.chess.multicore.utils.QueryUtils; + + +/** + * The Class CHTask. + * + * @author Alessandro Zovi + * + * CHTask represents the instance of a component operation. + * The operation can also be seen as a task, a shared resource or a simple procedure call. + */ + +public final class CHTask { + + /** The slot. */ + private CHRtPortSlot slot; + + /** The spec. */ + private CHRtSpecification spec; + + /** + * Instantiates a new CH task. + * + * @param slot the slot + * @param spec the spec + */ + public CHTask(CHRtPortSlot slot, CHRtSpecification spec) { + this.slot = slot; + this.spec = spec; + } + + /** + * Gets the slot. + * + * @return the slot + */ + public CHRtPortSlot getSlot() { + return slot; + } + + /** + * Gets the CH rt specification. + * + * @return the CH rt specification + */ + public CHRtSpecification getCHRtSpecification() { + return spec; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + //TODO it should take into consideration the multiplicity of the instances in Inst_full package + return slot.getBase_Slot().getOwningInstance().getName() + "_" + + slot.getBase_Slot().getDefiningFeature().getName() + + "_" + spec.getContext().getName() + "(" +getType()+")"; + } + + /** + * Gets the name. + * + * @return the name + */ + public String getName() { + //TODO it should take into consideration the multiplicity of the instances in Inst_full package + return slot.getBase_Slot().getOwningInstance().getName() + "_" + + slot.getBase_Slot().getDefiningFeature().getName() + + "_" + getOpName(spec.getContext())+"_task"; + } + + /** + * Gets the op name. + * + * @param op the op + * @return the op name + */ + private String getOpName(BehavioralFeature op){ + StringBuilder sb = new StringBuilder(op.getName()); + for (Parameter par : op.getOwnedParameters()) { + sb.append('_').append(par.getType().getName()); + } + return sb.toString(); + } + + /** + * Gets the type. + * + * @return the type + */ + public String getType(){ + String type = "simple_operation"; + if(QueryUtils.isOccKindSporadicOrPeriodic(spec.getOccKind())){ + type = "task"; + } else if (QueryUtils.isGuarded(spec)){ + type = "shared_resource"; + } + return type; + } + + /* (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + @Override + public boolean equals(Object obj) { + if(!(obj instanceof CHTask)) return false; + if(obj == this) return true; + + CHTask that = (CHTask) obj; + return toString().equals(that.toString()); + } + + /* (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + @Override + public int hashCode() { + return Arrays.hashCode(new Object[] { + slot.getBase_Slot().getOwningInstance().getName(), + slot.getBase_Slot().getDefiningFeature().getName(), + spec.getContext().getName() + }); + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java index 711819694..7672f426d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/SupertaskInfo.java @@ -1,104 +1,111 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; - -import org.eclipse.uml2.uml.InstanceSpecification; - -/** - * The Class SupertaskInfo. - */ -public class SupertaskInfo { - - /** The name. */ - private String name; - - /** The capacity. */ - private int capacity; - - /** The processor instance. */ - private InstanceSpecification processorInstance; - - /** - * Instantiates a new supertask info. - * - * @param processorInstance the processor instance - * @param name the name - * @param capacity the capacity - */ - public SupertaskInfo(InstanceSpecification processorInstance, String name, float capacity) { - super(); - this.setName(name); - this.setCapacity(capacity); - this.setProcessorInstance(processorInstance); - } - - /** - * Gets the capacity. - * - * @return the capacity - */ - public float getCapacity() { - return capacity; - } - - /** - * Convert capacity from a float to a int value representing the percentage of - * utilization of the processor. - * - * @param capacity the new capacity - */ - public void setCapacity(float capacity) { - this.capacity = Math.round(capacity*100); - } - - /** - * Gets the name. - * - * @return the name - */ - public String getName() { - return name; - } - - /** - * Sets the name. - * - * @param name the new name - */ - public void setName(String name) { - this.name = name; - } - - /** - * Gets the processor instance. - * - * @return the processor instance - */ - public InstanceSpecification getProcessorInstance() { - return processorInstance; - } - - /** - * Sets the processor instance. - * - * @param processorInstance the new processor instance - */ - public void setProcessorInstance(InstanceSpecification processorInstance) { - this.processorInstance = processorInstance; - } - -} \ No newline at end of file +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.model; + +import org.eclipse.uml2.uml.InstanceSpecification; + +/** + * The Class SupertaskInfo. + */ +public class SupertaskInfo { + + /** The name. */ + private String name; + + /** The capacity. */ + private int capacity; + + /** The processor instance. */ + private InstanceSpecification processorInstance; + + /** + * Instantiates a new supertask info. + * + * @param processorInstance the processor instance + * @param name the name + * @param capacity the capacity + */ + public SupertaskInfo(InstanceSpecification processorInstance, String name, float capacity) { + super(); + this.setName(name); + this.setCapacity(capacity); + this.setProcessorInstance(processorInstance); + } + + /** + * Gets the capacity. + * + * @return the capacity + */ + public float getCapacity() { + return capacity; + } + + /** + * Convert capacity from a float to a int value representing the percentage of + * utilization of the processor. + * + * @param capacity the new capacity + */ + public void setCapacity(float capacity) { + this.capacity = Math.round(capacity*100); + } + + /** + * Gets the name. + * + * @return the name + */ + public String getName() { + return name; + } + + /** + * Sets the name. + * + * @param name the new name + */ + public void setName(String name) { + this.name = name; + } + + /** + * Gets the processor instance. + * + * @return the processor instance + */ + public InstanceSpecification getProcessorInstance() { + return processorInstance; + } + + /** + * Sets the processor instance. + * + * @param processorInstance the new processor instance + */ + public void setProcessorInstance(InstanceSpecification processorInstance) { + this.processorInstance = processorInstance; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/model/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java index a2a020861..e2a305db7 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Bin.java @@ -1,100 +1,107 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - -/** - * The Class Bin. - */ -public class Bin { - - /** The id. */ - private Integer id; - - /** The size. */ - private Float size = 1.0f; // only homogeneous multiprocessing in CONCERTO - - /** The capacity. */ - private Float capacity = 0.0f; - - /** The level. */ - private Integer level = new Integer(-1); // needed for RUN packing, default is leaf node - - /** - * Gets the level. - * - * @return the level - */ - public Integer getLevel() { - return level; - } - - /** - * Sets the level. - * - * @param level the new level - */ - public void setLevel(Integer level) { - this.level = level; - } - - /** - * Gets the id. - * - * @return the id - */ - public Integer getId() { - return id; - } - - /** - * Sets the capacity. - * - * @param capacity the new capacity - */ - public void setCapacity(Float capacity) { - this.capacity = capacity; - } - - /** - * Gets the size. - * - * @return the size - */ - public Float getSize() { - return size; - } - - /** - * Gets the capacity. - * - * @return the capacity - */ - public Float getCapacity() { - return capacity; - } - - /** - * Instantiates a new bin. - * - * @param id the id - */ - public Bin(Integer id) { - super(); - this.id = id; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + +/** + * The Class Bin. + */ +public class Bin { + + /** The id. */ + private Integer id; + + /** The size. */ + private Float size = 1.0f; // only homogeneous multiprocessing in CONCERTO + + /** The capacity. */ + private Float capacity = 0.0f; + + /** The level. */ + private Integer level = new Integer(-1); // needed for RUN packing, default is leaf node + + /** + * Gets the level. + * + * @return the level + */ + public Integer getLevel() { + return level; + } + + /** + * Sets the level. + * + * @param level the new level + */ + public void setLevel(Integer level) { + this.level = level; + } + + /** + * Gets the id. + * + * @return the id + */ + public Integer getId() { + return id; + } + + /** + * Sets the capacity. + * + * @param capacity the new capacity + */ + public void setCapacity(Float capacity) { + this.capacity = capacity; + } + + /** + * Gets the size. + * + * @return the size + */ + public Float getSize() { + return size; + } + + /** + * Gets the capacity. + * + * @return the capacity + */ + public Float getCapacity() { + return capacity; + } + + /** + * Instantiates a new bin. + * + * @param id the id + */ + public Bin(Integer id) { + super(); + this.id = id; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java index 372f2ce10..98acea00e 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPacker.java @@ -1,35 +1,42 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - -import java.util.List; -import java.util.Map; - -/** - * The Interface BinPacker. - */ -public interface BinPacker { - - /** - * Pack. - * - * @param bins the bins - * @param tasks the tasks - * @return the map - */ - public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks); -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + +import java.util.List; +import java.util.Map; + +/** + * The Interface BinPacker. + */ +public interface BinPacker { + + /** + * Pack. + * + * @param bins the bins + * @param tasks the tasks + * @return the map + */ + public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks); +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPackerFactory.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPackerFactory.java index 46d2ec332..123725c2e 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPackerFactory.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/BinPackerFactory.java @@ -1,175 +1,182 @@ -package org.polarsys.chess.multicore.partitioning; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Comparator; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; - -/** - * Factory for bin packing algorithms. - * @author andrea - * - */ -public class BinPackerFactory { - -/** - * Gets the bin packer. - * - * @param heuristic the heuristic - * @return the bin packer - */ -public static BinPacker getBinPacker(Heuristic heuristic){ - - BinPacker packer; - switch(heuristic){ - case WORST_FIT: - packer = new WorstFitBinPacker(); - break; - default: - packer = new WorstFitBinPacker(); - break; - } - return packer; - } - - - /** - * The main method. - * - * @param args the arguments - */ - public static void main(String[] args){ - - int nr_bins = 2; - List<Bin> allBins = new ArrayList<Bin>(); - List<Task> allTasks = new ArrayList<Task>(); - - -// allTasks.add(new Task("Task1", 20.0f, 100.0f, 100.0f, 0.0f, null)); -//// allTasks.add(new Task("Task2", 15.0f, 100.0f, 100.0f, 0.0f, null)); -//// allTasks.add(new Task("Task22", 15.0f, 100.0f, 100.0f, 0.0f, null)); -// allTasks.add(new Task("Task11", 25.0f, 100.0f, 100.0f, 0.0f, null)); -// allTasks.add(new Task("Task3", 85.0f, 100.0f, 100.0f, 0.0f, null)); -// allTasks.add(new Task("Task4", 80.0f, 100.0f, 100.0f, 0.0f, null)); - - // 3 levels in the reduction tree - allTasks.add(new Task("Task1", 60.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task2", 60.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task3", 30.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task4", 30.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task5", 60.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task6", 30.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task7", 30.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task8", 30.0f, 100.0f, 100.0f, 0.0f, null)); - allTasks.add(new Task("Task9", 60.0f, 100.0f, 100.0f, 0.0f, null)); - - Map<Bin, List<Task>> firstPacking = BinPackerFactory.getBinPacker(Heuristic.WORST_FIT).pack(allBins, allTasks); - for(java.util.Map.Entry<Bin, List<Task>> row : firstPacking.entrySet()){ - System.out.print("LEVEL "+row.getKey().getLevel()+"-"+row.getKey().getId()+"(U="+row.getKey().getCapacity()+") -> {"); - for(Task t : row.getValue()) System.out.print(" "+t.getId()+","); - System.out.println("}"); - } - if(firstPacking.size() > allBins.size()){ - System.out.println("Starting RUN packing"); - allTasks = new ArrayList<Task>(); - for(Bin bin : firstPacking.keySet()) - allTasks.add(new Task(bin.getId().toString(), bin.getCapacity())); - Map<Bin, List<Task>> reductionTree = new RUNReduction().pack(null, allTasks); - for(java.util.Map.Entry<Bin, List<Task>> row : reductionTree.entrySet()){ - System.out.print("LEVEL "+row.getKey().getLevel()+"-"+row.getKey().getId()+"(U="+row.getKey().getCapacity()+") -> {"); - for(Task t : row.getValue()) System.out.print(" "+t.getId()+","); - System.out.println("}"); - } - printMASTinput(firstPacking, reductionTree); - } - } - - /** - * Prints the MAS tinput. - * - * @param firstPack the first pack - * @param reductionTree the reduction tree - */ - private static void printMASTinput(Map<Bin, List<Task>> firstPack, Map<Bin, List<Task>> reductionTree){ - Object[] firstPackSorted = firstPack.entrySet().toArray(); - Arrays.sort(firstPackSorted, new Comparator<Object>() { - - @Override - public int compare(Object o1, Object o2) { - if(((Entry<Bin, List<Task>>)o1).getKey().getId()>((Entry<Bin, List<Task>>)o2).getKey().getId()) - return 1; - else if (((Entry<Bin, List<Task>>)o1).getKey().getId()<((Entry<Bin, List<Task>>)o2).getKey().getId()) - return -1; - else - return 0; - }}); - -// for(int i=0; i<firstPackSorted.length; i++) -// System.out.println(((Entry<Bin, List<Task>>)firstPackSorted[i]).getKey().getId()); - - Object[] allBins = reductionTree.keySet().toArray(); - Arrays.sort(allBins, new Comparator<Object>() { - - @Override - public int compare(Object o1, Object o2) { - if(((Bin)o1).getLevel()>((Bin)o2).getLevel()) - return -1; - else if (((Bin)o1).getLevel()<((Bin)o2).getLevel()) - return 1; - else - return 0; - }}); - - // DEPTH-FIRST print - // root level - int maxLevel = ((Bin)allBins[0]).getLevel(); - System.out.println("-- Primary Schedulers\n"); - System.out.println("Scheduler ("); - System.out.println(" Type => Primary_Scheduler,"); - System.out.println(" Name => Scheduler_1,"); - System.out.println(" Policy => ( Type => RUN ),"); - System.out.println(" Host => Multicore_1 );");//TODO: depends on CHRT specification - System.out.println("\n-- Primary Scheduling Servers and Secondary Schedulers\n"); - int indexSupertask =0; - // all levels of the tree in the interval (root,0] - for(int i=1; (i<allBins.length)&&(((Bin)allBins[i]).getLevel()>=0); i++){ - System.out.println("--*************** BRANCH ***************"); - System.out.println("Scheduling_Server ("); - System.out.println(" Type => Regular,"); - System.out.println(" Name => SuperTask_"+indexSupertask+","); - System.out.println(" Server_Sched_parameters => ( Type => RUN_Supertask,"); - System.out.println(" Utilization => "+((Bin)allBins[i]).getCapacity()+" ),"); //FIXME: utilization is not expressed as U in Geoffrey's example - System.out.println(" Scheduler => Scheduler_1 );"); - System.out.println(); - System.out.println("Scheduler ("); - System.out.println(" Type => Secondary_Scheduler,"); - System.out.println(" Name => SecondaryScheduler_"+indexSupertask+","); - System.out.println(" Policy => ( Type => EDF,"); - System.out.println(" Worst_Context_Switch => 20 ),");//FIXME: based on Compagnin paper at ECRTS2014 - System.out.println(" Server => SuperTask_"+indexSupertask+" );"); - System.out.println(); - // first pack: print leaf nodes - if(((Bin)allBins[i]).getLevel()==0){ - List<Task> tasks = reductionTree.get(((Bin)allBins[i])); - for(Task task : tasks){ - List<Task> leaves = ((Entry<Bin, List<Task>>)firstPackSorted[new Integer(task.getId())]).getValue(); - for(Task leaf : leaves){ - System.out.println("Scheduling_Server ("); - System.out.println(" Type => Regular,"); - System.out.println(" Name => "+leaf.getId()+","); - System.out.println(" Server_Sched_Parameters => ("); - System.out.println(" Type => EDF_policy,"); - System.out.println(" Deadline => "+leaf.getT()+","); - System.out.println(" Preassigned => No),"); - System.out.println(" Scheduler => SecondaryScheduler_"+indexSupertask+");"); - System.out.println(); - } - } - } - indexSupertask++; - } - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.multicore.partitioning; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Comparator; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; + +/** + * Factory for bin packing algorithms. + * @author andrea + * + */ +public class BinPackerFactory { + +/** + * Gets the bin packer. + * + * @param heuristic the heuristic + * @return the bin packer + */ +public static BinPacker getBinPacker(Heuristic heuristic){ + + BinPacker packer; + switch(heuristic){ + case WORST_FIT: + packer = new WorstFitBinPacker(); + break; + default: + packer = new WorstFitBinPacker(); + break; + } + return packer; + } + + + /** + * The main method. + * + * @param args the arguments + */ + public static void main(String[] args){ + + int nr_bins = 2; + List<Bin> allBins = new ArrayList<Bin>(); + List<Task> allTasks = new ArrayList<Task>(); + + +// allTasks.add(new Task("Task1", 20.0f, 100.0f, 100.0f, 0.0f, null)); +//// allTasks.add(new Task("Task2", 15.0f, 100.0f, 100.0f, 0.0f, null)); +//// allTasks.add(new Task("Task22", 15.0f, 100.0f, 100.0f, 0.0f, null)); +// allTasks.add(new Task("Task11", 25.0f, 100.0f, 100.0f, 0.0f, null)); +// allTasks.add(new Task("Task3", 85.0f, 100.0f, 100.0f, 0.0f, null)); +// allTasks.add(new Task("Task4", 80.0f, 100.0f, 100.0f, 0.0f, null)); + + // 3 levels in the reduction tree + allTasks.add(new Task("Task1", 60.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task2", 60.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task3", 30.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task4", 30.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task5", 60.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task6", 30.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task7", 30.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task8", 30.0f, 100.0f, 100.0f, 0.0f, null)); + allTasks.add(new Task("Task9", 60.0f, 100.0f, 100.0f, 0.0f, null)); + + Map<Bin, List<Task>> firstPacking = BinPackerFactory.getBinPacker(Heuristic.WORST_FIT).pack(allBins, allTasks); + for(java.util.Map.Entry<Bin, List<Task>> row : firstPacking.entrySet()){ + System.out.print("LEVEL "+row.getKey().getLevel()+"-"+row.getKey().getId()+"(U="+row.getKey().getCapacity()+") -> {"); + for(Task t : row.getValue()) System.out.print(" "+t.getId()+","); + System.out.println("}"); + } + if(firstPacking.size() > allBins.size()){ + System.out.println("Starting RUN packing"); + allTasks = new ArrayList<Task>(); + for(Bin bin : firstPacking.keySet()) + allTasks.add(new Task(bin.getId().toString(), bin.getCapacity())); + Map<Bin, List<Task>> reductionTree = new RUNReduction().pack(null, allTasks); + for(java.util.Map.Entry<Bin, List<Task>> row : reductionTree.entrySet()){ + System.out.print("LEVEL "+row.getKey().getLevel()+"-"+row.getKey().getId()+"(U="+row.getKey().getCapacity()+") -> {"); + for(Task t : row.getValue()) System.out.print(" "+t.getId()+","); + System.out.println("}"); + } + printMASTinput(firstPacking, reductionTree); + } + } + + /** + * Prints the MAS tinput. + * + * @param firstPack the first pack + * @param reductionTree the reduction tree + */ + private static void printMASTinput(Map<Bin, List<Task>> firstPack, Map<Bin, List<Task>> reductionTree){ + Object[] firstPackSorted = firstPack.entrySet().toArray(); + Arrays.sort(firstPackSorted, new Comparator<Object>() { + + @Override + public int compare(Object o1, Object o2) { + if(((Entry<Bin, List<Task>>)o1).getKey().getId()>((Entry<Bin, List<Task>>)o2).getKey().getId()) + return 1; + else if (((Entry<Bin, List<Task>>)o1).getKey().getId()<((Entry<Bin, List<Task>>)o2).getKey().getId()) + return -1; + else + return 0; + }}); + +// for(int i=0; i<firstPackSorted.length; i++) +// System.out.println(((Entry<Bin, List<Task>>)firstPackSorted[i]).getKey().getId()); + + Object[] allBins = reductionTree.keySet().toArray(); + Arrays.sort(allBins, new Comparator<Object>() { + + @Override + public int compare(Object o1, Object o2) { + if(((Bin)o1).getLevel()>((Bin)o2).getLevel()) + return -1; + else if (((Bin)o1).getLevel()<((Bin)o2).getLevel()) + return 1; + else + return 0; + }}); + + // DEPTH-FIRST print + // root level + int maxLevel = ((Bin)allBins[0]).getLevel(); + System.out.println("-- Primary Schedulers\n"); + System.out.println("Scheduler ("); + System.out.println(" Type => Primary_Scheduler,"); + System.out.println(" Name => Scheduler_1,"); + System.out.println(" Policy => ( Type => RUN ),"); + System.out.println(" Host => Multicore_1 );");//TODO: depends on CHRT specification + System.out.println("\n-- Primary Scheduling Servers and Secondary Schedulers\n"); + int indexSupertask =0; + // all levels of the tree in the interval (root,0] + for(int i=1; (i<allBins.length)&&(((Bin)allBins[i]).getLevel()>=0); i++){ + System.out.println("--*************** BRANCH ***************"); + System.out.println("Scheduling_Server ("); + System.out.println(" Type => Regular,"); + System.out.println(" Name => SuperTask_"+indexSupertask+","); + System.out.println(" Server_Sched_parameters => ( Type => RUN_Supertask,"); + System.out.println(" Utilization => "+((Bin)allBins[i]).getCapacity()+" ),"); //FIXME: utilization is not expressed as U in Geoffrey's example + System.out.println(" Scheduler => Scheduler_1 );"); + System.out.println(); + System.out.println("Scheduler ("); + System.out.println(" Type => Secondary_Scheduler,"); + System.out.println(" Name => SecondaryScheduler_"+indexSupertask+","); + System.out.println(" Policy => ( Type => EDF,"); + System.out.println(" Worst_Context_Switch => 20 ),");//FIXME: based on Compagnin paper at ECRTS2014 + System.out.println(" Server => SuperTask_"+indexSupertask+" );"); + System.out.println(); + // first pack: print leaf nodes + if(((Bin)allBins[i]).getLevel()==0){ + List<Task> tasks = reductionTree.get(((Bin)allBins[i])); + for(Task task : tasks){ + List<Task> leaves = ((Entry<Bin, List<Task>>)firstPackSorted[new Integer(task.getId())]).getValue(); + for(Task leaf : leaves){ + System.out.println("Scheduling_Server ("); + System.out.println(" Type => Regular,"); + System.out.println(" Name => "+leaf.getId()+","); + System.out.println(" Server_Sched_Parameters => ("); + System.out.println(" Type => EDF_policy,"); + System.out.println(" Deadline => "+leaf.getT()+","); + System.out.println(" Preassigned => No),"); + System.out.println(" Scheduler => SecondaryScheduler_"+indexSupertask+");"); + System.out.println(); + } + } + } + indexSupertask++; + } + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java index 9e499a037..465824b1c 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Heuristic.java @@ -1,27 +1,34 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - -/** - * The Enum Heuristic. - */ -public enum Heuristic { - - /** The worst fit. */ - WORST_FIT - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + +/** + * The Enum Heuristic. + */ +public enum Heuristic { + + /** The worst fit. */ + WORST_FIT + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java index e9e62ef6a..2a416e206 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/RUNReduction.java @@ -1,81 +1,88 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Comparator; -import java.util.Hashtable; -import java.util.List; -import java.util.Map; -import java.util.Set; - -/** - * The Class RUNReduction. - */ -public class RUNReduction implements BinPacker { - - /** The level. */ - //private final boolean DECREASING_ORDERING = true; - int level = -1; - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.partitioning.BinPacker#pack(java.util.List, java.util.List) - */ - @Override - public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { - - level++; - Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); - - - if(tasks.size()==1){ - //toReturn.put(new Bin(new Integer(tasks.get(0).getId())), tasks); - Bin theBin = new Bin(0); - theBin.setLevel(level); - toReturn.put(theBin, tasks); - return toReturn; - } - - for(Task task : tasks) - task.switchToDual(); - -// Object[] allTasks = tasks.toArray(); -// for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++) -// ((Task)allTasks[taskIndex]).switchToDual(); - - Map<Bin, List<Task>> result = - BinPackerFactory.getBinPacker(org.polarsys.chess.multicore.partitioning.Heuristic.WORST_FIT).pack(new ArrayList<Bin>(), tasks); - Set<Bin> keys = result.keySet(); - ArrayList<Task> supertasks = new ArrayList<Task>(); - for(Bin bin : keys){ - bin.setLevel(level); - toReturn.put(bin, result.get(bin)); - supertasks.add(new Task(bin.getId().toString(), bin.getCapacity())); - } - - toReturn.putAll(pack(null, supertasks));// recursive call on the level above - return toReturn; - - - - - - //return toReturn; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Comparator; +import java.util.Hashtable; +import java.util.List; +import java.util.Map; +import java.util.Set; + +/** + * The Class RUNReduction. + */ +public class RUNReduction implements BinPacker { + + /** The level. */ + //private final boolean DECREASING_ORDERING = true; + int level = -1; + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.partitioning.BinPacker#pack(java.util.List, java.util.List) + */ + @Override + public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { + + level++; + Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); + + + if(tasks.size()==1){ + //toReturn.put(new Bin(new Integer(tasks.get(0).getId())), tasks); + Bin theBin = new Bin(0); + theBin.setLevel(level); + toReturn.put(theBin, tasks); + return toReturn; + } + + for(Task task : tasks) + task.switchToDual(); + +// Object[] allTasks = tasks.toArray(); +// for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++) +// ((Task)allTasks[taskIndex]).switchToDual(); + + Map<Bin, List<Task>> result = + BinPackerFactory.getBinPacker(org.polarsys.chess.multicore.partitioning.Heuristic.WORST_FIT).pack(new ArrayList<Bin>(), tasks); + Set<Bin> keys = result.keySet(); + ArrayList<Task> supertasks = new ArrayList<Task>(); + for(Bin bin : keys){ + bin.setLevel(level); + toReturn.put(bin, result.get(bin)); + supertasks.add(new Task(bin.getId().toString(), bin.getCapacity())); + } + + toReturn.putAll(pack(null, supertasks));// recursive call on the level above + return toReturn; + + + + + + //return toReturn; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java index a291f4909..9be780688 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/Task.java @@ -1,195 +1,202 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - - - -/** - * The Class Task. - */ -public class Task implements Comparable<Task> { - - /** - * The Enum Definition. - */ - private enum Definition{ - - /** The defined c and t. */ - DEFINED_C_AND_T, - /** The defined u. */ - DEFINED_U - } - - /** The id. */ - private String id; - - /** The definition. */ - private Definition definition; - - /** The c. */ - private Float c; - - /** The d. */ - private Float d; - - /** The t. */ - private Float t; - - /** The u. */ - private Float u; - - /** The offset. */ - private Float offset; - - /** The owner. */ - private Bin owner; - - /** - * Instantiates a new task. - * - * @param _name the name - * @param _c the c - * @param _d the d - * @param _t the t - * @param _offset the offset - * @param _owner the owner - */ - public Task(String _name, - Float _c, Float _d, Float _t, Float _offset, - Bin _owner) { - - - this.id = _name; - this.c = _c; - this.d = _d; - this.t = _t; - this.definition = Definition.DEFINED_C_AND_T; - this.offset = _offset; - this.owner = _owner; - - } - - /** - * Instantiates a new task. - * - * @param _name the name - * @param _u the u - */ - // needed for RUN's supertasks - public Task(String _name, Float _u){ - this.id = _name; - this.u = _u; - this.definition = Definition.DEFINED_U; - } - -// public Task() { -// super(); -// } - - /** - * Sets the owner. - * - * @param owner the new owner - */ -public void setOwner(Bin owner) { - this.owner = owner; - } - - /** - * Sets the t. - * - * @param t the new t - */ - public void setT(Float t) { - this.t = t; - } - - /** - * Gets the owner. - * - * @return the owner - */ - public Bin getOwner() { - return owner; - } - - /** - * Gets the t. - * - * @return the t - */ - public Float getT() { - return t; - } - - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return new String("(name, C, D, T, offset, owner)\n" + - "("+ id +", "+ c +", "+ d +", "+ t +", "+ offset +", "+ owner +")"); - } - - /** - * Gets the u. - * - * @return the u - */ - public Float getU(){ - if(definition == Definition.DEFINED_U) - return u; - else - return c/t; - } - - - /** - * Gets the id. - * - * @return the id - */ - public String getId() { - return id; - } - - /** - * Switch to dual. - */ - public void switchToDual(){ - if(definition == Definition.DEFINED_U) - this.u = 1-u; - else - this.c = t-c; - } - - /* (non-Javadoc) - * @see java.lang.Comparable#compareTo(java.lang.Object) - */ - @Override - public int compareTo(Task o) { - - return this.getU().compareTo(o.getU()); - } - - - - - - -} - +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + + + +/** + * The Class Task. + */ +public class Task implements Comparable<Task> { + + /** + * The Enum Definition. + */ + private enum Definition{ + + /** The defined c and t. */ + DEFINED_C_AND_T, + /** The defined u. */ + DEFINED_U + } + + /** The id. */ + private String id; + + /** The definition. */ + private Definition definition; + + /** The c. */ + private Float c; + + /** The d. */ + private Float d; + + /** The t. */ + private Float t; + + /** The u. */ + private Float u; + + /** The offset. */ + private Float offset; + + /** The owner. */ + private Bin owner; + + /** + * Instantiates a new task. + * + * @param _name the name + * @param _c the c + * @param _d the d + * @param _t the t + * @param _offset the offset + * @param _owner the owner + */ + public Task(String _name, + Float _c, Float _d, Float _t, Float _offset, + Bin _owner) { + + + this.id = _name; + this.c = _c; + this.d = _d; + this.t = _t; + this.definition = Definition.DEFINED_C_AND_T; + this.offset = _offset; + this.owner = _owner; + + } + + /** + * Instantiates a new task. + * + * @param _name the name + * @param _u the u + */ + // needed for RUN's supertasks + public Task(String _name, Float _u){ + this.id = _name; + this.u = _u; + this.definition = Definition.DEFINED_U; + } + +// public Task() { +// super(); +// } + + /** + * Sets the owner. + * + * @param owner the new owner + */ +public void setOwner(Bin owner) { + this.owner = owner; + } + + /** + * Sets the t. + * + * @param t the new t + */ + public void setT(Float t) { + this.t = t; + } + + /** + * Gets the owner. + * + * @return the owner + */ + public Bin getOwner() { + return owner; + } + + /** + * Gets the t. + * + * @return the t + */ + public Float getT() { + return t; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return new String("(name, C, D, T, offset, owner)\n" + + "("+ id +", "+ c +", "+ d +", "+ t +", "+ offset +", "+ owner +")"); + } + + /** + * Gets the u. + * + * @return the u + */ + public Float getU(){ + if(definition == Definition.DEFINED_U) + return u; + else + return c/t; + } + + + /** + * Gets the id. + * + * @return the id + */ + public String getId() { + return id; + } + + /** + * Switch to dual. + */ + public void switchToDual(){ + if(definition == Definition.DEFINED_U) + this.u = 1-u; + else + this.c = t-c; + } + + /* (non-Javadoc) + * @see java.lang.Comparable#compareTo(java.lang.Object) + */ + @Override + public int compareTo(Task o) { + + return this.getU().compareTo(o.getU()); + } + + + + + + +} + diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java index f89b7ca02..7435abf4c 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/WorstFitBinPacker.java @@ -1,218 +1,225 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.Comparator; -import java.util.Hashtable; -import java.util.List; -import java.util.Map; - -/** - * The Class WorstFitBinPacker. - */ -public class WorstFitBinPacker implements BinPacker { - - /** The decreasing ordering. */ - private final boolean DECREASING_ORDERING = true; - -// @Override -// public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { -// -// Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); -// // init output -// for(Bin bin : bins) -// toReturn.put(bin, new ArrayList<Task>()); -// -// -// if(tasks.size() <= bins.size()){ // trivial packing -// int i =0; -// for(Task task : tasks){ -// Bin bin = bins.get(i); -// ArrayList<Task> theList = new ArrayList<Task>(); -// theList.add(task); -// bin.setCapacity(bin.getCapacity()+task.computeU()); -// toReturn.put(bin, theList); -// i++; -// } -// } else {// nominal case -// -// // sort the tasks by increasing/decreasing utilisation -// Object[] allTasks = tasks.toArray(); -// //Arrays.sort(allTasks); -// Arrays.sort(allTasks, new Comparator<Object>() { -// -// @Override -// public int compare(Object o1, Object o2) { -// if(DECREASING_ORDERING) -// return -(((Task)o1).computeU()).compareTo(((Task)o2).computeU()); -// else -// return (((Task)o1).computeU()).compareTo(((Task)o2).computeU()); -// } -// }); -// -// int indexEmptiestBin = 0; -// float emptiestCapacity = 0.0f; -// Object[] allBins = bins.toArray(); -// -// -// for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++){ -// -// Task task = (Task)allTasks[taskIndex]; -// boolean found = false; -// -// Bin bin = (Bin)allBins[indexEmptiestBin]; -// // try with emptiest bin -// if(bin.getCapacity() + task.computeU() <= bin.getSize()) -// found = true; -// else { //try with other bins -// for(int indexCurrentBin = 0; indexCurrentBin < allBins.length; indexCurrentBin++){ -// if (indexCurrentBin == indexEmptiestBin) // already visited -// continue; -// bin =(Bin)allBins[indexCurrentBin]; -// if(bin.getCapacity() + task.computeU() <= bin.getSize()){ -// found = true; -// break; -// } -// } -// } -// -// if(!found) -// System.out.println("PACKING FAILED"); -// else { -// task.setOwner(bin); -// bin.setCapacity(bin.getCapacity()+task.computeU()); -// // store to output -// List<Task> theTasks = toReturn.get(bin); -// theTasks.add(task); -// toReturn.put(bin, theTasks); -// found = true; -// // update info on emptiest bin -// emptiestCapacity = Float.MAX_VALUE; -// for(int binIndex = 0; binIndex < allBins.length; binIndex++){ -// float currentCapacity = ((Bin)allBins[binIndex]).getCapacity(); -// if(currentCapacity < emptiestCapacity){ -// emptiestCapacity = currentCapacity; -// indexEmptiestBin = binIndex; -// } -// } -// } -// } -// -// } -// return toReturn; -// } - - /* (non-Javadoc) - * @see org.polarsys.chess.multicore.partitioning.BinPacker#pack(java.util.List, java.util.List) - */ -@Override - public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { - - Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); - - // init output -// for(Bin bin : bins) -// toReturn.put(bin, new ArrayList<Task>()); - - - if(tasks.size() <= bins.size()){ // trivial packing - int i =0; - for(Task task : tasks){ - Bin bin = bins.get(i); - ArrayList<Task> theList = new ArrayList<Task>(); - theList.add(task); - bin.setCapacity(bin.getCapacity()+task.getU()); - toReturn.put(bin, theList); - i++; - } - } else {// nominal case - - // sort the tasks by increasing/decreasing utilization - Object[] allTasks = tasks.toArray(); - //Arrays.sort(allTasks); - Arrays.sort(allTasks, new Comparator<Object>() { - - @Override - public int compare(Object o1, Object o2) { - if(DECREASING_ORDERING) - return -(((Task)o1).getU()).compareTo(((Task)o2).getU()); - else - return (((Task)o1).getU()).compareTo(((Task)o2).getU()); - } - }); - - int indexEmptiestBin = 0; - float emptiestCapacity = 0.0f; - Object[] allBins = {new Bin(indexEmptiestBin)}; // ensure there is at least 1 bin even in case an empty list has been passed (this is the case during RUN reduction) - int indexLastBin = 0; - if(bins.size() > 0){ - allBins = bins.toArray(); - indexLastBin = bins.size()-1; - } - - - - for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++){ - - Task task = (Task)allTasks[taskIndex]; - Bin bin = (Bin)allBins[indexEmptiestBin]; - // try with emptiest bin - if(bin.getCapacity() + task.getU() <= bin.getSize()){ - task.setOwner(bin); - bin.setCapacity(bin.getCapacity()+task.getU()); - // store to output - List<Task> theTasks = toReturn.get(bin); - if(theTasks == null) // needed because we don't initialize toReturn at the beginning, to provide input/output of variable size - theTasks = new ArrayList<Task>(); - theTasks.add(task); - toReturn.put(bin, theTasks); - } - else { - //System.out.println("PARTITIONING FAILED, OPENING NEW BIN"); - // open new bin - Bin newBin = new Bin(new Integer(++indexLastBin)); - task.setOwner(newBin); - newBin.setCapacity(newBin.getCapacity()+task.getU()); - ArrayList<Task> theList = new ArrayList<Task>(); - theList.add(task); - toReturn.put(newBin, theList); - - // add bin to the common array - Object[] tmpBinArray = Arrays.copyOf(allBins, allBins.length + 1); - assert(tmpBinArray.length -1 == indexLastBin); - tmpBinArray[indexLastBin] = newBin; - allBins = tmpBinArray; - } - - // update info on emptiest bin - emptiestCapacity = Float.MAX_VALUE; - for(int binIndex = 0; binIndex < allBins.length; binIndex++){ - float currentCapacity = ((Bin)allBins[binIndex]).getCapacity(); - if(currentCapacity < emptiestCapacity){ - emptiestCapacity = currentCapacity; - indexEmptiestBin = binIndex; - } - } - } - - } - return toReturn; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.Comparator; +import java.util.Hashtable; +import java.util.List; +import java.util.Map; + +/** + * The Class WorstFitBinPacker. + */ +public class WorstFitBinPacker implements BinPacker { + + /** The decreasing ordering. */ + private final boolean DECREASING_ORDERING = true; + +// @Override +// public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { +// +// Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); +// // init output +// for(Bin bin : bins) +// toReturn.put(bin, new ArrayList<Task>()); +// +// +// if(tasks.size() <= bins.size()){ // trivial packing +// int i =0; +// for(Task task : tasks){ +// Bin bin = bins.get(i); +// ArrayList<Task> theList = new ArrayList<Task>(); +// theList.add(task); +// bin.setCapacity(bin.getCapacity()+task.computeU()); +// toReturn.put(bin, theList); +// i++; +// } +// } else {// nominal case +// +// // sort the tasks by increasing/decreasing utilisation +// Object[] allTasks = tasks.toArray(); +// //Arrays.sort(allTasks); +// Arrays.sort(allTasks, new Comparator<Object>() { +// +// @Override +// public int compare(Object o1, Object o2) { +// if(DECREASING_ORDERING) +// return -(((Task)o1).computeU()).compareTo(((Task)o2).computeU()); +// else +// return (((Task)o1).computeU()).compareTo(((Task)o2).computeU()); +// } +// }); +// +// int indexEmptiestBin = 0; +// float emptiestCapacity = 0.0f; +// Object[] allBins = bins.toArray(); +// +// +// for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++){ +// +// Task task = (Task)allTasks[taskIndex]; +// boolean found = false; +// +// Bin bin = (Bin)allBins[indexEmptiestBin]; +// // try with emptiest bin +// if(bin.getCapacity() + task.computeU() <= bin.getSize()) +// found = true; +// else { //try with other bins +// for(int indexCurrentBin = 0; indexCurrentBin < allBins.length; indexCurrentBin++){ +// if (indexCurrentBin == indexEmptiestBin) // already visited +// continue; +// bin =(Bin)allBins[indexCurrentBin]; +// if(bin.getCapacity() + task.computeU() <= bin.getSize()){ +// found = true; +// break; +// } +// } +// } +// +// if(!found) +// System.out.println("PACKING FAILED"); +// else { +// task.setOwner(bin); +// bin.setCapacity(bin.getCapacity()+task.computeU()); +// // store to output +// List<Task> theTasks = toReturn.get(bin); +// theTasks.add(task); +// toReturn.put(bin, theTasks); +// found = true; +// // update info on emptiest bin +// emptiestCapacity = Float.MAX_VALUE; +// for(int binIndex = 0; binIndex < allBins.length; binIndex++){ +// float currentCapacity = ((Bin)allBins[binIndex]).getCapacity(); +// if(currentCapacity < emptiestCapacity){ +// emptiestCapacity = currentCapacity; +// indexEmptiestBin = binIndex; +// } +// } +// } +// } +// +// } +// return toReturn; +// } + + /* (non-Javadoc) + * @see org.polarsys.chess.multicore.partitioning.BinPacker#pack(java.util.List, java.util.List) + */ +@Override + public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks) { + + Map<Bin, List<Task>> toReturn = new Hashtable<Bin, List<Task>> (); + + // init output +// for(Bin bin : bins) +// toReturn.put(bin, new ArrayList<Task>()); + + + if(tasks.size() <= bins.size()){ // trivial packing + int i =0; + for(Task task : tasks){ + Bin bin = bins.get(i); + ArrayList<Task> theList = new ArrayList<Task>(); + theList.add(task); + bin.setCapacity(bin.getCapacity()+task.getU()); + toReturn.put(bin, theList); + i++; + } + } else {// nominal case + + // sort the tasks by increasing/decreasing utilization + Object[] allTasks = tasks.toArray(); + //Arrays.sort(allTasks); + Arrays.sort(allTasks, new Comparator<Object>() { + + @Override + public int compare(Object o1, Object o2) { + if(DECREASING_ORDERING) + return -(((Task)o1).getU()).compareTo(((Task)o2).getU()); + else + return (((Task)o1).getU()).compareTo(((Task)o2).getU()); + } + }); + + int indexEmptiestBin = 0; + float emptiestCapacity = 0.0f; + Object[] allBins = {new Bin(indexEmptiestBin)}; // ensure there is at least 1 bin even in case an empty list has been passed (this is the case during RUN reduction) + int indexLastBin = 0; + if(bins.size() > 0){ + allBins = bins.toArray(); + indexLastBin = bins.size()-1; + } + + + + for(int taskIndex = 0; taskIndex < allTasks.length; taskIndex++){ + + Task task = (Task)allTasks[taskIndex]; + Bin bin = (Bin)allBins[indexEmptiestBin]; + // try with emptiest bin + if(bin.getCapacity() + task.getU() <= bin.getSize()){ + task.setOwner(bin); + bin.setCapacity(bin.getCapacity()+task.getU()); + // store to output + List<Task> theTasks = toReturn.get(bin); + if(theTasks == null) // needed because we don't initialize toReturn at the beginning, to provide input/output of variable size + theTasks = new ArrayList<Task>(); + theTasks.add(task); + toReturn.put(bin, theTasks); + } + else { + //System.out.println("PARTITIONING FAILED, OPENING NEW BIN"); + // open new bin + Bin newBin = new Bin(new Integer(++indexLastBin)); + task.setOwner(newBin); + newBin.setCapacity(newBin.getCapacity()+task.getU()); + ArrayList<Task> theList = new ArrayList<Task>(); + theList.add(task); + toReturn.put(newBin, theList); + + // add bin to the common array + Object[] tmpBinArray = Arrays.copyOf(allBins, allBins.length + 1); + assert(tmpBinArray.length -1 == indexLastBin); + tmpBinArray[indexLastBin] = newBin; + allBins = tmpBinArray; + } + + // update info on emptiest bin + emptiestCapacity = Float.MAX_VALUE; + for(int binIndex = 0; binIndex < allBins.length; binIndex++){ + float currentCapacity = ((Bin)allBins[binIndex]).getCapacity(); + if(currentCapacity < emptiestCapacity){ + emptiestCapacity = currentCapacity; + indexEmptiestBin = binIndex; + } + } + } + + } + return toReturn; + } +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/partitioning/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java index 0aa61a82b..52105bfa3 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/GeneratorUtils.java @@ -1,220 +1,227 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; - -import java.util.HashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Map; - -import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Component; -import org.eclipse.uml2.uml.Constraint; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.LiteralString; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.ValueSpecification; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.model.CHTask; -import org.polarsys.chess.multicore.model.SupertaskInfo; - -/** - * The Class GeneratorUtils. - */ -public class GeneratorUtils { - - /** The Constant MARTE_ASSIGN. */ - private static final String MARTE_ASSIGN = "MARTE::MARTE_Foundations::Alloc::Assign"; - - /** The Constant MARTE_NFPCONSTRAINT. */ - private static final String MARTE_NFPCONSTRAINT = "MARTE::MARTE_Foundations::NFPs::NfpConstraint"; - - /* - * public static void buildTask2CoreAssociations(Component hwSystem, - * EList<InstanceSpecification> processors, Map<CHCore, Set<CHTask>> - * coresToCHTask) { for (CHCore core : coresToCHTask.keySet()) { for (CHTask o - * : coresToCHTask.get(core)) { - * - * Comment c = hwSystem.createOwnedComment(); UMLUtils.applyStereotype(c, - * MARTE_ASSIGN); Assign assign = UMLUtils.getStereotypeApplication(c, - * Assign.class); - * - * assign.getFrom().add(o.getSlot().getBase_Slot()); - * assign.getTo().add(core.getProcessorInstance()); - * - * Constraint n = hwSystem.createOwnedRule(core.getName()); - * UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); NfpConstraint rule = - * UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - * - * ValueSpecification valueSpec = n.createSpecification("core", null, - * UMLPackage.Literals.LITERAL_STRING); LiteralString value = (LiteralString) - * valueSpec; value.setValue(core.getName()); - * assign.getImpliedConstraint().add(rule); - * - * } } } - */ - - /** - * Builds the task 2 super task associations. - * - * @param hwSystem the hw system - * @param core2supertask the core 2 supertask - * @param supertaskInfoList the supertask info list - */ - public static void buildTask2SuperTaskAssociations(Component hwSystem, HashMap<SupertaskInfo, LinkedHashSet<Object>> core2supertask, List<SupertaskInfo> supertaskInfoList) { - - writeSupertaskinfo(supertaskInfoList); - - for (SupertaskInfo supertask : core2supertask.keySet()) { - for (Object o : core2supertask.get(supertask)) { - if (!(o instanceof CHTask)) - continue; - - CHTask t = (CHTask) o; - Comment c = hwSystem.createOwnedComment(); - UMLUtils.applyStereotype(c, MARTE_ASSIGN); - Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); - assign.getFrom().add(t.getSlot().getBase_Slot()); - assign.getTo().add(supertask.getProcessorInstance()); - - { - Constraint n = hwSystem.createOwnedRule(supertask.getName()); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("supertask", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(supertask.getName()); - assign.getImpliedConstraint().add(rule); - } - - { - String context = t.getCHRtSpecification().getContext().getName(); - Constraint n = hwSystem.createOwnedRule(context); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("context", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(context); - assign.getImpliedConstraint().add(rule); - } - - } - } - } - - /** - * Erase processor info. - * - * @param processorInstance the processor instance - */ - public static void eraseProcessorInfo(InstanceSpecification processorInstance) { - for (Classifier classifier : processorInstance.getClassifiers()) { - GaExecHost proc = UMLUtils.getStereotypeApplication(classifier, GaExecHost.class); - if (proc != null) { - proc.setOtherSchedPolicy(""); - } - } - } - - /** - * Write supertaskinfo. - * - * @param supertaskInfoList the supertask info list - * @return the instance specification - */ - public static InstanceSpecification writeSupertaskinfo(List<SupertaskInfo> supertaskInfoList) { - // save supertask info into the processor GaExecHost stereotype in - // otherSchedPolicy - SupertaskInfo s = (SupertaskInfo) supertaskInfoList.get(0); - InstanceSpecification processorInstance = s.getProcessorInstance(); - for (Classifier classifier : processorInstance.getClassifiers()) { - GaExecHost proc = UMLUtils.getStereotypeApplication(classifier, GaExecHost.class); - if (proc != null) { - - StringBuilder sb = new StringBuilder(); - for (SupertaskInfo supertaskInfo : supertaskInfoList) { - sb.append(String.format("[%s=%s],", supertaskInfo.getName(), supertaskInfo.getCapacity())); - } - // remove last comma - sb.setLength(sb.length() - 1); - - String schedPolicy = String.format("RUN(%s)", sb.toString()); - proc.setOtherSchedPolicy(schedPolicy); - } - } - return processorInstance; - } - - /** - * Builds the task 2 core associations. - * - * @param hwSystem the hw system - * @param result the result - */ - public static void buildTask2CoreAssociations(Component hwSystem, Map<CHCore, LinkedHashSet<Object>> result) { - - for (CHCore core : result.keySet()) { - for (Object o : result.get(core)) { - if (!(o instanceof CHTask)) - continue; - - CHTask t = (CHTask) o; - Comment c = hwSystem.createOwnedComment(); - UMLUtils.applyStereotype(c, MARTE_ASSIGN); - Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); - assign.getFrom().add(t.getSlot().getBase_Slot()); - assign.getTo().add(core.getProcessorInstance()); - - eraseProcessorInfo(core.getProcessorInstance()); - - { - Constraint n = hwSystem.createOwnedRule(core.getName()); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(core.getName()); - assign.getImpliedConstraint().add(rule); - } - - { - String context = t.getCHRtSpecification().getContext().getName(); - Constraint n = hwSystem.createOwnedRule(context); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("context", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(context); - assign.getImpliedConstraint().add(rule); - } - - } - } - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; + +import java.util.HashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Map; + +import org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GaExecHost; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Component; +import org.eclipse.uml2.uml.Constraint; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.LiteralString; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.ValueSpecification; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.model.CHTask; +import org.polarsys.chess.multicore.model.SupertaskInfo; + +/** + * The Class GeneratorUtils. + */ +public class GeneratorUtils { + + /** The Constant MARTE_ASSIGN. */ + private static final String MARTE_ASSIGN = "MARTE::MARTE_Foundations::Alloc::Assign"; + + /** The Constant MARTE_NFPCONSTRAINT. */ + private static final String MARTE_NFPCONSTRAINT = "MARTE::MARTE_Foundations::NFPs::NfpConstraint"; + + /* + * public static void buildTask2CoreAssociations(Component hwSystem, + * EList<InstanceSpecification> processors, Map<CHCore, Set<CHTask>> + * coresToCHTask) { for (CHCore core : coresToCHTask.keySet()) { for (CHTask o + * : coresToCHTask.get(core)) { + * + * Comment c = hwSystem.createOwnedComment(); UMLUtils.applyStereotype(c, + * MARTE_ASSIGN); Assign assign = UMLUtils.getStereotypeApplication(c, + * Assign.class); + * + * assign.getFrom().add(o.getSlot().getBase_Slot()); + * assign.getTo().add(core.getProcessorInstance()); + * + * Constraint n = hwSystem.createOwnedRule(core.getName()); + * UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); NfpConstraint rule = + * UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + * + * ValueSpecification valueSpec = n.createSpecification("core", null, + * UMLPackage.Literals.LITERAL_STRING); LiteralString value = (LiteralString) + * valueSpec; value.setValue(core.getName()); + * assign.getImpliedConstraint().add(rule); + * + * } } } + */ + + /** + * Builds the task 2 super task associations. + * + * @param hwSystem the hw system + * @param core2supertask the core 2 supertask + * @param supertaskInfoList the supertask info list + */ + public static void buildTask2SuperTaskAssociations(Component hwSystem, HashMap<SupertaskInfo, LinkedHashSet<Object>> core2supertask, List<SupertaskInfo> supertaskInfoList) { + + writeSupertaskinfo(supertaskInfoList); + + for (SupertaskInfo supertask : core2supertask.keySet()) { + for (Object o : core2supertask.get(supertask)) { + if (!(o instanceof CHTask)) + continue; + + CHTask t = (CHTask) o; + Comment c = hwSystem.createOwnedComment(); + UMLUtils.applyStereotype(c, MARTE_ASSIGN); + Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); + assign.getFrom().add(t.getSlot().getBase_Slot()); + assign.getTo().add(supertask.getProcessorInstance()); + + { + Constraint n = hwSystem.createOwnedRule(supertask.getName()); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("supertask", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(supertask.getName()); + assign.getImpliedConstraint().add(rule); + } + + { + String context = t.getCHRtSpecification().getContext().getName(); + Constraint n = hwSystem.createOwnedRule(context); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("context", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(context); + assign.getImpliedConstraint().add(rule); + } + + } + } + } + + /** + * Erase processor info. + * + * @param processorInstance the processor instance + */ + public static void eraseProcessorInfo(InstanceSpecification processorInstance) { + for (Classifier classifier : processorInstance.getClassifiers()) { + GaExecHost proc = UMLUtils.getStereotypeApplication(classifier, GaExecHost.class); + if (proc != null) { + proc.setOtherSchedPolicy(""); + } + } + } + + /** + * Write supertaskinfo. + * + * @param supertaskInfoList the supertask info list + * @return the instance specification + */ + public static InstanceSpecification writeSupertaskinfo(List<SupertaskInfo> supertaskInfoList) { + // save supertask info into the processor GaExecHost stereotype in + // otherSchedPolicy + SupertaskInfo s = (SupertaskInfo) supertaskInfoList.get(0); + InstanceSpecification processorInstance = s.getProcessorInstance(); + for (Classifier classifier : processorInstance.getClassifiers()) { + GaExecHost proc = UMLUtils.getStereotypeApplication(classifier, GaExecHost.class); + if (proc != null) { + + StringBuilder sb = new StringBuilder(); + for (SupertaskInfo supertaskInfo : supertaskInfoList) { + sb.append(String.format("[%s=%s],", supertaskInfo.getName(), supertaskInfo.getCapacity())); + } + // remove last comma + sb.setLength(sb.length() - 1); + + String schedPolicy = String.format("RUN(%s)", sb.toString()); + proc.setOtherSchedPolicy(schedPolicy); + } + } + return processorInstance; + } + + /** + * Builds the task 2 core associations. + * + * @param hwSystem the hw system + * @param result the result + */ + public static void buildTask2CoreAssociations(Component hwSystem, Map<CHCore, LinkedHashSet<Object>> result) { + + for (CHCore core : result.keySet()) { + for (Object o : result.get(core)) { + if (!(o instanceof CHTask)) + continue; + + CHTask t = (CHTask) o; + Comment c = hwSystem.createOwnedComment(); + UMLUtils.applyStereotype(c, MARTE_ASSIGN); + Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); + assign.getFrom().add(t.getSlot().getBase_Slot()); + assign.getTo().add(core.getProcessorInstance()); + + eraseProcessorInfo(core.getProcessorInstance()); + + { + Constraint n = hwSystem.createOwnedRule(core.getName()); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(core.getName()); + assign.getImpliedConstraint().add(rule); + } + + { + String context = t.getCHRtSpecification().getContext().getName(); + Constraint n = hwSystem.createOwnedRule(context); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("context", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(context); + assign.getImpliedConstraint().add(rule); + } + + } + } + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java index 5de048a36..d16ea7ca1 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/InstanceQuery.java @@ -1,378 +1,385 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Set; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.ActivityNode; -import org.eclipse.uml2.uml.BehavioralFeature; -import org.eclipse.uml2.uml.CallOperationAction; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Constraint; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.InstanceValue; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Slot; -import org.polarsys.chess.chessmlprofile.Core.IdentifSlot; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.UMLUtils; - -/** - * The Class InstanceQuery. - */ -public class InstanceQuery { - - /** - * Gets the instance spec package. - * - * @param umlModel the uml model - * @return the instance spec package - */ - public static Package getInstanceSpecPackage(Model umlModel){ - Package cmpv = CHESSProfileManager.getViewByStereotype( - (Model) umlModel, CHESSProfileManager.COMPONENT_VIEW); - cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); - return cmpv; - } - - - - - - - /** - * Checks if is deferred. - * - * @param usedCH the used CH - * @return true, if is deferred - */ - static boolean isDeferred(CHRtSpecification usedCH) { - String occKind = usedCH.getOccKind(); - return occKind!=null; - } - - /** - * Gets the CH from slot. - * - * @param usedPiSlot the used pi slot - * @param operation the operation - * @return the CH from slot - */ - static CHRtSpecification getCHFromSlot(Slot usedPiSlot, - Operation operation) { - if(usedPiSlot == null){ - return null; - } - CHRtPortSlot ch = UMLUtils.getStereotypeApplication(usedPiSlot, CHRtPortSlot.class); - if(ch==null) - return null; - - for (CHRtSpecification i : ch.getCH_RtSpecification()) { - if (i.getContext().equals(operation)) { - return i; - } - if(UMLUtils.areOperationsEqual((Operation) i.getContext(), operation, null)){ - return i; - } - } - assert false; - return null; - } - - - /** - * Gets the ri pi links. - * - * @param slot the slot - * @return the ri pi links - */ - private static EList<InstanceSpecification> getRiPiLinks(Slot slot){ - EList<InstanceSpecification> riPiLinks = new BasicEList<InstanceSpecification>(); - EList<Element> allOwnedElements = slot.getOwner().getOwner().allOwnedElements(); - for (Element e : allOwnedElements) { - if (e instanceof InstanceSpecification) { - InstanceSpecification f = (InstanceSpecification) e; - boolean b = f.getClassifiers().size() == 0; - if(b){ - riPiLinks.add(f); - } - } - } - return riPiLinks; - } - - /** - * Gets the opposite slot. - * - * @param slot the slot - * @return the opposite slot - * @throws ModelError the model error - */ - /*identical of getCorrespondingSLot of QVTO transformation*/ - static Slot getOppositeSlot(Slot slot) throws ModelError { - EList<InstanceSpecification> riPiLinks = getRiPiLinks(slot); - - for (InstanceSpecification l : riPiLinks) { - EList<InstanceValue> ends = getEnds(l); - - if(ends.size()!=2) throw new ModelError("A connector must have exactly 2 ends"); - - for (int i = 0; i < 2; i++) { - //1st step: i=0 j=1 - //2nd step: i=1 j=0 - int j = (i+1)%2; - InstanceValue first = ends.get(i); - boolean b = first.getInstance().equals(slot.getOwningInstance()); - b = b && ((Slot)first.getOwner()).getDefiningFeature().equals(slot.getDefiningFeature()); - - if(b){ - InstanceValue instanceValue = ends.get(j); - InstanceSpecification instance = instanceValue.getInstance(); - - Element owner = instanceValue.getOwner(); - if (owner instanceof Slot) { - Slot sOwner = (Slot) owner; - - for (Slot s : instance.getSlots()) { - - if(s.getDefiningFeature().equals(sOwner.getDefiningFeature())) - return s; - - } - } - - } - } - - /*checkingIV = ends.get(1); - b = checkingIV.getInstance().equals(slot.getOwningInstance()); - b = b && ((Slot)checkingIV.getOwner()).getDefiningFeature().equals(slot.getDefiningFeature()); - - if(b){ - InstanceSpecification instance = ends.get(0).getInstance(); - for (Slot s : instance.getSlots()) { - if(s.getDefiningFeature().equals(((Slot)s.getOwner()).getDefiningFeature())) - return s; - } - }*/ - } - - return null; - } - - - /** - * Gets the ends. - * - * @param l the l - * @return the ends - */ - private static EList<InstanceValue> getEnds(InstanceSpecification l) { - EList<InstanceValue> ends = new BasicEList<InstanceValue>(); - - for (Element element : l.allOwnedElements()) { - if (element instanceof InstanceValue) { - InstanceValue iv = (InstanceValue) element; - ends.add(iv); - - } - } - return ends; - } - - /** - * Gets the slot from port. - * - * @param callOp the call op - * @param owningInstance the owning instance - * @return the slot from port - */ - static EList<Slot> getSlotFromPort(CallOperationAction callOp, - InstanceSpecification owningInstance) { - BehavioralFeature specification = callOp.getActivity().getSpecification(); - Operation op = (Operation)specification; - Constraint c = null; - for (Constraint rule : op.getClass_().getOwnedRules()) { - for (Element cE :rule.getConstrainedElements()) { - if (cE instanceof CallOperationAction) { - CallOperationAction cCE = (CallOperationAction) cE; - if(cCE.equals(callOp)) - c = rule; - break; - } - } - } - EList<Slot> result = new BasicEList<Slot>(); - if(c==null){ - for (Slot slot : owningInstance.getSlots()) { - if(slot.getDefiningFeature().equals(callOp.getOnPort())){ - result.add(slot); - } - } - } else { - result = portToSlotsByRule(owningInstance, callOp.getOnPort(), c); - } - return result; - } - - - - /** - * Gets the CH rt port slot. - * - * @param instPkg the inst pkg - * @param dOp the d op - * @return the CH rt port slot - * @throws ModelError the model error - */ - static CHRtPortSlot getCHRtPortSlot(Package instPkg, CHRtSpecification dOp) throws ModelError { - for (Element e : instPkg.allOwnedElements()) { - if(!(e instanceof Slot)) - continue; - CHRtPortSlot pSlot = UMLUtils.getStereotypeApplication(e, CHRtPortSlot.class); - if(pSlot==null) - continue; - for (CHRtSpecification chSPec : pSlot.getCH_RtSpecification()) { - if(chSPec.equals(dOp)){ - return pSlot; - } - } - } - throw new ModelError("Slot for %s does not exist in the instance package", dOp.getContext().getName()); - } - - /** - * Gets the CH rt commentsfrom port. - * - * @param piPort the pi port - * @param operation the operation - * @return the CH rt commentsfrom port - */ - private static void getCHRtCommentsfromPort(Port piPort, Operation operation) { - - EList<Comment> ownedComments = piPort.getOwner().getOwner().getOwnedComments(); - for (Comment comment : ownedComments) { - CHRtSpecification stereotypeApplication = UMLUtils.getStereotypeApplication(comment, CHRtSpecification.class); - if(stereotypeApplication !=null){ - Operation context = (Operation) stereotypeApplication.getContext(); - UMLUtils.isOperationEquals(context, operation); - } - } - } - - /** - * Gets the opposite port. - * - * @param riPort the ri port - * @return the opposite port - */ - private static Port getOppositePort(Port riPort) { - EList<ConnectorEnd> ends = riPort.getEnds(); - assert(ends.size()==1); - for (ConnectorEnd end : ends) { - Connector connector = (Connector)end.getOwner(); - ConnectorEnd oppositeEnd = getOppositeEnd(connector, end); - Port oppositePort = (Port)oppositeEnd.getRole(); - return oppositePort; - } - return null; - } - - /** - * Gets the opposite end. - * - * @param connector the connector - * @param currentEnd the current end - * @return the opposite end - */ - private static ConnectorEnd getOppositeEnd(Connector connector, ConnectorEnd currentEnd) { - EList<ConnectorEnd> array = connector.getEnds(); - assert(array.size()==2); - - for (ConnectorEnd end : array) { - if(!end.equals(currentEnd)) - return (ConnectorEnd) end; - } - - return null; - } - - /** - * Gets the method. - * - * @param dOp the d op - * @return the method - */ - static Activity getMethod(CHRtSpecification dOp) { - try { - return (Activity) dOp.getContext().getMethods().get(0); - } catch (Exception e) { - } - return null; - } - - - - - /** - * Port to slots by rule. - * - * @param self the self - * @param onPort the on port - * @param rule the rule - * @return the e list - */ - private static EList<Slot> portToSlotsByRule(InstanceSpecification self, Port onPort, Constraint rule) { - EList<Slot> list = new BasicEList<Slot>(); - - String values[] = rule.getSpecification().stringValue().trim().split(" "); - ArrayList<int[]> boundsList = new ArrayList<int[]>(); - for (String value : values) { - boundsList.add(VSLUtils.getBounds(value)); - } - - for (Slot slot : self.getSlots()) { - IdentifSlot id = UMLUtils.getStereotypeApplication(slot, IdentifSlot.class); - - if (id != null && slot.getDefiningFeature() == onPort && VSLUtils.isInBounds(id.getId(), boundsList)) { - list.add(slot); - } - else if (slot.getDefiningFeature() == onPort) { - list.add(slot); - } - } - - return list; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.ActivityNode; +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.CallOperationAction; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Constraint; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.InstanceValue; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Slot; +import org.polarsys.chess.chessmlprofile.Core.IdentifSlot; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.UMLUtils; + +/** + * The Class InstanceQuery. + */ +public class InstanceQuery { + + /** + * Gets the instance spec package. + * + * @param umlModel the uml model + * @return the instance spec package + */ + public static Package getInstanceSpecPackage(Model umlModel){ + Package cmpv = CHESSProfileManager.getViewByStereotype( + (Model) umlModel, CHESSProfileManager.COMPONENT_VIEW); + cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); + return cmpv; + } + + + + + + + /** + * Checks if is deferred. + * + * @param usedCH the used CH + * @return true, if is deferred + */ + static boolean isDeferred(CHRtSpecification usedCH) { + String occKind = usedCH.getOccKind(); + return occKind!=null; + } + + /** + * Gets the CH from slot. + * + * @param usedPiSlot the used pi slot + * @param operation the operation + * @return the CH from slot + */ + static CHRtSpecification getCHFromSlot(Slot usedPiSlot, + Operation operation) { + if(usedPiSlot == null){ + return null; + } + CHRtPortSlot ch = UMLUtils.getStereotypeApplication(usedPiSlot, CHRtPortSlot.class); + if(ch==null) + return null; + + for (CHRtSpecification i : ch.getCH_RtSpecification()) { + if (i.getContext().equals(operation)) { + return i; + } + if(UMLUtils.areOperationsEqual((Operation) i.getContext(), operation, null)){ + return i; + } + } + assert false; + return null; + } + + + /** + * Gets the ri pi links. + * + * @param slot the slot + * @return the ri pi links + */ + private static EList<InstanceSpecification> getRiPiLinks(Slot slot){ + EList<InstanceSpecification> riPiLinks = new BasicEList<InstanceSpecification>(); + EList<Element> allOwnedElements = slot.getOwner().getOwner().allOwnedElements(); + for (Element e : allOwnedElements) { + if (e instanceof InstanceSpecification) { + InstanceSpecification f = (InstanceSpecification) e; + boolean b = f.getClassifiers().size() == 0; + if(b){ + riPiLinks.add(f); + } + } + } + return riPiLinks; + } + + /** + * Gets the opposite slot. + * + * @param slot the slot + * @return the opposite slot + * @throws ModelError the model error + */ + /*identical of getCorrespondingSLot of QVTO transformation*/ + static Slot getOppositeSlot(Slot slot) throws ModelError { + EList<InstanceSpecification> riPiLinks = getRiPiLinks(slot); + + for (InstanceSpecification l : riPiLinks) { + EList<InstanceValue> ends = getEnds(l); + + if(ends.size()!=2) throw new ModelError("A connector must have exactly 2 ends"); + + for (int i = 0; i < 2; i++) { + //1st step: i=0 j=1 + //2nd step: i=1 j=0 + int j = (i+1)%2; + InstanceValue first = ends.get(i); + boolean b = first.getInstance().equals(slot.getOwningInstance()); + b = b && ((Slot)first.getOwner()).getDefiningFeature().equals(slot.getDefiningFeature()); + + if(b){ + InstanceValue instanceValue = ends.get(j); + InstanceSpecification instance = instanceValue.getInstance(); + + Element owner = instanceValue.getOwner(); + if (owner instanceof Slot) { + Slot sOwner = (Slot) owner; + + for (Slot s : instance.getSlots()) { + + if(s.getDefiningFeature().equals(sOwner.getDefiningFeature())) + return s; + + } + } + + } + } + + /*checkingIV = ends.get(1); + b = checkingIV.getInstance().equals(slot.getOwningInstance()); + b = b && ((Slot)checkingIV.getOwner()).getDefiningFeature().equals(slot.getDefiningFeature()); + + if(b){ + InstanceSpecification instance = ends.get(0).getInstance(); + for (Slot s : instance.getSlots()) { + if(s.getDefiningFeature().equals(((Slot)s.getOwner()).getDefiningFeature())) + return s; + } + }*/ + } + + return null; + } + + + /** + * Gets the ends. + * + * @param l the l + * @return the ends + */ + private static EList<InstanceValue> getEnds(InstanceSpecification l) { + EList<InstanceValue> ends = new BasicEList<InstanceValue>(); + + for (Element element : l.allOwnedElements()) { + if (element instanceof InstanceValue) { + InstanceValue iv = (InstanceValue) element; + ends.add(iv); + + } + } + return ends; + } + + /** + * Gets the slot from port. + * + * @param callOp the call op + * @param owningInstance the owning instance + * @return the slot from port + */ + static EList<Slot> getSlotFromPort(CallOperationAction callOp, + InstanceSpecification owningInstance) { + BehavioralFeature specification = callOp.getActivity().getSpecification(); + Operation op = (Operation)specification; + Constraint c = null; + for (Constraint rule : op.getClass_().getOwnedRules()) { + for (Element cE :rule.getConstrainedElements()) { + if (cE instanceof CallOperationAction) { + CallOperationAction cCE = (CallOperationAction) cE; + if(cCE.equals(callOp)) + c = rule; + break; + } + } + } + EList<Slot> result = new BasicEList<Slot>(); + if(c==null){ + for (Slot slot : owningInstance.getSlots()) { + if(slot.getDefiningFeature().equals(callOp.getOnPort())){ + result.add(slot); + } + } + } else { + result = portToSlotsByRule(owningInstance, callOp.getOnPort(), c); + } + return result; + } + + + + /** + * Gets the CH rt port slot. + * + * @param instPkg the inst pkg + * @param dOp the d op + * @return the CH rt port slot + * @throws ModelError the model error + */ + static CHRtPortSlot getCHRtPortSlot(Package instPkg, CHRtSpecification dOp) throws ModelError { + for (Element e : instPkg.allOwnedElements()) { + if(!(e instanceof Slot)) + continue; + CHRtPortSlot pSlot = UMLUtils.getStereotypeApplication(e, CHRtPortSlot.class); + if(pSlot==null) + continue; + for (CHRtSpecification chSPec : pSlot.getCH_RtSpecification()) { + if(chSPec.equals(dOp)){ + return pSlot; + } + } + } + throw new ModelError("Slot for %s does not exist in the instance package", dOp.getContext().getName()); + } + + /** + * Gets the CH rt commentsfrom port. + * + * @param piPort the pi port + * @param operation the operation + * @return the CH rt commentsfrom port + */ + private static void getCHRtCommentsfromPort(Port piPort, Operation operation) { + + EList<Comment> ownedComments = piPort.getOwner().getOwner().getOwnedComments(); + for (Comment comment : ownedComments) { + CHRtSpecification stereotypeApplication = UMLUtils.getStereotypeApplication(comment, CHRtSpecification.class); + if(stereotypeApplication !=null){ + Operation context = (Operation) stereotypeApplication.getContext(); + UMLUtils.isOperationEquals(context, operation); + } + } + } + + /** + * Gets the opposite port. + * + * @param riPort the ri port + * @return the opposite port + */ + private static Port getOppositePort(Port riPort) { + EList<ConnectorEnd> ends = riPort.getEnds(); + assert(ends.size()==1); + for (ConnectorEnd end : ends) { + Connector connector = (Connector)end.getOwner(); + ConnectorEnd oppositeEnd = getOppositeEnd(connector, end); + Port oppositePort = (Port)oppositeEnd.getRole(); + return oppositePort; + } + return null; + } + + /** + * Gets the opposite end. + * + * @param connector the connector + * @param currentEnd the current end + * @return the opposite end + */ + private static ConnectorEnd getOppositeEnd(Connector connector, ConnectorEnd currentEnd) { + EList<ConnectorEnd> array = connector.getEnds(); + assert(array.size()==2); + + for (ConnectorEnd end : array) { + if(!end.equals(currentEnd)) + return (ConnectorEnd) end; + } + + return null; + } + + /** + * Gets the method. + * + * @param dOp the d op + * @return the method + */ + static Activity getMethod(CHRtSpecification dOp) { + try { + return (Activity) dOp.getContext().getMethods().get(0); + } catch (Exception e) { + } + return null; + } + + + + + /** + * Port to slots by rule. + * + * @param self the self + * @param onPort the on port + * @param rule the rule + * @return the e list + */ + private static EList<Slot> portToSlotsByRule(InstanceSpecification self, Port onPort, Constraint rule) { + EList<Slot> list = new BasicEList<Slot>(); + + String values[] = rule.getSpecification().stringValue().trim().split(" "); + ArrayList<int[]> boundsList = new ArrayList<int[]>(); + for (String value : values) { + boundsList.add(VSLUtils.getBounds(value)); + } + + for (Slot slot : self.getSlots()) { + IdentifSlot id = UMLUtils.getStereotypeApplication(slot, IdentifSlot.class); + + if (id != null && slot.getDefiningFeature() == onPort && VSLUtils.isInBounds(id.getId(), boundsList)) { + list.add(slot); + } + else if (slot.getDefiningFeature() == onPort) { + list.add(slot); + } + } + + return list; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java index 66bbb5cc9..dfe74ce0c 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/QueryUtils.java @@ -1,2216 +1,2223 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.LinkedHashSet; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.crypto.spec.OAEPParameterSpec; - -import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.Enumerator; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.CallConcurrencyKind; -import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwDevice.HwDevice; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; -import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint; -import org.eclipse.papyrus.uml.tools.model.UmlModel; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.ActivityNode; -import org.eclipse.uml2.uml.CallOperationAction; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Component; -import org.eclipse.uml2.uml.Constraint; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.LiteralString; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Slot; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.ValueSpecification; -import org.polarsys.chess.chessmlprofile.ComponentModel.ComponentImplementation; -import org.polarsys.chess.chessmlprofile.ComponentModel.FunctionalPartition; -import org.polarsys.chess.chessmlprofile.Core.CHESS; -import org.polarsys.chess.chessmlprofile.Core.CHGaResourcePlatform; -import org.polarsys.chess.chessmlprofile.Core.FunctionalPartitions; -import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; -import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; -import org.polarsys.chess.chessmlprofile.util.Constants; -import org.polarsys.chess.core.profiles.CHESSProfileManager; -import org.polarsys.chess.core.util.uml.ModelError; -import org.polarsys.chess.core.util.uml.UMLUtils; -import org.polarsys.chess.multicore.model.CHCore; -import org.polarsys.chess.multicore.model.CHTask; -import org.polarsys.chess.validator.constraints.StringParser; - -/** - * The Class QueryUtils. - */ -public class QueryUtils { - - /** - * The Class OccKindInfo. - */ - public static class OccKindInfo { - - /** The value. */ - public double value; - - /** The type. */ - public String type; - - /** The unit. */ - public String unit; - - } - - /** The Constant MARTE_ASSIGN. */ - private static final String MARTE_ASSIGN = "MARTE::MARTE_Foundations::Alloc::Assign"; - - /** The Constant MARTE_NFPCONSTRAINT. */ - private static final String MARTE_NFPCONSTRAINT = "MARTE::MARTE_Foundations::NFPs::NfpConstraint"; - - /** The Constant COMPONENT_TO_PARTITION. */ - public static final int COMPONENT_TO_PARTITION = 0; - - /** The Constant PARTITION_TO_CORE. */ - public static final int PARTITION_TO_CORE = 1; - - /** The Constant COMPONENT_TO_CORE. */ - public static final int COMPONENT_TO_CORE = 2; - - /** The Constant TASK_TO_CORE. */ - public static final int TASK_TO_CORE = 3; - - /** - * Gets the chess. - * - * @param umlModel the uml model - * @return the chess - */ - public static CHESS getCHESS(Model umlModel) { - return UMLUtils.getStereotypeApplication(umlModel, CHESS.class); - } - - /** - * Gets the command stack. - * - * @param umlModel the uml model - * @return the command stack - */ - public static CommandStack getCommandStack(Model umlModel) { - TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(umlModel); - return editingDomain.getCommandStack(); - } - - /** - * returns the component which owns the assigns from components to partitions. - * - * @param umlModel the uml model - * @return the partitions component - * @throws ModelError the model error - * @deprecated PartitionsComponent stereotype is deprecated - */ - public static Component getPartitionsComponent(Model umlModel) throws ModelError { - // assumption: assigns are stored in the root SW system i.e. the one - // stereotyped with CHGaResourcePlatform - - CHESS chess = getCHESS(umlModel); - Package componentViewP = chess.getComponentView().getBase_Package(); - - for (Element el : componentViewP.allOwnedElements()) { - if (el instanceof Component) { - Component c = (Component) el; - // LB 20150707 Next line to be reviewed based on considerations about - // partitions' component - boolean b = c.getName().equalsIgnoreCase("Partitions"); - b = b || UMLUtils.getStereotypeApplication(el, FunctionalPartitions.class) != null; - if (b) - return c; - } - } - - throw new ModelError("Partitions component not found."); - } - - - /** - * Given a Partition returns the list of Components that are assigned to it. - * - * @param partition the partition - * @param assignments the assignments - * @return the components assigned 2 partition - */ - public static LinkedHashSet<Object> getComponentsAssigned2Partition(InstanceSpecification partition, EList<Assign> assignments) { - LinkedHashSet<Object> result = new LinkedHashSet<Object>(); - - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - if (theAssignment.getTo().contains((Object) partition) && (elementIsComponentInstance(theAssignment.getFrom().get(0)))) { - result.add(theAssignment.getFrom().get(0)); - } - } catch (Exception e) { - // do nothing - } - } - } - return result; - } - - /** - * Deletes all the associations of the given type. - * - * @param parent the parent - * @param associationType (PARTITION_TO_CORE | COMPONENT_TO_CORE | TASK_TO_CORE | COMPONENT_TO_PARTITION - */ - public static void deleteAssociations(Component parent, int associationType) { - for (Object el : parent.getOwnedComments().toArray()) { - if (el instanceof Comment) { - Comment assignComment = (Comment) el; - - Assign assign = UMLUtils.getStereotypeApplication(assignComment, Assign.class); - // Only delete one kind of associations - try { - if ((assign != null && associationType == PARTITION_TO_CORE && (elementIsPartitionInstance(assign.getFrom().get(0)))) - || (assign != null && associationType == COMPONENT_TO_CORE && (elementIsComponentInstance(assign.getFrom().get(0))) && (elementIsProcessorInstance(assign.getTo().get(0)))) - || (assign != null && associationType == TASK_TO_CORE && (elementIsSlotInstance(assign.getFrom().get(0))) && (elementIsProcessorInstance(assign.getTo().get(0)))) - || (assign != null && associationType == COMPONENT_TO_PARTITION && (elementIsComponentInstance(assign.getFrom().get(0))) && (elementIsPartitionInstance(assign.getTo().get(0))))) { - if (assign != null && assign.getImpliedConstraint().size() > 0) { - for (Object c : assign.getImpliedConstraint().toArray()) { - if (c instanceof NfpConstraint) { - NfpConstraint n = (NfpConstraint) c; - n.getBase_Constraint().destroy(); - } - } - } - assignComment.destroy(); - } - } catch (Exception e) { - // 20160225 Always delete assignments where one end is null! - assignComment.destroy(); - } - } - } - - // for (Object el : parent.getOwnedRules().toArray()) { - // if (el instanceof Constraint) { - // Constraint assignComment = (Constraint) el; - // assignComment.destroy(); - // } - // } - } - - /** - * Returns the CHTask associated to the given element (if this is a CHRTPortSlot). - * - * @param element the element - * @return task that corresponds to the input slot, if any - */ - public static CHTask getTaskFromSlot(Element element) { - if (!(element instanceof Slot)) { - return null; - } - Slot slot = (Slot) element; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) { - return null; - } - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { - return new CHTask(chSlot, chRtSpecification); - } - } - return null; - } - - /** - * Returns all the CHTasks associated to the given element (if this is a CHRTPortSlot). - * - * @param element the element - * @return task that corresponds to the input slot, if any - */ - private static EList<CHTask> getAllTasksFromSlot(Element element) { - EList<CHTask> chTaskList = new BasicEList<CHTask>(); - if (!(element instanceof Slot)) { - return chTaskList; - } - Slot slot = (Slot) element; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) { - return chTaskList; - } - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { - chTaskList.add(new CHTask(chSlot, chRtSpecification)); - // return new CHTask(chSlot, chRtSpecification); - } - } - return chTaskList; - } - - /** - * Element is slot instance. - * - * @param element the element - * @return true, if successful - */ - public static boolean elementIsSlotInstance(Element element) { - return element instanceof Slot; - } - - /** - * Given a component, create all the Component to Partition Assignments. - * - * @param parent the parent - * @param result the result - */ - public static void buildComponent2PartitionAssignment(Component parent, Map<InstanceSpecification, LinkedHashSet<Object>> result) { - System.out.println(parent.getQualifiedName()); - - for (InstanceSpecification partitionInst : result.keySet()) { - System.out.println(partitionInst.getName()); - for (Object o : result.get(partitionInst)) { - if (o instanceof InstanceSpecification) { - InstanceSpecification componentInst = (InstanceSpecification) o; - System.out.println(componentInst.getName()); - - Comment c = parent.createOwnedComment(); - UMLUtils.applyStereotype(c, MARTE_ASSIGN); - Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); - assign.getFrom().add(componentInst); - assign.getTo().add(partitionInst); - } - } - } - } - - /** - * Builds the core name. - * - * @param coreNumber the core number - * @return the string - */ - public static String buildCoreName(int coreNumber) { - /* coreNumber starts from 0 */ - return "core" + coreNumber; - } - - /** - * Create all the Partition to Core Assignments. - * - * @param parent the parent - * @param result the result - */ - public static void buildPartition2CoreAssignments(Component parent, Map<CHCore, LinkedHashSet<Object>> result) { - for (CHCore core : result.keySet()) { - for (Object o : result.get(core)) { - if (o instanceof InstanceSpecification) { - InstanceSpecification partitionInst = (InstanceSpecification) o; - Comment c = parent.createOwnedComment(); - UMLUtils.applyStereotype(c, MARTE_ASSIGN); - Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); - assign.getFrom().add(partitionInst); - assign.getTo().add(core.getProcessorInstance()); - - Constraint n = parent.createOwnedRule(core.getName()); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(core.getName()); - assign.getImpliedConstraint().add(rule); - } - } - } - } - - /** - * Returns the first CHGaResourcePlatform that is found inside the given package. - * - * @param cmpv the cmpv - * @return the one resource platform package - */ - public static Package getOneResourcePlatformPackage(Package cmpv) { - /* breath-first search */ - final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); - breadthFirstList.addFirst(cmpv); - while (!breadthFirstList.isEmpty()) { - final Package candidate = breadthFirstList.poll(); - - CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); - - if (a != null) - return candidate; - - for (final Package p : candidate.getNestedPackages()) { - breadthFirstList.addLast(p); - } - } - return null; - } - - /** - * Gets the resource platform package. - * - * @param cmpv the cmpv - * @return the resource platform package - * @deprecated This method returns only one platform package. In the newer - * version of CHESS there can be multiple platform packages. - * Replace with getResourcePlatformPackages - */ - @Deprecated - public static Package getResourcePlatformPackage(Package cmpv) { - /* breath-first search */ - final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); - breadthFirstList.addFirst(cmpv); - while (!breadthFirstList.isEmpty()) { - final Package candidate = breadthFirstList.poll(); - - CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); - - if (a != null) - return candidate; - - for (final Package p : candidate.getNestedPackages()) { - breadthFirstList.addLast(p); - } - } - return null; - } - - /** - * Returns the list of CHGaResourcePlatforms found inside the view with the given name in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the resource platform packages - * @throws ModelError the model error - */ - public static EList<Package> getResourcePlatformPackages(Model umlModel, String viewName) throws ModelError { - - Package pack = CHESSProfileManager.getViewByStereotype((Model) umlModel, viewName); - - if (pack == null) - throw new ModelError(viewName + " not found."); - // Package cmpv - /* breath-first search */ - - EList<Package> result = new BasicEList<Package>(); - - final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); - breadthFirstList.addFirst(pack); - while (!breadthFirstList.isEmpty()) { - final Package candidate = breadthFirstList.poll(); - - CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); - - if (a != null) - result.add(candidate); - // return candidate; - - for (final Package p : candidate.getNestedPackages()) { - breadthFirstList.addLast(p); - } - } - return result; - // return null; - } - - /** - * Returns the list of CHGaResourcePlatforms found inside the given Package. - * - * @param cmpv is the given package - * @return the resource platform packages - */ - public static List<Package> getResourcePlatformPackages(Package cmpv) { - List<Package> candidates = new ArrayList<Package>(); - /* breath-first search */ - final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); - breadthFirstList.addFirst(cmpv); - while (!breadthFirstList.isEmpty()) { - final Package candidate = breadthFirstList.poll(); - - CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); - - if (a != null) - candidates.add(candidate); - - for (final Package p : candidate.getNestedPackages()) { - breadthFirstList.addLast(p); - } - } - return candidates; - } - - /** - * Returns a Component that is stereotyped as CHGaResourcePlatform inside the view with the given name - * in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the resource platform component - * @throws ModelError the model error - */ - public static Component getResourcePlatformComponent(Model umlModel, String viewName) throws ModelError { - Package parent = CHESSProfileManager.getViewByStereotype(umlModel, viewName); - - if (parent == null) - throw new ModelError(viewName + " not found."); - - /* breath-first search */ - final LinkedList<Element> breadthFirstList = new LinkedList<Element>(); - - breadthFirstList.addAll(parent.getOwnedElements()); - while (!breadthFirstList.isEmpty()) { - final Element t = breadthFirstList.poll(); - - if (t instanceof Component) { - Component candidate = (Component) t; - CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); - if (a != null) - return candidate; - } - for (final Element e : t.getOwnedElements()) { - breadthFirstList.addLast(e); - } - } - - throw new ModelError("CHGaResourcePlatform not found in " + viewName + " view."); - } - - /** - * Returns true if the given InstanceSpecification is a functional Partition, false otherwise. - * - * @param e the e - * @return true, if is partition instance - */ - public static boolean isPartitionInstance(InstanceSpecification e) { - for (Classifier c : e.getClassifiers()) { - - if (UMLUtils.getStereotypeApplication(c, FunctionalPartition.class) != null) - return true; - - } - return false; - } - - /** - * Returns true if the given InstanceSpecification is a ComponentImplementation, false otherwise. - * - * @param e the e - * @return true, if is component instance - */ - public static boolean isComponentInstance(InstanceSpecification e) { - for (Classifier c : e.getClassifiers()) { - if (UMLUtils.getStereotypeApplication(c, ComponentImplementation.class) != null) - return true; - } - return false; - } - - /** - * Checks if is guarded. - * - * @param spec the spec - * @return true, if is guarded - */ - public static boolean isGuarded(CHRtSpecification spec) { - return spec.getProtection().getName().equals(CallConcurrencyKind.GUARDED.getName()); - } - - /** - * Checks if is occ kind sporadic or periodic. - * - * @param occKind the occ kind - * @return true, if is occ kind sporadic or periodic - */ - public static boolean isOccKindSporadicOrPeriodic(String occKind) { - if (occKind == null) - return false; - return isOccKindSporadic(occKind) || isOccKindPeriodic(occKind); - } - - /** - * Checks if is occ kind sporadic. - * - * @param occKind the occ kind - * @return true, if is occ kind sporadic - */ - public static boolean isOccKindSporadic(String occKind) { - String t = occKind.toLowerCase(); - return t.matches(".*sporadic.*"); - } - - /** - * Checks if is occ kind periodic. - * - * @param occKind the occ kind - * @return true, if is occ kind periodic - */ - public static boolean isOccKindPeriodic(String occKind) { - String t = occKind.toLowerCase(); - return t.matches(".*periodic.*"); - } - - /** - * Returns the OccKindInfo that correspomnds to the input string. - * - * @param occKind the String with the occurrency kind information - * @return OccKindInfo - */ - public static OccKindInfo getOccKindInfo(String occKind) { - StringParser sp = new StringParser(); - OccKindInfo info = new OccKindInfo(); - if (isOccKindSporadic(occKind)) { - info.value = sp.getValuePattern(occKind, "minInterarrival"); - info.type = "sporadic"; - info.unit = sp.getUnitPattern(occKind, "minInterarrival"); - } else if (occKind.toLowerCase().matches(".*periodic.*")) { - info.value = sp.getValuePattern(occKind, "period"); - info.unit = sp.getUnitPattern(occKind, "period"); - info.type = "periodic"; - } else { - return null; - } - - return info; - } - - /** - * Returns a map with the Component to Partition assignments. - * - * @param umlModel the uml model - * @param parent the parent - * @return the map - * @throws ModelError the model error - */ - public static Map<InstanceSpecification, Set<CHRtSpecification>> buildPartitionComponentMap(Model umlModel, Package parent) throws ModelError { - Map<InstanceSpecification, Set<CHRtSpecification>> map = new HashMap<InstanceSpecification, Set<CHRtSpecification>>(); - - EList<Assign> assignmentList = UMLUtils.getComponent2PartitionAssignments(umlModel, CHESSProfileManager.COMPONENT_VIEW); - if (!assignmentList.isEmpty()) { - for (Assign assign : assignmentList) { - if (assign == null) - continue; - for (Element i : assign.getFrom()) { - if (i instanceof InstanceSpecification) { - InstanceSpecification ii = (InstanceSpecification) i; - processComponentInstance(map, assign, ii); - } - } - - } - } - - return map; - } - - /** - * Returns a map with the Partition to Core assignments. - * - * @param umlModel the uml model - * @return the map - * @throws ModelError the model error - */ - public static Map<String, Set<InstanceSpecification>> buildPartitionCoreMap(Model umlModel) throws ModelError { - Map<String, Set<InstanceSpecification>> map = new HashMap<String, Set<InstanceSpecification>>(); - - EList<Assign> assignmentList = UMLUtils.getPartition2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - if (!assignmentList.isEmpty()) { - for (Assign assign : assignmentList) { - - for (Element i : assign.getFrom()) { - if (i instanceof InstanceSpecification) { - processPartitionInstance(map, assign); - } - } - - } - } - return map; - } - - // public static Map<InstanceSpecification, Set<CHRtSpecification>> - // buildPartitionComponentMap(Component parent) { - // Map<InstanceSpecification, Set<CHRtSpecification>> map = new - // HashMap<InstanceSpecification, Set<CHRtSpecification>>(); - // for (Comment el : parent.getOwnedComments()) { - // - // Comment assignComment = (Comment) el; - // Assign assign = UMLUtils.getStereotypeApplication(assignComment, - // Assign.class); - // if (assign == null) - // continue; - // for (Element i : assign.getFrom()) { - // if (i instanceof InstanceSpecification) { - // InstanceSpecification ii = (InstanceSpecification) i; - // processComponentInstance(map, assign, ii); - // } - // } - // - // } - // return map; - // } - - /** - * Process partition instance. - * - * @param map the map - * @param assign the assign - */ - private static void processPartitionInstance(Map<String, Set<InstanceSpecification>> map, Assign assign) { - - try { - if (assign.getImpliedConstraint().size() > 0) { - for (Object c : assign.getImpliedConstraint().toArray()) { - if (c instanceof NfpConstraint) { - ValueSpecification x = ((NfpConstraint) c).getBase_Constraint().getSpecification(); - if (x instanceof LiteralString) { - LiteralString s = (LiteralString) x; - String coreName = ((NamedElement) assign.getTo().get(0)).getName() + s.getValue(); - InstanceSpecification part = (InstanceSpecification) assign.getFrom().get(0); - - Set<InstanceSpecification> value = map.get(coreName); - if (value == null) - value = new HashSet<InstanceSpecification>(); - value.add(part); - map.put(coreName, value); - } - } - - } - } - } catch (Exception e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - } - - /** - * Process component instance. - * - * @param map the map - * @param assign the assign - * @param instanceSpec the instance spec - */ - private static void processComponentInstance(Map<InstanceSpecification, Set<CHRtSpecification>> map, Assign assign, InstanceSpecification instanceSpec) { - - for (Element element : instanceSpec.getOwnedElements()) { - if (element instanceof Slot) { - Slot slot = (Slot) element; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot != null) { - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - - addToMap(map, assign.getTo(), chSpecs); - } - } - } - } - - /** - * Adds the to map. - * - * @param map the map - * @param to the to - * @param chSpecs the ch specs - */ - /* add only periodic or sporadic components */ - private static void addToMap(Map<InstanceSpecification, Set<CHRtSpecification>> map, EList<Element> to, EList<CHRtSpecification> chSpecs) { - for (Element partition : to) { - if (partition instanceof InstanceSpecification) { - InstanceSpecification p = (InstanceSpecification) partition; - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null) { - if (isOccKindSporadicOrPeriodic(occKind)) { - addToMap(map, p, chRtSpecification); - } - } - } - } - } - } - - - /** - * Adds the to map. - * - * @param map the map - * @param p the p - * @param chRtSpecification the ch rt specification - */ - private static void addToMap(Map<InstanceSpecification, Set<CHRtSpecification>> map, InstanceSpecification p, CHRtSpecification chRtSpecification) { - Set<CHRtSpecification> value = map.get(p); - if (value == null) - value = new HashSet<CHRtSpecification>(); - value.add(chRtSpecification); - map.put(p, value); - - } - - - /** - * Returns true if the given InstanceSpecification is sterotyped as CH_HwProcessor. - * - * @param e the e - * @return true, if is processor instance - */ - public static boolean isProcessorInstance(InstanceSpecification e) { - for (Classifier c : e.getClassifiers()) { - if (UMLUtils.getStereotypeApplication(c, CH_HwProcessor.class) != null) - return true; - } - return false; - } - - /** - * check if an instance specification is an instance of a MARTE Device. - * - * @param instSpec the inst spec - * @return true if the input is an instance of a MARTE Device, false - * otherwise. - */ - public static boolean isDeviceInstance(InstanceSpecification instSpec) { - Classifier classifier = instSpec.getClassifiers().get(0); - EList<Stereotype> stereotypeList = classifier.getAppliedStereotypes(); - for (Stereotype theStereo : stereotypeList) { - EObject object = classifier.getStereotypeApplication(theStereo); - if (object instanceof HwDevice) { - return true; - } - } - - return false; - } - - /** - * Gets the one processor. - * - * @param umlModel the uml model - * @return the one processor - */ - public static CH_HwProcessor getOneProcessor(Model umlModel) { - Package depv = CHESSProfileManager.getViewByStereotype((Model) umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - depv = QueryUtils.getOneResourcePlatformPackage(depv); - if (depv != null) { - EList<Element> all = depv.allOwnedElements(); - for (Element element : all) { - if (element instanceof InstanceSpecification) { - InstanceSpecification e = (InstanceSpecification) element; - if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { - CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); - return t; - } - } - } - } - return null; - } - - /** - * Gets the all processor instances. - * - * @param umlModel the uml model - * @return the all processor instances - * @throws ModelError the model error - */ - public static EList<CH_HwProcessor> getAllProcessorInstances(Model umlModel) throws ModelError { - EList<CH_HwProcessor> processors = new BasicEList<CH_HwProcessor>(); - Package depv = CHESSProfileManager.getViewByStereotype((Model) umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); - - if (depv == null) - throw new ModelError("Deployment view not found."); - - List<Package> platformPackages = QueryUtils.getResourcePlatformPackages(depv); - - if (platformPackages.isEmpty()) - throw new ModelError("CHGaResourcePlatform not found in Deployment view."); - - for (Package pp : platformPackages) { - EList<Element> all = pp.allOwnedElements(); - for (Element element : all) { - if (element instanceof InstanceSpecification) { - InstanceSpecification e = (InstanceSpecification) element; - if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { - CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); - processors.add(t); - } - } - } - } - - if (processors.size() == 0) - throw new ModelError("Processors not found."); - - return processors; - } - - /** - * Gets the all processor instances in package. - * - * @param thePackage the the package - * @return the all processor instances in package - * @throws ModelError the model error - */ - public static EList<CH_HwProcessor> getAllProcessorInstancesInPackage(Package thePackage) throws ModelError { - EList<CH_HwProcessor> processors = new BasicEList<CH_HwProcessor>(); - - EList<Element> all = thePackage.allOwnedElements(); - for (Element element : all) { - if (element instanceof InstanceSpecification) { - InstanceSpecification e = (InstanceSpecification) element; - if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { - CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); - processors.add(t); - } - } - } - if (processors.size() == 0) - throw new ModelError("Processors not found."); - - return processors; - } - - - /** - * Filter multi core processors. - * - * @param processors the processors - * @return the e list - */ - public static EList<CH_HwProcessor> filterMultiCoreProcessors(EList<CH_HwProcessor> processors) { - EList<CH_HwProcessor> candidates = new BasicEList<CH_HwProcessor>(); - for (CH_HwProcessor processor : processors) { - if (getCores(processor).size() > 1) - candidates.add(processor); - } - return candidates; - - } - - - /** - * Gets the cores. - * - * @param processor the processor - * @return the cores - */ - public static EList<CHCore> getCores(CH_HwProcessor processor) { - InstanceSpecification processorBaseInst = processor.getBase_InstanceSpecification(); - Component processorComponent = (Component) processorBaseInst.getClassifiers().get(0); - - Stereotype chHwProcessorStereo = processorComponent.getAppliedStereotype(Constants.CH_HWPROCESSOR); - CH_HwProcessor chHwProc = (CH_HwProcessor) processorComponent.getStereotypeApplication(chHwProcessorStereo); - - String coreNumber = null; - coreNumber = chHwProc.getNbCores(); - int icoreNumber = 1; - try { - icoreNumber = Integer.parseInt(coreNumber); - } catch (Exception e) { - icoreNumber = 1; - } - EList<CHCore> cores = new BasicEList<CHCore>(); - for (int i = 0; i < icoreNumber; i++) { - cores.add(new CHCore(processor, QueryUtils.buildCoreName(i))); - } - return cores; - } - - - /** - * Gets the all partition instances. - * - * @param umlModel the uml model - * @return the all partition instances - * @throws ModelError the model error - */ - public static EList<InstanceSpecification> getAllPartitionInstances(Model umlModel) throws ModelError { - - Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, CHESSProfileManager.COMPONENT_VIEW); - - if (cmpv == null) - throw new ModelError("Component view not found."); - - cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); - - if (cmpv == null) - throw new ModelError("CHGaResourcePlatform not found in Component View."); - - EList<Element> all = cmpv.allOwnedElements(); - EList<InstanceSpecification> partitions = new BasicEList<InstanceSpecification>(); - for (Element element : all) { - if (!(element instanceof InstanceSpecification)) - continue; - - InstanceSpecification is = (InstanceSpecification) element; - - if (!(is.getQualifiedName() != null && QueryUtils.isPartitionInstance(is))) - continue; - partitions.add(is); - } - - if (partitions.size() == 0) - throw new ModelError("Partition Instances not found."); - - return partitions; - } - - - /** - * Gets the all component instances. - * - * @param umlModel the uml model - * @return the all component instances - * @throws ModelError the model error - */ - public static EList<InstanceSpecification> getAllComponentInstances(Model umlModel) throws ModelError { - - Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, CHESSProfileManager.COMPONENT_VIEW); - - if (cmpv == null) - throw new ModelError("Component view not found."); - - cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); - - if (cmpv == null) - throw new ModelError("CHGaResourcePlatform not found in Component View."); - - EList<Element> all = cmpv.allOwnedElements(); - EList<InstanceSpecification> components = new BasicEList<InstanceSpecification>(); - for (Element element : all) { - if (!(element instanceof InstanceSpecification)) - continue; - - InstanceSpecification is = (InstanceSpecification) element; - - if (!(is.getQualifiedName() != null && QueryUtils.isComponentInstance(is))) - continue; - components.add(is); - - } - if (components.size() == 0) - throw new ModelError("Component Instances not found."); - - return components; - } - - - /** - * Gets the all task instances. - * - * @param umlModel the uml model - * @return the all task instances - * @throws ModelError the model error - */ - public static EList<CHTask> getAllTaskInstances(Model umlModel) throws ModelError { - - EList<CHTask> tasks = new BasicEList<CHTask>(); - - EList<InstanceSpecification> x = getAllComponentInstances(umlModel); - for (InstanceSpecification instanceSpecification : x) { - for (Element element1 : instanceSpecification.getOwnedElements()) { - - if (!(element1 instanceof Slot)) - continue; - - Slot slot = (Slot) element1; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) - continue; - - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - - for (CHRtSpecification chRtSpecification : chSpecs) { - tasks.add(new CHTask(chSlot, chRtSpecification)); - } - } - } - if (tasks.size() == 0) - throw new ModelError("Tasks Instances not found."); - - return tasks; - } - - /** - * Delete task 2 core associations. - * - * @param hwSystem the hw system - */ - public static void deleteTask2CoreAssociations(Component hwSystem) { - deleteAssociations(hwSystem, TASK_TO_CORE); - } - - /** - * Delete component 2 core associations. - * - * @param hwSystem the hw system - */ - public static void deleteComponent2CoreAssociations(Component hwSystem) { - deleteAssociations(hwSystem, COMPONENT_TO_CORE); - } - - /** - * Delete partition 2 core associations. - * - * @param hwSystem the hw system - */ - public static void deletePartition2CoreAssociations(Component hwSystem) { - deleteAssociations(hwSystem, PARTITION_TO_CORE); - } - - - /** - * Builds the instance 2 core assignments. - * - * @param hwSystem the hw system - * @param result the result - */ - public static void buildInstance2CoreAssignments(Component hwSystem, Map<CHCore, LinkedHashSet<Object>> result) { - - for (CHCore core : result.keySet()) { - for (Object o : result.get(core)) { - if (o instanceof InstanceSpecification) { - InstanceSpecification componentInst = (InstanceSpecification) o; - Comment c = hwSystem.createOwnedComment(); - UMLUtils.applyStereotype(c, MARTE_ASSIGN); - Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); - assign.getFrom().add(componentInst); - assign.getTo().add(core.getProcessorInstance()); - - Constraint n = hwSystem.createOwnedRule(core.getName()); - UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); - NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); - - ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); - LiteralString value = (LiteralString) valueSpec; - value.setValue(core.getName()); - assign.getImpliedConstraint().add(rule); - } - } - } - } - - - /** - * Gets the CHRT spec from instances. - * - * @param instances the instances - * @return the CHRT spec from instances - */ - public static Set<CHRtSpecification> getCHRTSpecFromInstances(EList<InstanceSpecification> instances) { - - Set<CHRtSpecification> result = new HashSet<CHRtSpecification>(); - - for (InstanceSpecification is : instances) { - for (Element el : is.getOwnedElements()) { - if (!(el instanceof Slot)) - continue; - - Slot slot = (Slot) el; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) - continue; - - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { - result.add(chRtSpecification); - } - } - } - } - - return result; - } - - /** - * Gets the CH tasks. - * - * @param instances the instances - * @return the CH tasks - */ - public static Map<CHRtSpecification, Slot> getCHTasks(EList<InstanceSpecification> instances) { - - Map<CHRtSpecification, Slot> result = new HashMap<CHRtSpecification, Slot>(); - - for (InstanceSpecification is : instances) { - for (Element el : is.getOwnedElements()) { - - if (!(el instanceof Slot)) - continue; - - Slot slot = (Slot) el; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) - continue; - - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null) { - if (isOccKindSporadicOrPeriodic(occKind)) { - result.put(chRtSpecification, slot); - } - } - } - } - } - - return result; - } - - - /** - * Gets the CH tasks list. - * - * @param instances the instances - * @return the CH tasks list - */ - public static EList<CHTask> getCHTasksList(EList<InstanceSpecification> instances) { - - EList<CHTask> result = new BasicEList<CHTask>(); - - for (InstanceSpecification is : instances) { - for (Element el : is.getOwnedElements()) { - - if (!(el instanceof Slot)) - continue; - - Slot slot = (Slot) el; - CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); - if (chSlot == null) - continue; - - EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); - for (CHRtSpecification chRtSpecification : chSpecs) { - String occKind = chRtSpecification.getOccKind(); - if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { - result.add(new CHTask(chSlot, chRtSpecification)); - } - } - } - } - - return result; - } - - /** - * Builds the task 2 core assignments. - * - * @param hwSystem the hw system - * @param processor the processor - * @param coresToCHRtSpec the cores to CH rt spec - * @param mapCHRtSpecToInstances the map CH rt spec to instances - */ - public static void buildTask2CoreAssignments(Component hwSystem, InstanceSpecification processor, Map<String, LinkedHashSet<CHRtSpecification>> coresToCHRtSpec, - Map<CHRtSpecification, InstanceSpecification> mapCHRtSpecToInstances) { - // TODO Auto-generated method stub - - } - - /** - * Gets the operation chain. - * - * @param umlModel the uml model - * @param chtasks the chtasks - * @return the operation chain - * @throws ModelError the model error - */ - /* - * foreach deferred op get its slot in the instance package get its activity - * diagram if any collect the called operations get the corresponding - * component and so its specification - * - * this is useful to calculate the WCET of the task generated from the - * deferred op - */ - public static HashMap<CHTask, EList<CHTask>> getOperationChain(Model umlModel, EList<CHTask> chtasks) throws ModelError { - Package instPkg = InstanceQuery.getInstanceSpecPackage(umlModel); - if (instPkg == null) { - throw new ModelError("Instance package not in the model: use the create instance command to create this package"); - } - HashMap<CHTask, EList<CHTask>> map = new HashMap<CHTask, EList<CHTask>>(); - for (CHTask dOp : chtasks) { - System.out.println(dOp.getCHRtSpecification().getContext().getName()); - EList<CHTask> list = new BasicEList<CHTask>(); - CHRtPortSlot chRtPortSlot = InstanceQuery.getCHRtPortSlot(instPkg, dOp.getCHRtSpecification()); - slot2EndToEndWorkFlow(instPkg, chRtPortSlot, dOp.getCHRtSpecification(), list); - map.put(dOp, list); - } - return map; - } - - /** - * Gets the operation chain 2. - * - * @param umlModel the uml model - * @param chtasks the chtasks - * @return the operation chain 2 - * @throws ModelError the model error - */ - public static HashMap<CHRtSpecification, EList<CHTask>> getOperationChain2(Model umlModel, Set<CHRtSpecification> chtasks) throws ModelError { - Package instPkg = InstanceQuery.getInstanceSpecPackage(umlModel); - if (instPkg == null) { - throw new ModelError("Instance package not in the model: use the create instance command to create this package"); - } - HashMap<CHRtSpecification, EList<CHTask>> map = new HashMap<CHRtSpecification, EList<CHTask>>(); - for (CHRtSpecification dOp : chtasks) { - System.out.println(dOp.getContext().getName()); - EList<CHTask> list = new BasicEList<CHTask>(); - CHRtPortSlot chRtPortSlot = InstanceQuery.getCHRtPortSlot(instPkg, dOp); - slot2EndToEndWorkFlow(instPkg, chRtPortSlot, dOp, list); - map.put(dOp, list); - } - return map; - } - - - /** - * Slot 2 end to end work flow. - * - * @param instPkg the inst pkg - * @param currentChSlot the current ch slot - * @param dOp the d op - * @param list the list - * @throws ModelError the model error - */ - private static void slot2EndToEndWorkFlow(Package instPkg, CHRtPortSlot currentChSlot, CHRtSpecification dOp, EList<CHTask> list) throws ModelError { - - InstanceSpecification owningInstance = currentChSlot.getBase_Slot().getOwningInstance(); - Activity method = InstanceQuery.getMethod(dOp); - if (method == null) - return;// TODO throw exception? - for (ActivityNode node : method.getNodes()) { - if (node instanceof CallOperationAction) { - CallOperationAction callOp = (CallOperationAction) node; - EList<Slot> riSlot = InstanceQuery.getSlotFromPort(callOp, owningInstance); - for (Slot slot : riSlot) { - Slot usedPiSlot = InstanceQuery.getOppositeSlot(slot); - CHRtSpecification usedCH = InstanceQuery.getCHFromSlot(usedPiSlot, callOp.getOperation()); - CHRtPortSlot ch = UMLUtils.getStereotypeApplication(usedPiSlot, CHRtPortSlot.class); - if (!InstanceQuery.isDeferred(usedCH)) { - list.add(new CHTask(ch, usedCH)); - slot2EndToEndWorkFlow(instPkg, ch, usedCH, list); - } - // - // Operation operation = callOp.getOperation();//=>use to match the - // context of the chrtspec - // Port riPort = callOp.getOnPort();//=>get link and then pi then - // chrtspec - // Port piPort = getOppositePort(riPort); - // getCHRtCommentsfromPort(piPort, operation); - } - - } - } - } - - - /** - * Wcet unit. - * - * @param wcetSpec the wcet spec - * @param theUnit the the unit - * @return the int - */ - private static int wcetUnit(String wcetSpec, String theUnit) { - int ret = -1; - if (wcetSpec == null) - return ret; - - StringParser sp = new StringParser(); - double value = sp.getValueNFP(wcetSpec); - String unit = sp.getUnitNFP(wcetSpec); - - if (value == -1) - return ret; - - int intValue = unitConversion(value, unit, theUnit); - return intValue; - } - - - /** - * Unit conversion float. - * - * @param value the value - * @param fromUnit the from unit - * @param toUnit the to unit - * @return the float - */ - public static float unitConversionFloat(double value, String fromUnit, String toUnit) { - int toFactor = 1000000; - - if (toUnit.equalsIgnoreCase("s")) { - toFactor = 1000000000; - } else if (toUnit.equalsIgnoreCase("ms")) { - toFactor = 1000000; - } else if (toUnit.equalsIgnoreCase("us")) { - toFactor = 1000; - } else if (toUnit.equalsIgnoreCase("ns")) { - toFactor = 1; - } - - int fromFactor = 1000000; - - if (fromUnit.equalsIgnoreCase("s")) { - fromFactor = 1000000000; - } else if (fromUnit.equalsIgnoreCase("ms")) { - fromFactor = 1000000; - } else if (fromUnit.equalsIgnoreCase("us")) { - fromFactor = 1000; - } else if (fromUnit.equalsIgnoreCase("ns")) { - fromFactor = 1; - } - - float ratio = (float) fromFactor / toFactor; - float intValue = (float) (value * ratio); - return intValue; - } - - - /** - * Wcet unit float. - * - * @param wcetSpec the wcet spec - * @param theUnit the the unit - * @return the float - */ - private static float wcetUnitFloat(String wcetSpec, String theUnit) { - int ret = -1; - if (wcetSpec == null) - return ret; - - StringParser sp = new StringParser(); - double value = sp.getValueNFP(wcetSpec); - String unit = sp.getUnitNFP(wcetSpec); - - if (value == -1) - return ret; - - return unitConversionFloat(value, unit, theUnit); - } - - - /** - * Unit conversion. - * - * @param value the value - * @param fromUnit the from unit - * @param toUnit the to unit - * @return the int - */ - public static int unitConversion(double value, String fromUnit, String toUnit) { - int toFactor = 1000000; - - if (toUnit.equalsIgnoreCase("s")) { - toFactor = 1000000000; - } else if (toUnit.equalsIgnoreCase("ms")) { - toFactor = 1000000; - } else if (toUnit.equalsIgnoreCase("us")) { - toFactor = 1000; - } else if (toUnit.equalsIgnoreCase("ns")) { - toFactor = 1; - } - - int fromFactor = 1000000; - - if (fromUnit.equalsIgnoreCase("s")) { - fromFactor = 1000000000; - } else if (fromUnit.equalsIgnoreCase("ms")) { - fromFactor = 1000000; - } else if (fromUnit.equalsIgnoreCase("us")) { - fromFactor = 1000; - } else if (fromUnit.equalsIgnoreCase("ns")) { - fromFactor = 1; - } - - double ratio = (double) fromFactor / toFactor; - int intValue = (int) Math.round(value * ratio); - return intValue; - } - - - /** - * Gets the WCE tunit float. - * - * @param chRtSpecification the ch rt specification - * @param unitOfMeasure the unit of measure - * @return the WCE tunit float - * @throws ModelError the model error - */ - public static float getWCETunitFloat(CHRtSpecification chRtSpecification, String unitOfMeasure) throws ModelError { - - StringParser sp = new StringParser(); - String wcet = chRtSpecification.getLocalWCET(); - float intValue = wcetUnitFloat(wcet, unitOfMeasure); - - if (intValue != -1) - return intValue; - - wcet = chRtSpecification.getWCET(); - - intValue = wcetUnit(wcet, unitOfMeasure); - if (intValue != -1) - return intValue; - - throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); - } - - - /** - * Gets the WCE tunit. - * - * @param chRtSpecification the ch rt specification - * @param unitOfMeasure the unit of measure - * @return the WCE tunit - * @throws ModelError the model error - */ - public static int getWCETunit(CHRtSpecification chRtSpecification, String unitOfMeasure) throws ModelError { - - StringParser sp = new StringParser(); - String wcet = chRtSpecification.getLocalWCET(); - int intValue = wcetUnit(wcet, unitOfMeasure); - - if (intValue != -1) - return intValue; - - wcet = chRtSpecification.getWCET(); - - intValue = wcetUnit(wcet, unitOfMeasure); - if (intValue != -1) - return intValue; - - throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); - } - - /** - * Gets the wcet. - * - * @param chRtSpecification the ch rt specification - * @return the wcet - * @throws ModelError the model error - */ - // TODO a similar method is implemented in the m2m plugin (Java4QVTutils.java) - public static double getWCET(CHRtSpecification chRtSpecification) throws ModelError { - StringParser sp = new StringParser(); - double x = -1; - String wcet = chRtSpecification.getLocalWCET(); - if (wcet != null) { - x = sp.getValueNFP(wcet); - } - if (x != -1) - return x; - - wcet = chRtSpecification.getWCET(); - - if (wcet != null) { - x = sp.getValueNFP(wcet); - } - if (x != -1) - return x; - - throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); - } - - /** - * Check if Instance Specification in input is assigned to a Partition. - * - * @param i the i - * @param assignments the assignments - * @return true, if is assigned 2 partition - */ - public static boolean isAssigned2Partition(InstanceSpecification i, EList<Assign> assignments) { - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - if (theAssignment.getFrom().contains((Object) i) && (elementIsPartitionInstance(theAssignment.getTo().get(0)))) { - return true; - } - } catch (Exception e) { - continue; - } - } - } - return false; - } - - /** - * Check if this Partition is assigned to a CPU. - * - * @param i the i - * @param assignments the assignments - * @return true, if is assigned 2 processor - */ - public static boolean isAssigned2Processor(InstanceSpecification i, EList<Assign> assignments) { - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - if (theAssignment.getFrom().contains((Object) i) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { - return true; - } - } catch (Exception e) { - continue; - } - } - } - return false; - } - - /** - * Check if this Partition is assigned to a CPU. - * - * @param i the i - * @param pack the pack - * @param assignments the assignments - * @return true, if is assigned 2 core - */ - public static boolean isAssigned2Core(InstanceSpecification i, Package pack, EList<Assign> assignments) { - String packQN = pack.getQualifiedName(); - String assignedTargetQN = ""; - String assignedTargetElementName = ""; - - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - EList<Element> assignmentSource = theAssignment.getFrom(); - Element assignmentTarget = theAssignment.getTo().get(0); - assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); - assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); - if (assignmentSource.contains((Object) i) && elementIsProcessorInstance(assignmentTarget)) { - if (!theAssignment.getImpliedConstraint().isEmpty() && theAssignment.getImpliedConstraint().get(0) != null) { - if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN)) { - return true; - } - } else { - // Check if it is a single-core - InstanceSpecification instSpecProc = (InstanceSpecification) assignmentTarget; - if (processorInstanceIsSingleCore(instSpecProc)) { - if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN)) { - return true; - } - } - } - } - } catch (Exception e) { - continue; - } - } - } - return false; - } - - /** - * Check if this Partition is assigned to a CPU. - * - * @param i the i - * @param assignments the assignments - * @return true, if is assigned 2 core - */ - public static boolean isAssigned2Core(InstanceSpecification i, EList<Assign> assignments) { - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - if (theAssignment.getFrom().contains((Object) i) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { - if (!theAssignment.getImpliedConstraint().isEmpty() && theAssignment.getImpliedConstraint().get(0) != null) { - return true; - } else { - // Check if it is a single-core - Element elem = theAssignment.getTo().get(0); - InstanceSpecification instSpecProc = (InstanceSpecification) elem; - if (processorInstanceIsSingleCore(instSpecProc)) { - return true; - } - } - } - } catch (Exception e) { - continue; - } - } - } - return false; - } - - // /** - // * Check if this Partition is assigned to a CPU - // * @param i - // * @param assignments - // * @return - // */ - // public static boolean isAssigned2Core(InstanceSpecification i, - // EList<Assign> assignments) { - // for (Assign theAssignment : assignments) { - // if (theAssignment != null) { - // if (theAssignment.getFrom().contains((Object)i) && - // elementIsProcessorInstance(theAssignment.getTo().get(0)) && - // !theAssignment.getImpliedConstraint().isEmpty()&& - // theAssignment.getImpliedConstraint().get(0)!=null ) { - // return true; - // } - // } - // } - // return false; - // } - - /** - * Returns TRUE if the given Task is assigned to a Core in the Deployment - * identified by the given package. - * - * @param task the task - * @param pack the pack - * @param assignments the assignments - * @return true, if is task assigned 2 core - */ - public static boolean isTaskAssigned2Core(CHTask task, Package pack, EList<Assign> assignments) { - String taskName = task.getCHRtSpecification().getContext().getName(); - String packQN = pack.getQualifiedName(); - String assignedTargetQN = ""; - String assignedTargetElementName = ""; - - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - Element assignmentSource = theAssignment.getFrom().get(0); - Element assignmentTarget = theAssignment.getTo().get(0); - assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); - assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); - if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN) && QueryUtils.elementIsSlotInstance(assignmentSource) && theAssignment.getImpliedConstraint() != null - && !theAssignment.getImpliedConstraint().isEmpty()) { - String theTaskValue = getTaskNameFromImpliedNfpConstraint(theAssignment); - if (theTaskValue != null && theTaskValue.length() > 0) { - if (theTaskValue.equals(taskName)) { - return true; - } - } - } - } catch (Exception e) { - continue; - } - } - } - return false; - } - - /** - * Returns true if the given task is assigned to a core, false otherwise. - * - * @param t the t - * @param assignments the assignments - * @return true if the given task is assigned to a core - */ - public static boolean isTaskAssigned2Core(CHTask t, EList<Assign> assignments) { - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - Element assignmentSource = theAssignment.getFrom().get(0); - if (QueryUtils.elementIsSlotInstance(assignmentSource)) { - CHTask theTask = getTaskFromSlot(assignmentSource); - if ((theTask != null && theTask.equals(t)) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { - return true; - } - } - } - } - return false; - } - - /** - * Given the Core (and related processor) get the list of partitions that are - * assigned to it. - * - * @param core the core - * @param assignments the assignments - * @return the partitions assigned 2 core - */ - public static LinkedHashSet<Object> getPartitionsAssigned2Core(CHCore core, EList<Assign> assignments) { - LinkedHashSet<Object> result = new LinkedHashSet<Object>(); - InstanceSpecification processorInstance = core.getProcessorInstance(); - String theCoreName = core.getName(); - String theCoreValue = null; - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - Element assignmentSource = theAssignment.getFrom().get(0); - // Only look at assignments where: - // ASSIGNMENT_SOURCE is a Partition - // ASSIGNMENT_TARGET is the Processor that owns the core - if (!QueryUtils.elementIsPartitionInstance(assignmentSource) || (!theAssignment.getTo().contains((Object) processorInstance))) { - continue; - } - // found an assignment for the processor that owns the core: - // let's look into it so see if it is related to the core we are - // analyzing - if (theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { - theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); - if (theCoreValue.equals(theCoreName)) { - // if target of assignment is a partition - result.add(assignmentSource); - } - } else { - if (processorInstanceIsSingleCore(processorInstance)) { - // If no core is specified in the Implied Constraint and the - // Processor has only 1 Core - result.add(assignmentSource); - } - } - } catch (Exception e) { - continue; - } - - } - } - return result; - } - - - /** - * Returns the name of the Core to which the given assignment is related. - * - * @param theAssignment the the assignment - * @return the name of the Core to which theAssignment is related - */ - public static String getCoreNameFromImpliedNfpConstraint(Assign theAssignment) { - String coreName = null; - try { - NfpConstraint theImpliedNfpConstraint = theAssignment.getImpliedConstraint().get(0); - Constraint cnstr = theImpliedNfpConstraint.getBase_Constraint(); - ValueSpecification valueSpec = cnstr.getSpecification(); - LiteralString value = (LiteralString) valueSpec; - coreName = value.getValue(); - } catch (Exception e) { - System.out.println("Error in getCoreNameFromImpliedNfpConstraint"); - } - return coreName; - } - - - /** - * Gets the task name from implied nfp constraint. - * - * @param theAssignment the the assignment - * @return the task name from implied nfp constraint - */ - private static String getTaskNameFromImpliedNfpConstraint(Assign theAssignment) { - String taskName = null; - try { - // the first one is the core, the second one is the task - NfpConstraint theImpliedNfpConstraint = theAssignment.getImpliedConstraint().get(1); - Constraint cnstr = theImpliedNfpConstraint.getBase_Constraint(); - ValueSpecification valueSpec = cnstr.getSpecification(); - LiteralString value = (LiteralString) valueSpec; - taskName = value.getValue(); - } catch (Exception e) { - System.out.println("Error in getTaskNameFromImpliedNfpConstraint"); - } - return taskName; - } - - /** - * Returns true if the given element is a partition instance, false otherwise. - * - * @param element the element - * @return true if the element is a partition instance, false otherwise - */ - public static boolean elementIsPartitionInstance(Element element) { - if (!(element instanceof InstanceSpecification)) { - return false; - } - InstanceSpecification is = (InstanceSpecification) element; - if (is.getQualifiedName() != null && QueryUtils.isPartitionInstance(is)) { - return true; - } - return false; - } - - /** - * Returns true if the given element is a component instance, false otherwise. - * - * @param element the element - * @return true if the element is a component instance, false otherwise - */ - public static boolean elementIsComponentInstance(Element element) { - if (!(element instanceof InstanceSpecification)) { - return false; - } - InstanceSpecification is = (InstanceSpecification) element; - if (is.getQualifiedName() != null && QueryUtils.isComponentInstance(is)) { - return true; - } - return false; - } - - /** - * Returns true if the given element is a processor instance, false otherwise. - * - * @param element the element - * @return true if the element is a processor instance, false otherwise - */ - public static boolean elementIsProcessorInstance(Element element) { - if (!(element instanceof InstanceSpecification)) { - return false; - } - InstanceSpecification is = (InstanceSpecification) element; - if (is.getQualifiedName() != null && QueryUtils.isProcessorInstance(is)) { - return true; - } - return false; - } - - /** - * Given the Core (and related processor) get the list of components that are - * assigned to it. - * - * @param core the core - * @param assignments the assignments - * @return the components assigned 2 core - */ - public static LinkedHashSet<Object> getComponentsAssigned2Core(CHCore core, EList<Assign> assignments) { - LinkedHashSet<Object> result = new LinkedHashSet<Object>(); - InstanceSpecification processorInstance = core.getProcessorInstance(); - String theCoreName = core.getName(); - String theCoreValue = null; - - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - // Only look at assignments where: - // ASSIGNMENT_SOURCE is a Component - // ASSIGNMENT_TARGET is the Processor that owns the core - Element assignmentSource = theAssignment.getFrom().get(0); - if (!QueryUtils.elementIsComponentInstance(assignmentSource) || !theAssignment.getTo().contains((Object) processorInstance)) { - continue; - } - - // found an assignment for the processor that owns the core: - // let's look into it so see if it is related to the core we are - // analyzing - if (theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { - theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); - if (theCoreValue.equals(theCoreName)) { - result.add(assignmentSource); - } - } else { - if (processorInstanceIsSingleCore(processorInstance)) { - // If no core is specified in the Implied Constraint and the - // Processor has only 1 Core - result.add(assignmentSource); - } - } - } catch (Exception e) { - continue; - } - - } - } - return result; - } - - /** - * Given the Core (and related processor) get the list of tasks that are - * assigned to it. - * - * @param core the core - * @param pack the pack - * @param assignments the assignments - * @return the tasks assigned 2 core - */ - public static LinkedHashSet<Object> getTasksAssigned2Core(CHCore core, Package pack, EList<Assign> assignments) { - String packQN = pack.getQualifiedName(); - LinkedHashSet<Object> result = new LinkedHashSet<Object>(); - InstanceSpecification processorInstance = core.getProcessorInstance(); - String theCoreName = core.getName(); - String theCoreValue = null; - String theTaskValue = null; - - for (Assign theAssignment : assignments) { - if (theAssignment != null) { - try { - if (theAssignment.getTo().contains((Object) processorInstance)) { - // found an assignment for the processor that owns the core: - // let's look into it so see if it is related to the core we are - // analyzing - Element assignmentSource = theAssignment.getFrom().get(0); - Element assignmentTarget = theAssignment.getTo().get(0); - String assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); - String assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); - EList<CHTask> chTaskList = new BasicEList<CHTask>(); - - if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN) && theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { - theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); - theTaskValue = getTaskNameFromImpliedNfpConstraint(theAssignment); - - if (theCoreValue.equals(theCoreName)) { - if (QueryUtils.elementIsSlotInstance(assignmentSource)) { - chTaskList = getAllTasksFromSlot(assignmentSource); - for (CHTask theChTask : chTaskList) { - String theTaskName = theChTask.getCHRtSpecification().getContext().getName(); - if (theChTask != null && theTaskName.equals(theTaskValue)) { - result.add(theChTask); - } - } - } - } else { - // If no core is specified in the Implied Constraint and the - // Processor has only 1 Core - if (processorInstanceIsSingleCore(processorInstance) && QueryUtils.elementIsSlotInstance(assignmentSource)) { - chTaskList = getAllTasksFromSlot(assignmentSource); - for (CHTask theChTask : chTaskList) { - String theTaskName = theChTask.getCHRtSpecification().getContext().getName(); - if (theChTask != null && theTaskName.equals(theTaskValue)) { - result.add(theChTask); - } - } - } - } - } - } - } catch (Exception e) { - continue; - } - } - } - return result; - } - - - /** - * Returns the list of Component to Core assignments in the given view in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the component 2 core assignments - * @throws ModelError the model error - */ - public static EList<Assign> getComponent2CoreAssignments(Model umlModel, String viewName) throws ModelError { - // LB 20150708 we now look for assignments in the CHGA resource platform - // component - // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, - // viewName); - // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); - - Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); - EList<Element> all = rpc.allOwnedElements(); - EList<Assign> assignments = new BasicEList<Assign>(); - Stereotype stereo = null; - for (Element element : all) { - if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { - stereo = element.getAppliedStereotype(MARTE_ASSIGN); - EObject eobj = element.getStereotypeApplication(stereo); - Assign a = (Assign) eobj; - Element assignmentSource = a.getFrom().get(0); - Element assignmentTarget = a.getTo().get(0); - // SOURCE must be a Component - // TARGET must be a Processor - if (elementIsProcessorInstance(assignmentTarget)) { - if (elementIsComponentInstance(assignmentSource)) { - InstanceSpecification componentInst = (InstanceSpecification) assignmentSource; - if (isComponentInstance(componentInst)) { - assignments.add(a); - } - } - } - } - } - return assignments; - } - - - /** - * Returns the list of Component to Partition assignments in the given view in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the component 2 partition assignments - * @throws ModelError the model error - */ - public static EList<Assign> getComponent2PartitionAssignments(Model umlModel, String viewName) throws ModelError { - // LB 20150708 we now look for assignments in the CHGA resource platform - // component - // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, - // viewName); - // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); - - Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); - EList<Element> all = rpc.allOwnedElements(); - EList<Assign> assignments = new BasicEList<Assign>(); - Stereotype stereo = null; - for (Element element : all) { - if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { - stereo = element.getAppliedStereotype(MARTE_ASSIGN); - EObject eobj = element.getStereotypeApplication(stereo); - Assign a = (Assign) eobj; - Element assignmentSource = a.getFrom().get(0); - Element assignmentTarget = a.getTo().get(0); - // SOURCE must be a Component - // TARGET must be a Partition - if (elementIsPartitionInstance(assignmentTarget)) { - if (elementIsComponentInstance(assignmentSource)) { - InstanceSpecification componentInst = (InstanceSpecification) assignmentSource; - if (isComponentInstance(componentInst)) { - assignments.add(a); - } - } - } - } - } - return assignments; - } - - - /** - * Returns the list of Partition to Core assignments in the given view in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the partition 2 core assignments - * @throws ModelError the model error - */ - public static EList<Assign> getPartition2CoreAssignments(Model umlModel, String viewName) throws ModelError { - // LB 20150708 we now look for assignments in the CHGA resource platform - // component - // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, - // viewName); - // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); - - Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); - EList<Element> all = rpc.allOwnedElements(); - EList<Assign> assignments = new BasicEList<Assign>(); - Stereotype stereo = null; - for (Element element : all) { - if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { - stereo = element.getAppliedStereotype(MARTE_ASSIGN); - EObject eobj = element.getStereotypeApplication(stereo); - Assign a = (Assign) eobj; - Element assignmentSource = a.getFrom().get(0); - Element assignmentTarget = a.getTo().get(0); - // SOURCE must be a Partition - // TARGET must be a Processor - if (elementIsPartitionInstance(assignmentSource) && elementIsProcessorInstance(assignmentTarget)) { - assignments.add(a); - } - } - } - return assignments; - } - - /** - * Returns the list of Task to Core assignments in the given view in the given model. - * - * @param umlModel the uml model - * @param viewName the view name - * @return the task 2 core assignments - * @throws ModelError the model error - */ - public static EList<Assign> getTask2CoreAssignments(Model umlModel, String viewName) throws ModelError { - // LB 20150708 we now look for assignments in the CHGA resource platform - // component - // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, - // viewName); - // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); - - Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); - EList<Element> all = rpc.allOwnedElements(); - EList<Assign> assignments = new BasicEList<Assign>(); - Stereotype stereo = null; - for (Element element : all) { - if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { - stereo = element.getAppliedStereotype(MARTE_ASSIGN); - EObject eobj = element.getStereotypeApplication(stereo); - Assign a = (Assign) eobj; - Element assignmentSource = a.getFrom().get(0); - Element assignmentTarget = a.getTo().get(0); - // SOURCE must be a Task - // TARGET must be a Processor - if (elementIsSlotInstance(assignmentSource) && elementIsProcessorInstance(assignmentTarget)) { - assignments.add(a); - } - } - } - return assignments; - } - - /** - * Returns true is the input Instance Processor has only 1 CORE. - * - * @param processorInstance the processor instance - * @return true, if successful - */ - public static boolean processorInstanceIsSingleCore(InstanceSpecification processorInstance) { - Classifier processorClass = processorInstance.getClassifiers().get(0); - CH_HwProcessor processorType = UMLUtils.getStereotypeApplication(processorClass, CH_HwProcessor.class); - String coreNumber = null; - coreNumber = processorType.getNbCores(); - int icoreNumber = 1; - try { - icoreNumber = Integer.parseInt(coreNumber); - } catch (Exception e) { - icoreNumber = 1; - } - if (icoreNumber == 1) { - return true; - } - return false; - } - - /** - * Returns the Package (in the Deployment View) that owns the input system. - * - * @param umlModel the uml model - * @param theSystem the the system - * @return the owner CH ga resource platform package - * @throws ModelError the model error - */ - public static Package getOwnerCHGaResourcePlatformPackage(Model umlModel, InstanceSpecification theSystem) throws ModelError { - EList<Package> packList = QueryUtils.getResourcePlatformPackages(umlModel, Constants.DEPLOYMENT_VIEW_NAME); - for (Package pack : packList) { - EList<Element> packElems = pack.allOwnedElements(); - for (Element elem : packElems) { - if (elem instanceof InstanceSpecification) { - if (((InstanceSpecification) elem).equals(theSystem)) { - return pack; - } - } - } - } - return null; - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.HashSet; +import java.util.LinkedHashSet; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.crypto.spec.OAEPParameterSpec; + +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.Enumerator; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HLAM.CallConcurrencyKind; +import org.eclipse.papyrus.MARTE.MARTE_DesignModel.HRM.HwLogical.HwDevice.HwDevice; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.Alloc.Assign; +import org.eclipse.papyrus.MARTE.MARTE_Foundations.NFPs.NfpConstraint; +import org.eclipse.papyrus.uml.tools.model.UmlModel; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.ActivityNode; +import org.eclipse.uml2.uml.CallOperationAction; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Component; +import org.eclipse.uml2.uml.Constraint; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.LiteralString; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Slot; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.ValueSpecification; +import org.polarsys.chess.chessmlprofile.ComponentModel.ComponentImplementation; +import org.polarsys.chess.chessmlprofile.ComponentModel.FunctionalPartition; +import org.polarsys.chess.chessmlprofile.Core.CHESS; +import org.polarsys.chess.chessmlprofile.Core.CHGaResourcePlatform; +import org.polarsys.chess.chessmlprofile.Core.FunctionalPartitions; +import org.polarsys.chess.chessmlprofile.Predictability.DeploymentConfiguration.HardwareBaseline.CH_HwProcessor; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtPortSlot; +import org.polarsys.chess.chessmlprofile.Predictability.RTComponentModel.CHRtSpecification; +import org.polarsys.chess.chessmlprofile.util.Constants; +import org.polarsys.chess.core.profiles.CHESSProfileManager; +import org.polarsys.chess.core.util.uml.ModelError; +import org.polarsys.chess.core.util.uml.UMLUtils; +import org.polarsys.chess.multicore.model.CHCore; +import org.polarsys.chess.multicore.model.CHTask; +import org.polarsys.chess.validator.constraints.StringParser; + +/** + * The Class QueryUtils. + */ +public class QueryUtils { + + /** + * The Class OccKindInfo. + */ + public static class OccKindInfo { + + /** The value. */ + public double value; + + /** The type. */ + public String type; + + /** The unit. */ + public String unit; + + } + + /** The Constant MARTE_ASSIGN. */ + private static final String MARTE_ASSIGN = "MARTE::MARTE_Foundations::Alloc::Assign"; + + /** The Constant MARTE_NFPCONSTRAINT. */ + private static final String MARTE_NFPCONSTRAINT = "MARTE::MARTE_Foundations::NFPs::NfpConstraint"; + + /** The Constant COMPONENT_TO_PARTITION. */ + public static final int COMPONENT_TO_PARTITION = 0; + + /** The Constant PARTITION_TO_CORE. */ + public static final int PARTITION_TO_CORE = 1; + + /** The Constant COMPONENT_TO_CORE. */ + public static final int COMPONENT_TO_CORE = 2; + + /** The Constant TASK_TO_CORE. */ + public static final int TASK_TO_CORE = 3; + + /** + * Gets the chess. + * + * @param umlModel the uml model + * @return the chess + */ + public static CHESS getCHESS(Model umlModel) { + return UMLUtils.getStereotypeApplication(umlModel, CHESS.class); + } + + /** + * Gets the command stack. + * + * @param umlModel the uml model + * @return the command stack + */ + public static CommandStack getCommandStack(Model umlModel) { + TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(umlModel); + return editingDomain.getCommandStack(); + } + + /** + * returns the component which owns the assigns from components to partitions. + * + * @param umlModel the uml model + * @return the partitions component + * @throws ModelError the model error + * @deprecated PartitionsComponent stereotype is deprecated + */ + public static Component getPartitionsComponent(Model umlModel) throws ModelError { + // assumption: assigns are stored in the root SW system i.e. the one + // stereotyped with CHGaResourcePlatform + + CHESS chess = getCHESS(umlModel); + Package componentViewP = chess.getComponentView().getBase_Package(); + + for (Element el : componentViewP.allOwnedElements()) { + if (el instanceof Component) { + Component c = (Component) el; + // LB 20150707 Next line to be reviewed based on considerations about + // partitions' component + boolean b = c.getName().equalsIgnoreCase("Partitions"); + b = b || UMLUtils.getStereotypeApplication(el, FunctionalPartitions.class) != null; + if (b) + return c; + } + } + + throw new ModelError("Partitions component not found."); + } + + + /** + * Given a Partition returns the list of Components that are assigned to it. + * + * @param partition the partition + * @param assignments the assignments + * @return the components assigned 2 partition + */ + public static LinkedHashSet<Object> getComponentsAssigned2Partition(InstanceSpecification partition, EList<Assign> assignments) { + LinkedHashSet<Object> result = new LinkedHashSet<Object>(); + + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + if (theAssignment.getTo().contains((Object) partition) && (elementIsComponentInstance(theAssignment.getFrom().get(0)))) { + result.add(theAssignment.getFrom().get(0)); + } + } catch (Exception e) { + // do nothing + } + } + } + return result; + } + + /** + * Deletes all the associations of the given type. + * + * @param parent the parent + * @param associationType (PARTITION_TO_CORE | COMPONENT_TO_CORE | TASK_TO_CORE | COMPONENT_TO_PARTITION + */ + public static void deleteAssociations(Component parent, int associationType) { + for (Object el : parent.getOwnedComments().toArray()) { + if (el instanceof Comment) { + Comment assignComment = (Comment) el; + + Assign assign = UMLUtils.getStereotypeApplication(assignComment, Assign.class); + // Only delete one kind of associations + try { + if ((assign != null && associationType == PARTITION_TO_CORE && (elementIsPartitionInstance(assign.getFrom().get(0)))) + || (assign != null && associationType == COMPONENT_TO_CORE && (elementIsComponentInstance(assign.getFrom().get(0))) && (elementIsProcessorInstance(assign.getTo().get(0)))) + || (assign != null && associationType == TASK_TO_CORE && (elementIsSlotInstance(assign.getFrom().get(0))) && (elementIsProcessorInstance(assign.getTo().get(0)))) + || (assign != null && associationType == COMPONENT_TO_PARTITION && (elementIsComponentInstance(assign.getFrom().get(0))) && (elementIsPartitionInstance(assign.getTo().get(0))))) { + if (assign != null && assign.getImpliedConstraint().size() > 0) { + for (Object c : assign.getImpliedConstraint().toArray()) { + if (c instanceof NfpConstraint) { + NfpConstraint n = (NfpConstraint) c; + n.getBase_Constraint().destroy(); + } + } + } + assignComment.destroy(); + } + } catch (Exception e) { + // 20160225 Always delete assignments where one end is null! + assignComment.destroy(); + } + } + } + + // for (Object el : parent.getOwnedRules().toArray()) { + // if (el instanceof Constraint) { + // Constraint assignComment = (Constraint) el; + // assignComment.destroy(); + // } + // } + } + + /** + * Returns the CHTask associated to the given element (if this is a CHRTPortSlot). + * + * @param element the element + * @return task that corresponds to the input slot, if any + */ + public static CHTask getTaskFromSlot(Element element) { + if (!(element instanceof Slot)) { + return null; + } + Slot slot = (Slot) element; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) { + return null; + } + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { + return new CHTask(chSlot, chRtSpecification); + } + } + return null; + } + + /** + * Returns all the CHTasks associated to the given element (if this is a CHRTPortSlot). + * + * @param element the element + * @return task that corresponds to the input slot, if any + */ + private static EList<CHTask> getAllTasksFromSlot(Element element) { + EList<CHTask> chTaskList = new BasicEList<CHTask>(); + if (!(element instanceof Slot)) { + return chTaskList; + } + Slot slot = (Slot) element; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) { + return chTaskList; + } + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { + chTaskList.add(new CHTask(chSlot, chRtSpecification)); + // return new CHTask(chSlot, chRtSpecification); + } + } + return chTaskList; + } + + /** + * Element is slot instance. + * + * @param element the element + * @return true, if successful + */ + public static boolean elementIsSlotInstance(Element element) { + return element instanceof Slot; + } + + /** + * Given a component, create all the Component to Partition Assignments. + * + * @param parent the parent + * @param result the result + */ + public static void buildComponent2PartitionAssignment(Component parent, Map<InstanceSpecification, LinkedHashSet<Object>> result) { + System.out.println(parent.getQualifiedName()); + + for (InstanceSpecification partitionInst : result.keySet()) { + System.out.println(partitionInst.getName()); + for (Object o : result.get(partitionInst)) { + if (o instanceof InstanceSpecification) { + InstanceSpecification componentInst = (InstanceSpecification) o; + System.out.println(componentInst.getName()); + + Comment c = parent.createOwnedComment(); + UMLUtils.applyStereotype(c, MARTE_ASSIGN); + Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); + assign.getFrom().add(componentInst); + assign.getTo().add(partitionInst); + } + } + } + } + + /** + * Builds the core name. + * + * @param coreNumber the core number + * @return the string + */ + public static String buildCoreName(int coreNumber) { + /* coreNumber starts from 0 */ + return "core" + coreNumber; + } + + /** + * Create all the Partition to Core Assignments. + * + * @param parent the parent + * @param result the result + */ + public static void buildPartition2CoreAssignments(Component parent, Map<CHCore, LinkedHashSet<Object>> result) { + for (CHCore core : result.keySet()) { + for (Object o : result.get(core)) { + if (o instanceof InstanceSpecification) { + InstanceSpecification partitionInst = (InstanceSpecification) o; + Comment c = parent.createOwnedComment(); + UMLUtils.applyStereotype(c, MARTE_ASSIGN); + Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); + assign.getFrom().add(partitionInst); + assign.getTo().add(core.getProcessorInstance()); + + Constraint n = parent.createOwnedRule(core.getName()); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(core.getName()); + assign.getImpliedConstraint().add(rule); + } + } + } + } + + /** + * Returns the first CHGaResourcePlatform that is found inside the given package. + * + * @param cmpv the cmpv + * @return the one resource platform package + */ + public static Package getOneResourcePlatformPackage(Package cmpv) { + /* breath-first search */ + final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); + breadthFirstList.addFirst(cmpv); + while (!breadthFirstList.isEmpty()) { + final Package candidate = breadthFirstList.poll(); + + CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); + + if (a != null) + return candidate; + + for (final Package p : candidate.getNestedPackages()) { + breadthFirstList.addLast(p); + } + } + return null; + } + + /** + * Gets the resource platform package. + * + * @param cmpv the cmpv + * @return the resource platform package + * @deprecated This method returns only one platform package. In the newer + * version of CHESS there can be multiple platform packages. + * Replace with getResourcePlatformPackages + */ + @Deprecated + public static Package getResourcePlatformPackage(Package cmpv) { + /* breath-first search */ + final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); + breadthFirstList.addFirst(cmpv); + while (!breadthFirstList.isEmpty()) { + final Package candidate = breadthFirstList.poll(); + + CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); + + if (a != null) + return candidate; + + for (final Package p : candidate.getNestedPackages()) { + breadthFirstList.addLast(p); + } + } + return null; + } + + /** + * Returns the list of CHGaResourcePlatforms found inside the view with the given name in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the resource platform packages + * @throws ModelError the model error + */ + public static EList<Package> getResourcePlatformPackages(Model umlModel, String viewName) throws ModelError { + + Package pack = CHESSProfileManager.getViewByStereotype((Model) umlModel, viewName); + + if (pack == null) + throw new ModelError(viewName + " not found."); + // Package cmpv + /* breath-first search */ + + EList<Package> result = new BasicEList<Package>(); + + final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); + breadthFirstList.addFirst(pack); + while (!breadthFirstList.isEmpty()) { + final Package candidate = breadthFirstList.poll(); + + CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); + + if (a != null) + result.add(candidate); + // return candidate; + + for (final Package p : candidate.getNestedPackages()) { + breadthFirstList.addLast(p); + } + } + return result; + // return null; + } + + /** + * Returns the list of CHGaResourcePlatforms found inside the given Package. + * + * @param cmpv is the given package + * @return the resource platform packages + */ + public static List<Package> getResourcePlatformPackages(Package cmpv) { + List<Package> candidates = new ArrayList<Package>(); + /* breath-first search */ + final LinkedList<Package> breadthFirstList = new LinkedList<Package>(); + breadthFirstList.addFirst(cmpv); + while (!breadthFirstList.isEmpty()) { + final Package candidate = breadthFirstList.poll(); + + CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); + + if (a != null) + candidates.add(candidate); + + for (final Package p : candidate.getNestedPackages()) { + breadthFirstList.addLast(p); + } + } + return candidates; + } + + /** + * Returns a Component that is stereotyped as CHGaResourcePlatform inside the view with the given name + * in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the resource platform component + * @throws ModelError the model error + */ + public static Component getResourcePlatformComponent(Model umlModel, String viewName) throws ModelError { + Package parent = CHESSProfileManager.getViewByStereotype(umlModel, viewName); + + if (parent == null) + throw new ModelError(viewName + " not found."); + + /* breath-first search */ + final LinkedList<Element> breadthFirstList = new LinkedList<Element>(); + + breadthFirstList.addAll(parent.getOwnedElements()); + while (!breadthFirstList.isEmpty()) { + final Element t = breadthFirstList.poll(); + + if (t instanceof Component) { + Component candidate = (Component) t; + CHGaResourcePlatform a = UMLUtils.getStereotypeApplication(candidate, CHGaResourcePlatform.class); + if (a != null) + return candidate; + } + for (final Element e : t.getOwnedElements()) { + breadthFirstList.addLast(e); + } + } + + throw new ModelError("CHGaResourcePlatform not found in " + viewName + " view."); + } + + /** + * Returns true if the given InstanceSpecification is a functional Partition, false otherwise. + * + * @param e the e + * @return true, if is partition instance + */ + public static boolean isPartitionInstance(InstanceSpecification e) { + for (Classifier c : e.getClassifiers()) { + + if (UMLUtils.getStereotypeApplication(c, FunctionalPartition.class) != null) + return true; + + } + return false; + } + + /** + * Returns true if the given InstanceSpecification is a ComponentImplementation, false otherwise. + * + * @param e the e + * @return true, if is component instance + */ + public static boolean isComponentInstance(InstanceSpecification e) { + for (Classifier c : e.getClassifiers()) { + if (UMLUtils.getStereotypeApplication(c, ComponentImplementation.class) != null) + return true; + } + return false; + } + + /** + * Checks if is guarded. + * + * @param spec the spec + * @return true, if is guarded + */ + public static boolean isGuarded(CHRtSpecification spec) { + return spec.getProtection().getName().equals(CallConcurrencyKind.GUARDED.getName()); + } + + /** + * Checks if is occ kind sporadic or periodic. + * + * @param occKind the occ kind + * @return true, if is occ kind sporadic or periodic + */ + public static boolean isOccKindSporadicOrPeriodic(String occKind) { + if (occKind == null) + return false; + return isOccKindSporadic(occKind) || isOccKindPeriodic(occKind); + } + + /** + * Checks if is occ kind sporadic. + * + * @param occKind the occ kind + * @return true, if is occ kind sporadic + */ + public static boolean isOccKindSporadic(String occKind) { + String t = occKind.toLowerCase(); + return t.matches(".*sporadic.*"); + } + + /** + * Checks if is occ kind periodic. + * + * @param occKind the occ kind + * @return true, if is occ kind periodic + */ + public static boolean isOccKindPeriodic(String occKind) { + String t = occKind.toLowerCase(); + return t.matches(".*periodic.*"); + } + + /** + * Returns the OccKindInfo that correspomnds to the input string. + * + * @param occKind the String with the occurrency kind information + * @return OccKindInfo + */ + public static OccKindInfo getOccKindInfo(String occKind) { + StringParser sp = new StringParser(); + OccKindInfo info = new OccKindInfo(); + if (isOccKindSporadic(occKind)) { + info.value = sp.getValuePattern(occKind, "minInterarrival"); + info.type = "sporadic"; + info.unit = sp.getUnitPattern(occKind, "minInterarrival"); + } else if (occKind.toLowerCase().matches(".*periodic.*")) { + info.value = sp.getValuePattern(occKind, "period"); + info.unit = sp.getUnitPattern(occKind, "period"); + info.type = "periodic"; + } else { + return null; + } + + return info; + } + + /** + * Returns a map with the Component to Partition assignments. + * + * @param umlModel the uml model + * @param parent the parent + * @return the map + * @throws ModelError the model error + */ + public static Map<InstanceSpecification, Set<CHRtSpecification>> buildPartitionComponentMap(Model umlModel, Package parent) throws ModelError { + Map<InstanceSpecification, Set<CHRtSpecification>> map = new HashMap<InstanceSpecification, Set<CHRtSpecification>>(); + + EList<Assign> assignmentList = UMLUtils.getComponent2PartitionAssignments(umlModel, CHESSProfileManager.COMPONENT_VIEW); + if (!assignmentList.isEmpty()) { + for (Assign assign : assignmentList) { + if (assign == null) + continue; + for (Element i : assign.getFrom()) { + if (i instanceof InstanceSpecification) { + InstanceSpecification ii = (InstanceSpecification) i; + processComponentInstance(map, assign, ii); + } + } + + } + } + + return map; + } + + /** + * Returns a map with the Partition to Core assignments. + * + * @param umlModel the uml model + * @return the map + * @throws ModelError the model error + */ + public static Map<String, Set<InstanceSpecification>> buildPartitionCoreMap(Model umlModel) throws ModelError { + Map<String, Set<InstanceSpecification>> map = new HashMap<String, Set<InstanceSpecification>>(); + + EList<Assign> assignmentList = UMLUtils.getPartition2CoreAssignments(umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + if (!assignmentList.isEmpty()) { + for (Assign assign : assignmentList) { + + for (Element i : assign.getFrom()) { + if (i instanceof InstanceSpecification) { + processPartitionInstance(map, assign); + } + } + + } + } + return map; + } + + // public static Map<InstanceSpecification, Set<CHRtSpecification>> + // buildPartitionComponentMap(Component parent) { + // Map<InstanceSpecification, Set<CHRtSpecification>> map = new + // HashMap<InstanceSpecification, Set<CHRtSpecification>>(); + // for (Comment el : parent.getOwnedComments()) { + // + // Comment assignComment = (Comment) el; + // Assign assign = UMLUtils.getStereotypeApplication(assignComment, + // Assign.class); + // if (assign == null) + // continue; + // for (Element i : assign.getFrom()) { + // if (i instanceof InstanceSpecification) { + // InstanceSpecification ii = (InstanceSpecification) i; + // processComponentInstance(map, assign, ii); + // } + // } + // + // } + // return map; + // } + + /** + * Process partition instance. + * + * @param map the map + * @param assign the assign + */ + private static void processPartitionInstance(Map<String, Set<InstanceSpecification>> map, Assign assign) { + + try { + if (assign.getImpliedConstraint().size() > 0) { + for (Object c : assign.getImpliedConstraint().toArray()) { + if (c instanceof NfpConstraint) { + ValueSpecification x = ((NfpConstraint) c).getBase_Constraint().getSpecification(); + if (x instanceof LiteralString) { + LiteralString s = (LiteralString) x; + String coreName = ((NamedElement) assign.getTo().get(0)).getName() + s.getValue(); + InstanceSpecification part = (InstanceSpecification) assign.getFrom().get(0); + + Set<InstanceSpecification> value = map.get(coreName); + if (value == null) + value = new HashSet<InstanceSpecification>(); + value.add(part); + map.put(coreName, value); + } + } + + } + } + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + /** + * Process component instance. + * + * @param map the map + * @param assign the assign + * @param instanceSpec the instance spec + */ + private static void processComponentInstance(Map<InstanceSpecification, Set<CHRtSpecification>> map, Assign assign, InstanceSpecification instanceSpec) { + + for (Element element : instanceSpec.getOwnedElements()) { + if (element instanceof Slot) { + Slot slot = (Slot) element; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot != null) { + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + + addToMap(map, assign.getTo(), chSpecs); + } + } + } + } + + /** + * Adds the to map. + * + * @param map the map + * @param to the to + * @param chSpecs the ch specs + */ + /* add only periodic or sporadic components */ + private static void addToMap(Map<InstanceSpecification, Set<CHRtSpecification>> map, EList<Element> to, EList<CHRtSpecification> chSpecs) { + for (Element partition : to) { + if (partition instanceof InstanceSpecification) { + InstanceSpecification p = (InstanceSpecification) partition; + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null) { + if (isOccKindSporadicOrPeriodic(occKind)) { + addToMap(map, p, chRtSpecification); + } + } + } + } + } + } + + + /** + * Adds the to map. + * + * @param map the map + * @param p the p + * @param chRtSpecification the ch rt specification + */ + private static void addToMap(Map<InstanceSpecification, Set<CHRtSpecification>> map, InstanceSpecification p, CHRtSpecification chRtSpecification) { + Set<CHRtSpecification> value = map.get(p); + if (value == null) + value = new HashSet<CHRtSpecification>(); + value.add(chRtSpecification); + map.put(p, value); + + } + + + /** + * Returns true if the given InstanceSpecification is sterotyped as CH_HwProcessor. + * + * @param e the e + * @return true, if is processor instance + */ + public static boolean isProcessorInstance(InstanceSpecification e) { + for (Classifier c : e.getClassifiers()) { + if (UMLUtils.getStereotypeApplication(c, CH_HwProcessor.class) != null) + return true; + } + return false; + } + + /** + * check if an instance specification is an instance of a MARTE Device. + * + * @param instSpec the inst spec + * @return true if the input is an instance of a MARTE Device, false + * otherwise. + */ + public static boolean isDeviceInstance(InstanceSpecification instSpec) { + Classifier classifier = instSpec.getClassifiers().get(0); + EList<Stereotype> stereotypeList = classifier.getAppliedStereotypes(); + for (Stereotype theStereo : stereotypeList) { + EObject object = classifier.getStereotypeApplication(theStereo); + if (object instanceof HwDevice) { + return true; + } + } + + return false; + } + + /** + * Gets the one processor. + * + * @param umlModel the uml model + * @return the one processor + */ + public static CH_HwProcessor getOneProcessor(Model umlModel) { + Package depv = CHESSProfileManager.getViewByStereotype((Model) umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + depv = QueryUtils.getOneResourcePlatformPackage(depv); + if (depv != null) { + EList<Element> all = depv.allOwnedElements(); + for (Element element : all) { + if (element instanceof InstanceSpecification) { + InstanceSpecification e = (InstanceSpecification) element; + if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { + CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); + return t; + } + } + } + } + return null; + } + + /** + * Gets the all processor instances. + * + * @param umlModel the uml model + * @return the all processor instances + * @throws ModelError the model error + */ + public static EList<CH_HwProcessor> getAllProcessorInstances(Model umlModel) throws ModelError { + EList<CH_HwProcessor> processors = new BasicEList<CH_HwProcessor>(); + Package depv = CHESSProfileManager.getViewByStereotype((Model) umlModel, CHESSProfileManager.DEPLOYMENT_VIEW); + + if (depv == null) + throw new ModelError("Deployment view not found."); + + List<Package> platformPackages = QueryUtils.getResourcePlatformPackages(depv); + + if (platformPackages.isEmpty()) + throw new ModelError("CHGaResourcePlatform not found in Deployment view."); + + for (Package pp : platformPackages) { + EList<Element> all = pp.allOwnedElements(); + for (Element element : all) { + if (element instanceof InstanceSpecification) { + InstanceSpecification e = (InstanceSpecification) element; + if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { + CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); + processors.add(t); + } + } + } + } + + if (processors.size() == 0) + throw new ModelError("Processors not found."); + + return processors; + } + + /** + * Gets the all processor instances in package. + * + * @param thePackage the the package + * @return the all processor instances in package + * @throws ModelError the model error + */ + public static EList<CH_HwProcessor> getAllProcessorInstancesInPackage(Package thePackage) throws ModelError { + EList<CH_HwProcessor> processors = new BasicEList<CH_HwProcessor>(); + + EList<Element> all = thePackage.allOwnedElements(); + for (Element element : all) { + if (element instanceof InstanceSpecification) { + InstanceSpecification e = (InstanceSpecification) element; + if (e.getQualifiedName() != null && QueryUtils.isProcessorInstance(e)) { + CH_HwProcessor t = UMLUtils.getStereotypeApplication(e, CH_HwProcessor.class); + processors.add(t); + } + } + } + if (processors.size() == 0) + throw new ModelError("Processors not found."); + + return processors; + } + + + /** + * Filter multi core processors. + * + * @param processors the processors + * @return the e list + */ + public static EList<CH_HwProcessor> filterMultiCoreProcessors(EList<CH_HwProcessor> processors) { + EList<CH_HwProcessor> candidates = new BasicEList<CH_HwProcessor>(); + for (CH_HwProcessor processor : processors) { + if (getCores(processor).size() > 1) + candidates.add(processor); + } + return candidates; + + } + + + /** + * Gets the cores. + * + * @param processor the processor + * @return the cores + */ + public static EList<CHCore> getCores(CH_HwProcessor processor) { + InstanceSpecification processorBaseInst = processor.getBase_InstanceSpecification(); + Component processorComponent = (Component) processorBaseInst.getClassifiers().get(0); + + Stereotype chHwProcessorStereo = processorComponent.getAppliedStereotype(Constants.CH_HWPROCESSOR); + CH_HwProcessor chHwProc = (CH_HwProcessor) processorComponent.getStereotypeApplication(chHwProcessorStereo); + + String coreNumber = null; + coreNumber = chHwProc.getNbCores(); + int icoreNumber = 1; + try { + icoreNumber = Integer.parseInt(coreNumber); + } catch (Exception e) { + icoreNumber = 1; + } + EList<CHCore> cores = new BasicEList<CHCore>(); + for (int i = 0; i < icoreNumber; i++) { + cores.add(new CHCore(processor, QueryUtils.buildCoreName(i))); + } + return cores; + } + + + /** + * Gets the all partition instances. + * + * @param umlModel the uml model + * @return the all partition instances + * @throws ModelError the model error + */ + public static EList<InstanceSpecification> getAllPartitionInstances(Model umlModel) throws ModelError { + + Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, CHESSProfileManager.COMPONENT_VIEW); + + if (cmpv == null) + throw new ModelError("Component view not found."); + + cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); + + if (cmpv == null) + throw new ModelError("CHGaResourcePlatform not found in Component View."); + + EList<Element> all = cmpv.allOwnedElements(); + EList<InstanceSpecification> partitions = new BasicEList<InstanceSpecification>(); + for (Element element : all) { + if (!(element instanceof InstanceSpecification)) + continue; + + InstanceSpecification is = (InstanceSpecification) element; + + if (!(is.getQualifiedName() != null && QueryUtils.isPartitionInstance(is))) + continue; + partitions.add(is); + } + + if (partitions.size() == 0) + throw new ModelError("Partition Instances not found."); + + return partitions; + } + + + /** + * Gets the all component instances. + * + * @param umlModel the uml model + * @return the all component instances + * @throws ModelError the model error + */ + public static EList<InstanceSpecification> getAllComponentInstances(Model umlModel) throws ModelError { + + Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, CHESSProfileManager.COMPONENT_VIEW); + + if (cmpv == null) + throw new ModelError("Component view not found."); + + cmpv = QueryUtils.getOneResourcePlatformPackage(cmpv); + + if (cmpv == null) + throw new ModelError("CHGaResourcePlatform not found in Component View."); + + EList<Element> all = cmpv.allOwnedElements(); + EList<InstanceSpecification> components = new BasicEList<InstanceSpecification>(); + for (Element element : all) { + if (!(element instanceof InstanceSpecification)) + continue; + + InstanceSpecification is = (InstanceSpecification) element; + + if (!(is.getQualifiedName() != null && QueryUtils.isComponentInstance(is))) + continue; + components.add(is); + + } + if (components.size() == 0) + throw new ModelError("Component Instances not found."); + + return components; + } + + + /** + * Gets the all task instances. + * + * @param umlModel the uml model + * @return the all task instances + * @throws ModelError the model error + */ + public static EList<CHTask> getAllTaskInstances(Model umlModel) throws ModelError { + + EList<CHTask> tasks = new BasicEList<CHTask>(); + + EList<InstanceSpecification> x = getAllComponentInstances(umlModel); + for (InstanceSpecification instanceSpecification : x) { + for (Element element1 : instanceSpecification.getOwnedElements()) { + + if (!(element1 instanceof Slot)) + continue; + + Slot slot = (Slot) element1; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) + continue; + + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + + for (CHRtSpecification chRtSpecification : chSpecs) { + tasks.add(new CHTask(chSlot, chRtSpecification)); + } + } + } + if (tasks.size() == 0) + throw new ModelError("Tasks Instances not found."); + + return tasks; + } + + /** + * Delete task 2 core associations. + * + * @param hwSystem the hw system + */ + public static void deleteTask2CoreAssociations(Component hwSystem) { + deleteAssociations(hwSystem, TASK_TO_CORE); + } + + /** + * Delete component 2 core associations. + * + * @param hwSystem the hw system + */ + public static void deleteComponent2CoreAssociations(Component hwSystem) { + deleteAssociations(hwSystem, COMPONENT_TO_CORE); + } + + /** + * Delete partition 2 core associations. + * + * @param hwSystem the hw system + */ + public static void deletePartition2CoreAssociations(Component hwSystem) { + deleteAssociations(hwSystem, PARTITION_TO_CORE); + } + + + /** + * Builds the instance 2 core assignments. + * + * @param hwSystem the hw system + * @param result the result + */ + public static void buildInstance2CoreAssignments(Component hwSystem, Map<CHCore, LinkedHashSet<Object>> result) { + + for (CHCore core : result.keySet()) { + for (Object o : result.get(core)) { + if (o instanceof InstanceSpecification) { + InstanceSpecification componentInst = (InstanceSpecification) o; + Comment c = hwSystem.createOwnedComment(); + UMLUtils.applyStereotype(c, MARTE_ASSIGN); + Assign assign = UMLUtils.getStereotypeApplication(c, Assign.class); + assign.getFrom().add(componentInst); + assign.getTo().add(core.getProcessorInstance()); + + Constraint n = hwSystem.createOwnedRule(core.getName()); + UMLUtils.applyStereotype(n, MARTE_NFPCONSTRAINT); + NfpConstraint rule = UMLUtils.getStereotypeApplication(n, NfpConstraint.class); + + ValueSpecification valueSpec = n.createSpecification("core", null, UMLPackage.Literals.LITERAL_STRING); + LiteralString value = (LiteralString) valueSpec; + value.setValue(core.getName()); + assign.getImpliedConstraint().add(rule); + } + } + } + } + + + /** + * Gets the CHRT spec from instances. + * + * @param instances the instances + * @return the CHRT spec from instances + */ + public static Set<CHRtSpecification> getCHRTSpecFromInstances(EList<InstanceSpecification> instances) { + + Set<CHRtSpecification> result = new HashSet<CHRtSpecification>(); + + for (InstanceSpecification is : instances) { + for (Element el : is.getOwnedElements()) { + if (!(el instanceof Slot)) + continue; + + Slot slot = (Slot) el; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) + continue; + + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { + result.add(chRtSpecification); + } + } + } + } + + return result; + } + + /** + * Gets the CH tasks. + * + * @param instances the instances + * @return the CH tasks + */ + public static Map<CHRtSpecification, Slot> getCHTasks(EList<InstanceSpecification> instances) { + + Map<CHRtSpecification, Slot> result = new HashMap<CHRtSpecification, Slot>(); + + for (InstanceSpecification is : instances) { + for (Element el : is.getOwnedElements()) { + + if (!(el instanceof Slot)) + continue; + + Slot slot = (Slot) el; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) + continue; + + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null) { + if (isOccKindSporadicOrPeriodic(occKind)) { + result.put(chRtSpecification, slot); + } + } + } + } + } + + return result; + } + + + /** + * Gets the CH tasks list. + * + * @param instances the instances + * @return the CH tasks list + */ + public static EList<CHTask> getCHTasksList(EList<InstanceSpecification> instances) { + + EList<CHTask> result = new BasicEList<CHTask>(); + + for (InstanceSpecification is : instances) { + for (Element el : is.getOwnedElements()) { + + if (!(el instanceof Slot)) + continue; + + Slot slot = (Slot) el; + CHRtPortSlot chSlot = UMLUtils.getStereotypeApplication(slot, CHRtPortSlot.class); + if (chSlot == null) + continue; + + EList<CHRtSpecification> chSpecs = chSlot.getCH_RtSpecification(); + for (CHRtSpecification chRtSpecification : chSpecs) { + String occKind = chRtSpecification.getOccKind(); + if (occKind != null && isOccKindSporadicOrPeriodic(occKind)) { + result.add(new CHTask(chSlot, chRtSpecification)); + } + } + } + } + + return result; + } + + /** + * Builds the task 2 core assignments. + * + * @param hwSystem the hw system + * @param processor the processor + * @param coresToCHRtSpec the cores to CH rt spec + * @param mapCHRtSpecToInstances the map CH rt spec to instances + */ + public static void buildTask2CoreAssignments(Component hwSystem, InstanceSpecification processor, Map<String, LinkedHashSet<CHRtSpecification>> coresToCHRtSpec, + Map<CHRtSpecification, InstanceSpecification> mapCHRtSpecToInstances) { + // TODO Auto-generated method stub + + } + + /** + * Gets the operation chain. + * + * @param umlModel the uml model + * @param chtasks the chtasks + * @return the operation chain + * @throws ModelError the model error + */ + /* + * foreach deferred op get its slot in the instance package get its activity + * diagram if any collect the called operations get the corresponding + * component and so its specification + * + * this is useful to calculate the WCET of the task generated from the + * deferred op + */ + public static HashMap<CHTask, EList<CHTask>> getOperationChain(Model umlModel, EList<CHTask> chtasks) throws ModelError { + Package instPkg = InstanceQuery.getInstanceSpecPackage(umlModel); + if (instPkg == null) { + throw new ModelError("Instance package not in the model: use the create instance command to create this package"); + } + HashMap<CHTask, EList<CHTask>> map = new HashMap<CHTask, EList<CHTask>>(); + for (CHTask dOp : chtasks) { + System.out.println(dOp.getCHRtSpecification().getContext().getName()); + EList<CHTask> list = new BasicEList<CHTask>(); + CHRtPortSlot chRtPortSlot = InstanceQuery.getCHRtPortSlot(instPkg, dOp.getCHRtSpecification()); + slot2EndToEndWorkFlow(instPkg, chRtPortSlot, dOp.getCHRtSpecification(), list); + map.put(dOp, list); + } + return map; + } + + /** + * Gets the operation chain 2. + * + * @param umlModel the uml model + * @param chtasks the chtasks + * @return the operation chain 2 + * @throws ModelError the model error + */ + public static HashMap<CHRtSpecification, EList<CHTask>> getOperationChain2(Model umlModel, Set<CHRtSpecification> chtasks) throws ModelError { + Package instPkg = InstanceQuery.getInstanceSpecPackage(umlModel); + if (instPkg == null) { + throw new ModelError("Instance package not in the model: use the create instance command to create this package"); + } + HashMap<CHRtSpecification, EList<CHTask>> map = new HashMap<CHRtSpecification, EList<CHTask>>(); + for (CHRtSpecification dOp : chtasks) { + System.out.println(dOp.getContext().getName()); + EList<CHTask> list = new BasicEList<CHTask>(); + CHRtPortSlot chRtPortSlot = InstanceQuery.getCHRtPortSlot(instPkg, dOp); + slot2EndToEndWorkFlow(instPkg, chRtPortSlot, dOp, list); + map.put(dOp, list); + } + return map; + } + + + /** + * Slot 2 end to end work flow. + * + * @param instPkg the inst pkg + * @param currentChSlot the current ch slot + * @param dOp the d op + * @param list the list + * @throws ModelError the model error + */ + private static void slot2EndToEndWorkFlow(Package instPkg, CHRtPortSlot currentChSlot, CHRtSpecification dOp, EList<CHTask> list) throws ModelError { + + InstanceSpecification owningInstance = currentChSlot.getBase_Slot().getOwningInstance(); + Activity method = InstanceQuery.getMethod(dOp); + if (method == null) + return;// TODO throw exception? + for (ActivityNode node : method.getNodes()) { + if (node instanceof CallOperationAction) { + CallOperationAction callOp = (CallOperationAction) node; + EList<Slot> riSlot = InstanceQuery.getSlotFromPort(callOp, owningInstance); + for (Slot slot : riSlot) { + Slot usedPiSlot = InstanceQuery.getOppositeSlot(slot); + CHRtSpecification usedCH = InstanceQuery.getCHFromSlot(usedPiSlot, callOp.getOperation()); + CHRtPortSlot ch = UMLUtils.getStereotypeApplication(usedPiSlot, CHRtPortSlot.class); + if (!InstanceQuery.isDeferred(usedCH)) { + list.add(new CHTask(ch, usedCH)); + slot2EndToEndWorkFlow(instPkg, ch, usedCH, list); + } + // + // Operation operation = callOp.getOperation();//=>use to match the + // context of the chrtspec + // Port riPort = callOp.getOnPort();//=>get link and then pi then + // chrtspec + // Port piPort = getOppositePort(riPort); + // getCHRtCommentsfromPort(piPort, operation); + } + + } + } + } + + + /** + * Wcet unit. + * + * @param wcetSpec the wcet spec + * @param theUnit the the unit + * @return the int + */ + private static int wcetUnit(String wcetSpec, String theUnit) { + int ret = -1; + if (wcetSpec == null) + return ret; + + StringParser sp = new StringParser(); + double value = sp.getValueNFP(wcetSpec); + String unit = sp.getUnitNFP(wcetSpec); + + if (value == -1) + return ret; + + int intValue = unitConversion(value, unit, theUnit); + return intValue; + } + + + /** + * Unit conversion float. + * + * @param value the value + * @param fromUnit the from unit + * @param toUnit the to unit + * @return the float + */ + public static float unitConversionFloat(double value, String fromUnit, String toUnit) { + int toFactor = 1000000; + + if (toUnit.equalsIgnoreCase("s")) { + toFactor = 1000000000; + } else if (toUnit.equalsIgnoreCase("ms")) { + toFactor = 1000000; + } else if (toUnit.equalsIgnoreCase("us")) { + toFactor = 1000; + } else if (toUnit.equalsIgnoreCase("ns")) { + toFactor = 1; + } + + int fromFactor = 1000000; + + if (fromUnit.equalsIgnoreCase("s")) { + fromFactor = 1000000000; + } else if (fromUnit.equalsIgnoreCase("ms")) { + fromFactor = 1000000; + } else if (fromUnit.equalsIgnoreCase("us")) { + fromFactor = 1000; + } else if (fromUnit.equalsIgnoreCase("ns")) { + fromFactor = 1; + } + + float ratio = (float) fromFactor / toFactor; + float intValue = (float) (value * ratio); + return intValue; + } + + + /** + * Wcet unit float. + * + * @param wcetSpec the wcet spec + * @param theUnit the the unit + * @return the float + */ + private static float wcetUnitFloat(String wcetSpec, String theUnit) { + int ret = -1; + if (wcetSpec == null) + return ret; + + StringParser sp = new StringParser(); + double value = sp.getValueNFP(wcetSpec); + String unit = sp.getUnitNFP(wcetSpec); + + if (value == -1) + return ret; + + return unitConversionFloat(value, unit, theUnit); + } + + + /** + * Unit conversion. + * + * @param value the value + * @param fromUnit the from unit + * @param toUnit the to unit + * @return the int + */ + public static int unitConversion(double value, String fromUnit, String toUnit) { + int toFactor = 1000000; + + if (toUnit.equalsIgnoreCase("s")) { + toFactor = 1000000000; + } else if (toUnit.equalsIgnoreCase("ms")) { + toFactor = 1000000; + } else if (toUnit.equalsIgnoreCase("us")) { + toFactor = 1000; + } else if (toUnit.equalsIgnoreCase("ns")) { + toFactor = 1; + } + + int fromFactor = 1000000; + + if (fromUnit.equalsIgnoreCase("s")) { + fromFactor = 1000000000; + } else if (fromUnit.equalsIgnoreCase("ms")) { + fromFactor = 1000000; + } else if (fromUnit.equalsIgnoreCase("us")) { + fromFactor = 1000; + } else if (fromUnit.equalsIgnoreCase("ns")) { + fromFactor = 1; + } + + double ratio = (double) fromFactor / toFactor; + int intValue = (int) Math.round(value * ratio); + return intValue; + } + + + /** + * Gets the WCE tunit float. + * + * @param chRtSpecification the ch rt specification + * @param unitOfMeasure the unit of measure + * @return the WCE tunit float + * @throws ModelError the model error + */ + public static float getWCETunitFloat(CHRtSpecification chRtSpecification, String unitOfMeasure) throws ModelError { + + StringParser sp = new StringParser(); + String wcet = chRtSpecification.getLocalWCET(); + float intValue = wcetUnitFloat(wcet, unitOfMeasure); + + if (intValue != -1) + return intValue; + + wcet = chRtSpecification.getWCET(); + + intValue = wcetUnit(wcet, unitOfMeasure); + if (intValue != -1) + return intValue; + + throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); + } + + + /** + * Gets the WCE tunit. + * + * @param chRtSpecification the ch rt specification + * @param unitOfMeasure the unit of measure + * @return the WCE tunit + * @throws ModelError the model error + */ + public static int getWCETunit(CHRtSpecification chRtSpecification, String unitOfMeasure) throws ModelError { + + StringParser sp = new StringParser(); + String wcet = chRtSpecification.getLocalWCET(); + int intValue = wcetUnit(wcet, unitOfMeasure); + + if (intValue != -1) + return intValue; + + wcet = chRtSpecification.getWCET(); + + intValue = wcetUnit(wcet, unitOfMeasure); + if (intValue != -1) + return intValue; + + throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); + } + + /** + * Gets the wcet. + * + * @param chRtSpecification the ch rt specification + * @return the wcet + * @throws ModelError the model error + */ + // TODO a similar method is implemented in the m2m plugin (Java4QVTutils.java) + public static double getWCET(CHRtSpecification chRtSpecification) throws ModelError { + StringParser sp = new StringParser(); + double x = -1; + String wcet = chRtSpecification.getLocalWCET(); + if (wcet != null) { + x = sp.getValueNFP(wcet); + } + if (x != -1) + return x; + + wcet = chRtSpecification.getWCET(); + + if (wcet != null) { + x = sp.getValueNFP(wcet); + } + if (x != -1) + return x; + + throw new ModelError("WCET for %s is not set correctly", chRtSpecification.getContext().getName()); + } + + /** + * Check if Instance Specification in input is assigned to a Partition. + * + * @param i the i + * @param assignments the assignments + * @return true, if is assigned 2 partition + */ + public static boolean isAssigned2Partition(InstanceSpecification i, EList<Assign> assignments) { + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + if (theAssignment.getFrom().contains((Object) i) && (elementIsPartitionInstance(theAssignment.getTo().get(0)))) { + return true; + } + } catch (Exception e) { + continue; + } + } + } + return false; + } + + /** + * Check if this Partition is assigned to a CPU. + * + * @param i the i + * @param assignments the assignments + * @return true, if is assigned 2 processor + */ + public static boolean isAssigned2Processor(InstanceSpecification i, EList<Assign> assignments) { + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + if (theAssignment.getFrom().contains((Object) i) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { + return true; + } + } catch (Exception e) { + continue; + } + } + } + return false; + } + + /** + * Check if this Partition is assigned to a CPU. + * + * @param i the i + * @param pack the pack + * @param assignments the assignments + * @return true, if is assigned 2 core + */ + public static boolean isAssigned2Core(InstanceSpecification i, Package pack, EList<Assign> assignments) { + String packQN = pack.getQualifiedName(); + String assignedTargetQN = ""; + String assignedTargetElementName = ""; + + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + EList<Element> assignmentSource = theAssignment.getFrom(); + Element assignmentTarget = theAssignment.getTo().get(0); + assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); + assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); + if (assignmentSource.contains((Object) i) && elementIsProcessorInstance(assignmentTarget)) { + if (!theAssignment.getImpliedConstraint().isEmpty() && theAssignment.getImpliedConstraint().get(0) != null) { + if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN)) { + return true; + } + } else { + // Check if it is a single-core + InstanceSpecification instSpecProc = (InstanceSpecification) assignmentTarget; + if (processorInstanceIsSingleCore(instSpecProc)) { + if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN)) { + return true; + } + } + } + } + } catch (Exception e) { + continue; + } + } + } + return false; + } + + /** + * Check if this Partition is assigned to a CPU. + * + * @param i the i + * @param assignments the assignments + * @return true, if is assigned 2 core + */ + public static boolean isAssigned2Core(InstanceSpecification i, EList<Assign> assignments) { + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + if (theAssignment.getFrom().contains((Object) i) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { + if (!theAssignment.getImpliedConstraint().isEmpty() && theAssignment.getImpliedConstraint().get(0) != null) { + return true; + } else { + // Check if it is a single-core + Element elem = theAssignment.getTo().get(0); + InstanceSpecification instSpecProc = (InstanceSpecification) elem; + if (processorInstanceIsSingleCore(instSpecProc)) { + return true; + } + } + } + } catch (Exception e) { + continue; + } + } + } + return false; + } + + // /** + // * Check if this Partition is assigned to a CPU + // * @param i + // * @param assignments + // * @return + // */ + // public static boolean isAssigned2Core(InstanceSpecification i, + // EList<Assign> assignments) { + // for (Assign theAssignment : assignments) { + // if (theAssignment != null) { + // if (theAssignment.getFrom().contains((Object)i) && + // elementIsProcessorInstance(theAssignment.getTo().get(0)) && + // !theAssignment.getImpliedConstraint().isEmpty()&& + // theAssignment.getImpliedConstraint().get(0)!=null ) { + // return true; + // } + // } + // } + // return false; + // } + + /** + * Returns TRUE if the given Task is assigned to a Core in the Deployment + * identified by the given package. + * + * @param task the task + * @param pack the pack + * @param assignments the assignments + * @return true, if is task assigned 2 core + */ + public static boolean isTaskAssigned2Core(CHTask task, Package pack, EList<Assign> assignments) { + String taskName = task.getCHRtSpecification().getContext().getName(); + String packQN = pack.getQualifiedName(); + String assignedTargetQN = ""; + String assignedTargetElementName = ""; + + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + Element assignmentSource = theAssignment.getFrom().get(0); + Element assignmentTarget = theAssignment.getTo().get(0); + assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); + assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); + if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN) && QueryUtils.elementIsSlotInstance(assignmentSource) && theAssignment.getImpliedConstraint() != null + && !theAssignment.getImpliedConstraint().isEmpty()) { + String theTaskValue = getTaskNameFromImpliedNfpConstraint(theAssignment); + if (theTaskValue != null && theTaskValue.length() > 0) { + if (theTaskValue.equals(taskName)) { + return true; + } + } + } + } catch (Exception e) { + continue; + } + } + } + return false; + } + + /** + * Returns true if the given task is assigned to a core, false otherwise. + * + * @param t the t + * @param assignments the assignments + * @return true if the given task is assigned to a core + */ + public static boolean isTaskAssigned2Core(CHTask t, EList<Assign> assignments) { + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + Element assignmentSource = theAssignment.getFrom().get(0); + if (QueryUtils.elementIsSlotInstance(assignmentSource)) { + CHTask theTask = getTaskFromSlot(assignmentSource); + if ((theTask != null && theTask.equals(t)) && elementIsProcessorInstance(theAssignment.getTo().get(0))) { + return true; + } + } + } + } + return false; + } + + /** + * Given the Core (and related processor) get the list of partitions that are + * assigned to it. + * + * @param core the core + * @param assignments the assignments + * @return the partitions assigned 2 core + */ + public static LinkedHashSet<Object> getPartitionsAssigned2Core(CHCore core, EList<Assign> assignments) { + LinkedHashSet<Object> result = new LinkedHashSet<Object>(); + InstanceSpecification processorInstance = core.getProcessorInstance(); + String theCoreName = core.getName(); + String theCoreValue = null; + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + Element assignmentSource = theAssignment.getFrom().get(0); + // Only look at assignments where: + // ASSIGNMENT_SOURCE is a Partition + // ASSIGNMENT_TARGET is the Processor that owns the core + if (!QueryUtils.elementIsPartitionInstance(assignmentSource) || (!theAssignment.getTo().contains((Object) processorInstance))) { + continue; + } + // found an assignment for the processor that owns the core: + // let's look into it so see if it is related to the core we are + // analyzing + if (theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { + theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); + if (theCoreValue.equals(theCoreName)) { + // if target of assignment is a partition + result.add(assignmentSource); + } + } else { + if (processorInstanceIsSingleCore(processorInstance)) { + // If no core is specified in the Implied Constraint and the + // Processor has only 1 Core + result.add(assignmentSource); + } + } + } catch (Exception e) { + continue; + } + + } + } + return result; + } + + + /** + * Returns the name of the Core to which the given assignment is related. + * + * @param theAssignment the the assignment + * @return the name of the Core to which theAssignment is related + */ + public static String getCoreNameFromImpliedNfpConstraint(Assign theAssignment) { + String coreName = null; + try { + NfpConstraint theImpliedNfpConstraint = theAssignment.getImpliedConstraint().get(0); + Constraint cnstr = theImpliedNfpConstraint.getBase_Constraint(); + ValueSpecification valueSpec = cnstr.getSpecification(); + LiteralString value = (LiteralString) valueSpec; + coreName = value.getValue(); + } catch (Exception e) { + System.out.println("Error in getCoreNameFromImpliedNfpConstraint"); + } + return coreName; + } + + + /** + * Gets the task name from implied nfp constraint. + * + * @param theAssignment the the assignment + * @return the task name from implied nfp constraint + */ + private static String getTaskNameFromImpliedNfpConstraint(Assign theAssignment) { + String taskName = null; + try { + // the first one is the core, the second one is the task + NfpConstraint theImpliedNfpConstraint = theAssignment.getImpliedConstraint().get(1); + Constraint cnstr = theImpliedNfpConstraint.getBase_Constraint(); + ValueSpecification valueSpec = cnstr.getSpecification(); + LiteralString value = (LiteralString) valueSpec; + taskName = value.getValue(); + } catch (Exception e) { + System.out.println("Error in getTaskNameFromImpliedNfpConstraint"); + } + return taskName; + } + + /** + * Returns true if the given element is a partition instance, false otherwise. + * + * @param element the element + * @return true if the element is a partition instance, false otherwise + */ + public static boolean elementIsPartitionInstance(Element element) { + if (!(element instanceof InstanceSpecification)) { + return false; + } + InstanceSpecification is = (InstanceSpecification) element; + if (is.getQualifiedName() != null && QueryUtils.isPartitionInstance(is)) { + return true; + } + return false; + } + + /** + * Returns true if the given element is a component instance, false otherwise. + * + * @param element the element + * @return true if the element is a component instance, false otherwise + */ + public static boolean elementIsComponentInstance(Element element) { + if (!(element instanceof InstanceSpecification)) { + return false; + } + InstanceSpecification is = (InstanceSpecification) element; + if (is.getQualifiedName() != null && QueryUtils.isComponentInstance(is)) { + return true; + } + return false; + } + + /** + * Returns true if the given element is a processor instance, false otherwise. + * + * @param element the element + * @return true if the element is a processor instance, false otherwise + */ + public static boolean elementIsProcessorInstance(Element element) { + if (!(element instanceof InstanceSpecification)) { + return false; + } + InstanceSpecification is = (InstanceSpecification) element; + if (is.getQualifiedName() != null && QueryUtils.isProcessorInstance(is)) { + return true; + } + return false; + } + + /** + * Given the Core (and related processor) get the list of components that are + * assigned to it. + * + * @param core the core + * @param assignments the assignments + * @return the components assigned 2 core + */ + public static LinkedHashSet<Object> getComponentsAssigned2Core(CHCore core, EList<Assign> assignments) { + LinkedHashSet<Object> result = new LinkedHashSet<Object>(); + InstanceSpecification processorInstance = core.getProcessorInstance(); + String theCoreName = core.getName(); + String theCoreValue = null; + + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + // Only look at assignments where: + // ASSIGNMENT_SOURCE is a Component + // ASSIGNMENT_TARGET is the Processor that owns the core + Element assignmentSource = theAssignment.getFrom().get(0); + if (!QueryUtils.elementIsComponentInstance(assignmentSource) || !theAssignment.getTo().contains((Object) processorInstance)) { + continue; + } + + // found an assignment for the processor that owns the core: + // let's look into it so see if it is related to the core we are + // analyzing + if (theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { + theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); + if (theCoreValue.equals(theCoreName)) { + result.add(assignmentSource); + } + } else { + if (processorInstanceIsSingleCore(processorInstance)) { + // If no core is specified in the Implied Constraint and the + // Processor has only 1 Core + result.add(assignmentSource); + } + } + } catch (Exception e) { + continue; + } + + } + } + return result; + } + + /** + * Given the Core (and related processor) get the list of tasks that are + * assigned to it. + * + * @param core the core + * @param pack the pack + * @param assignments the assignments + * @return the tasks assigned 2 core + */ + public static LinkedHashSet<Object> getTasksAssigned2Core(CHCore core, Package pack, EList<Assign> assignments) { + String packQN = pack.getQualifiedName(); + LinkedHashSet<Object> result = new LinkedHashSet<Object>(); + InstanceSpecification processorInstance = core.getProcessorInstance(); + String theCoreName = core.getName(); + String theCoreValue = null; + String theTaskValue = null; + + for (Assign theAssignment : assignments) { + if (theAssignment != null) { + try { + if (theAssignment.getTo().contains((Object) processorInstance)) { + // found an assignment for the processor that owns the core: + // let's look into it so see if it is related to the core we are + // analyzing + Element assignmentSource = theAssignment.getFrom().get(0); + Element assignmentTarget = theAssignment.getTo().get(0); + String assignedTargetQN = ((NamedElement) assignmentTarget).getQualifiedName(); + String assignedTargetElementName = ((NamedElement) assignmentTarget).getLabel(); + EList<CHTask> chTaskList = new BasicEList<CHTask>(); + + if ((packQN + "::" + assignedTargetElementName).equals(assignedTargetQN) && theAssignment.getImpliedConstraint() != null && !theAssignment.getImpliedConstraint().isEmpty()) { + theCoreValue = getCoreNameFromImpliedNfpConstraint(theAssignment); + theTaskValue = getTaskNameFromImpliedNfpConstraint(theAssignment); + + if (theCoreValue.equals(theCoreName)) { + if (QueryUtils.elementIsSlotInstance(assignmentSource)) { + chTaskList = getAllTasksFromSlot(assignmentSource); + for (CHTask theChTask : chTaskList) { + String theTaskName = theChTask.getCHRtSpecification().getContext().getName(); + if (theChTask != null && theTaskName.equals(theTaskValue)) { + result.add(theChTask); + } + } + } + } else { + // If no core is specified in the Implied Constraint and the + // Processor has only 1 Core + if (processorInstanceIsSingleCore(processorInstance) && QueryUtils.elementIsSlotInstance(assignmentSource)) { + chTaskList = getAllTasksFromSlot(assignmentSource); + for (CHTask theChTask : chTaskList) { + String theTaskName = theChTask.getCHRtSpecification().getContext().getName(); + if (theChTask != null && theTaskName.equals(theTaskValue)) { + result.add(theChTask); + } + } + } + } + } + } + } catch (Exception e) { + continue; + } + } + } + return result; + } + + + /** + * Returns the list of Component to Core assignments in the given view in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the component 2 core assignments + * @throws ModelError the model error + */ + public static EList<Assign> getComponent2CoreAssignments(Model umlModel, String viewName) throws ModelError { + // LB 20150708 we now look for assignments in the CHGA resource platform + // component + // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, + // viewName); + // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); + + Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); + EList<Element> all = rpc.allOwnedElements(); + EList<Assign> assignments = new BasicEList<Assign>(); + Stereotype stereo = null; + for (Element element : all) { + if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { + stereo = element.getAppliedStereotype(MARTE_ASSIGN); + EObject eobj = element.getStereotypeApplication(stereo); + Assign a = (Assign) eobj; + Element assignmentSource = a.getFrom().get(0); + Element assignmentTarget = a.getTo().get(0); + // SOURCE must be a Component + // TARGET must be a Processor + if (elementIsProcessorInstance(assignmentTarget)) { + if (elementIsComponentInstance(assignmentSource)) { + InstanceSpecification componentInst = (InstanceSpecification) assignmentSource; + if (isComponentInstance(componentInst)) { + assignments.add(a); + } + } + } + } + } + return assignments; + } + + + /** + * Returns the list of Component to Partition assignments in the given view in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the component 2 partition assignments + * @throws ModelError the model error + */ + public static EList<Assign> getComponent2PartitionAssignments(Model umlModel, String viewName) throws ModelError { + // LB 20150708 we now look for assignments in the CHGA resource platform + // component + // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, + // viewName); + // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); + + Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); + EList<Element> all = rpc.allOwnedElements(); + EList<Assign> assignments = new BasicEList<Assign>(); + Stereotype stereo = null; + for (Element element : all) { + if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { + stereo = element.getAppliedStereotype(MARTE_ASSIGN); + EObject eobj = element.getStereotypeApplication(stereo); + Assign a = (Assign) eobj; + Element assignmentSource = a.getFrom().get(0); + Element assignmentTarget = a.getTo().get(0); + // SOURCE must be a Component + // TARGET must be a Partition + if (elementIsPartitionInstance(assignmentTarget)) { + if (elementIsComponentInstance(assignmentSource)) { + InstanceSpecification componentInst = (InstanceSpecification) assignmentSource; + if (isComponentInstance(componentInst)) { + assignments.add(a); + } + } + } + } + } + return assignments; + } + + + /** + * Returns the list of Partition to Core assignments in the given view in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the partition 2 core assignments + * @throws ModelError the model error + */ + public static EList<Assign> getPartition2CoreAssignments(Model umlModel, String viewName) throws ModelError { + // LB 20150708 we now look for assignments in the CHGA resource platform + // component + // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, + // viewName); + // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); + + Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); + EList<Element> all = rpc.allOwnedElements(); + EList<Assign> assignments = new BasicEList<Assign>(); + Stereotype stereo = null; + for (Element element : all) { + if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { + stereo = element.getAppliedStereotype(MARTE_ASSIGN); + EObject eobj = element.getStereotypeApplication(stereo); + Assign a = (Assign) eobj; + Element assignmentSource = a.getFrom().get(0); + Element assignmentTarget = a.getTo().get(0); + // SOURCE must be a Partition + // TARGET must be a Processor + if (elementIsPartitionInstance(assignmentSource) && elementIsProcessorInstance(assignmentTarget)) { + assignments.add(a); + } + } + } + return assignments; + } + + /** + * Returns the list of Task to Core assignments in the given view in the given model. + * + * @param umlModel the uml model + * @param viewName the view name + * @return the task 2 core assignments + * @throws ModelError the model error + */ + public static EList<Assign> getTask2CoreAssignments(Model umlModel, String viewName) throws ModelError { + // LB 20150708 we now look for assignments in the CHGA resource platform + // component + // Package cmpv = CHESSProfileManager.getViewByStereotype(umlModel, + // viewName); + // cmpv = QueryUtils.getResourcePlatformPackage(cmpv); + + Component rpc = QueryUtils.getResourcePlatformComponent(umlModel, viewName); + EList<Element> all = rpc.allOwnedElements(); + EList<Assign> assignments = new BasicEList<Assign>(); + Stereotype stereo = null; + for (Element element : all) { + if ((element.getAppliedStereotype(MARTE_ASSIGN) != null)) { + stereo = element.getAppliedStereotype(MARTE_ASSIGN); + EObject eobj = element.getStereotypeApplication(stereo); + Assign a = (Assign) eobj; + Element assignmentSource = a.getFrom().get(0); + Element assignmentTarget = a.getTo().get(0); + // SOURCE must be a Task + // TARGET must be a Processor + if (elementIsSlotInstance(assignmentSource) && elementIsProcessorInstance(assignmentTarget)) { + assignments.add(a); + } + } + } + return assignments; + } + + /** + * Returns true is the input Instance Processor has only 1 CORE. + * + * @param processorInstance the processor instance + * @return true, if successful + */ + public static boolean processorInstanceIsSingleCore(InstanceSpecification processorInstance) { + Classifier processorClass = processorInstance.getClassifiers().get(0); + CH_HwProcessor processorType = UMLUtils.getStereotypeApplication(processorClass, CH_HwProcessor.class); + String coreNumber = null; + coreNumber = processorType.getNbCores(); + int icoreNumber = 1; + try { + icoreNumber = Integer.parseInt(coreNumber); + } catch (Exception e) { + icoreNumber = 1; + } + if (icoreNumber == 1) { + return true; + } + return false; + } + + /** + * Returns the Package (in the Deployment View) that owns the input system. + * + * @param umlModel the uml model + * @param theSystem the the system + * @return the owner CH ga resource platform package + * @throws ModelError the model error + */ + public static Package getOwnerCHGaResourcePlatformPackage(Model umlModel, InstanceSpecification theSystem) throws ModelError { + EList<Package> packList = QueryUtils.getResourcePlatformPackages(umlModel, Constants.DEPLOYMENT_VIEW_NAME); + for (Package pack : packList) { + EList<Element> packElems = pack.allOwnedElements(); + for (Element elem : packElems) { + if (elem instanceof InstanceSpecification) { + if (((InstanceSpecification) elem).equals(theSystem)) { + return pack; + } + } + } + } + return null; + } + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java index 027885e9d..3202a5b5c 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/VSLUtils.java @@ -1,100 +1,107 @@ -/*------------------------------------------------------------------------------ - - - - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA - - All rights reserved. This program and the accompanying materials - - are made available under the terms of the Eclipse Public License v2.0 - - which accompanies this distribution, and is available at - - http://www.eclipse.org/legal/epl-v20.html - - - - Contributors: - - - - Alessandro Zovi azovi@math.unipd.it - - Stefano Puri stefano.puri@intecs.it - - Laura Baracchi laura.baracchi@intecs.it - - Nicholas Pacini nicholas.pacini@intecs.it - - - - Initial API and implementation and/or initial documentation - ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; - -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -/** - * The Class VSLUtils. - */ -public class VSLUtils { - - - - - /** - * Gets the bounds. - * - * @param value the value - * @return the bounds - */ - public static int[] getBounds(String value) { - String regex = "\\s*\\[\\s*(\\d+)\\s*\\.*\\s*(\\d+)\\]\\s*"; - Pattern pattern = Pattern.compile(regex); - Matcher matcher = pattern.matcher(value); - int[] b = new int[2]; - - if (matcher.find() && matcher.groupCount() == 2) { - String begin_ = matcher.group(1); - String end_ = matcher.group(2); - b[0] = Integer.parseInt(begin_); - b[1] = Integer.parseInt(end_); - return b; - } - - regex = "\\s*\\[\\s*(\\d+)\\s*\\]\\s*"; - pattern = Pattern.compile(regex); - matcher = pattern.matcher(value); - if (matcher.find() && matcher.groupCount() == 1) { - String begin_ = matcher.group(1); - b[0] = Integer.parseInt(begin_); - b[1] = b[0]; - return b; - } - - regex = "\\s*(\\d+)\\s*"; - pattern = Pattern.compile(regex); - matcher = pattern.matcher(value); - if (matcher.find() && matcher.groupCount() == 1) { - String begin_ = matcher.group(1); - b[0] = Integer.parseInt(begin_); - b[1] = b[0]; - return b; - } - - return null; - } - - /** - * Checks if is in bounds. - * - * @param id the id - * @param bounds the bounds - * @return the boolean - */ - public static Boolean isInBounds(int id, java.util.List<int[]> bounds) { - for (int[] b : bounds) { - if (isInBounds(id, b)) - return true; - } - return false; - } - - /** - * Checks if is in bounds. - * - * @param id the id - * @param bounds the bounds - * @return the boolean - */ - private static Boolean isInBounds(int id, int[] bounds) { - return id >= bounds[0] && id <= bounds[1]; - } - - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +/*------------------------------------------------------------------------------ + - + - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA + - All rights reserved. This program and the accompanying materials + - are made available under the terms of the Eclipse Public License v2.0 + - which accompanies this distribution, and is available at + - http://www.eclipse.org/legal/epl-v20.html + - + - Contributors: + - + - Alessandro Zovi azovi@math.unipd.it + - Stefano Puri stefano.puri@intecs.it + - Laura Baracchi laura.baracchi@intecs.it + - Nicholas Pacini nicholas.pacini@intecs.it + - + - Initial API and implementation and/or initial documentation + ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.utils; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * The Class VSLUtils. + */ +public class VSLUtils { + + + + + /** + * Gets the bounds. + * + * @param value the value + * @return the bounds + */ + public static int[] getBounds(String value) { + String regex = "\\s*\\[\\s*(\\d+)\\s*\\.*\\s*(\\d+)\\]\\s*"; + Pattern pattern = Pattern.compile(regex); + Matcher matcher = pattern.matcher(value); + int[] b = new int[2]; + + if (matcher.find() && matcher.groupCount() == 2) { + String begin_ = matcher.group(1); + String end_ = matcher.group(2); + b[0] = Integer.parseInt(begin_); + b[1] = Integer.parseInt(end_); + return b; + } + + regex = "\\s*\\[\\s*(\\d+)\\s*\\]\\s*"; + pattern = Pattern.compile(regex); + matcher = pattern.matcher(value); + if (matcher.find() && matcher.groupCount() == 1) { + String begin_ = matcher.group(1); + b[0] = Integer.parseInt(begin_); + b[1] = b[0]; + return b; + } + + regex = "\\s*(\\d+)\\s*"; + pattern = Pattern.compile(regex); + matcher = pattern.matcher(value); + if (matcher.find() && matcher.groupCount() == 1) { + String begin_ = matcher.group(1); + b[0] = Integer.parseInt(begin_); + b[1] = b[0]; + return b; + } + + return null; + } + + /** + * Checks if is in bounds. + * + * @param id the id + * @param bounds the bounds + * @return the boolean + */ + public static Boolean isInBounds(int id, java.util.List<int[]> bounds) { + for (int[] b : bounds) { + if (isInBounds(id, b)) + return true; + } + return false; + } + + /** + * Checks if is in bounds. + * + * @param id the id + * @param bounds the bounds + * @return the boolean + */ + private static Boolean isInBounds(int id, int[] bounds) { + return id >= bounds[0] && id <= bounds[1]; + } + + +} diff --git a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/package.html b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/package.html index 7d7d54689..ffa6b933d 100644 --- a/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/package.html +++ b/plugins/org.polarsys.chess.multicore/src/org/polarsys/chess/multicore/utils/package.html @@ -1,7 +1,14 @@ +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head></head> <body> Provides... </body> -</html> \ No newline at end of file +</html> diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessGenericDiagnostician.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessGenericDiagnostician.java index 62bd92d4d..e937dc1cd 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessGenericDiagnostician.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessGenericDiagnostician.java @@ -1,51 +1,58 @@ -package org.polarsys.chess.validator.command.util; - -import java.util.Map; - -import org.eclipse.emf.common.util.DiagnosticChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.emf.ecore.util.EObjectValidator; -import org.eclipse.emf.validation.service.IConstraintFilter; - - -// TODO: Auto-generated Javadoc -/** - * The Class ChessGenericDiagnostician. - * - * @see package org.eclipse.emf.ecore.util.Diagnostician - */ -public class ChessGenericDiagnostician extends Diagnostician { - - /** The eChessValidatorAdapter. */ - private ChessValidatorAdapter eChessValidatorAdapter; - - /** - * Instantiates a new chess generic diagnostician. - * - * @param filter the filter - */ - public ChessGenericDiagnostician(IConstraintFilter filter) { - this.eChessValidatorAdapter = new ChessValidatorAdapter(filter); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.util.Diagnostician#validate(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) - */ - @Override - public boolean validate(EClass eClass, EObject eObject, DiagnosticChain diagnostics, Map<Object, Object> context) - { - //progressMonitor.worked(1); - //System.err.println("This is the ChessCheckerDiagnostician override of Diagnostician.validate(EClass, EObject,diagnostics,context)"); - - boolean circular = context.get(EObjectValidator.ROOT_OBJECT) == eObject; - @SuppressWarnings("null") - boolean result = eChessValidatorAdapter.validate(eClass, eObject, diagnostics, context); - if ((result || diagnostics != null) && !circular) - { - result &= doValidateContents(eObject, diagnostics, context); - } - return result; - } -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.validator.command.util; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.emf.ecore.util.EObjectValidator; +import org.eclipse.emf.validation.service.IConstraintFilter; + + +// TODO: Auto-generated Javadoc +/** + * The Class ChessGenericDiagnostician. + * + * @see package org.eclipse.emf.ecore.util.Diagnostician + */ +public class ChessGenericDiagnostician extends Diagnostician { + + /** The eChessValidatorAdapter. */ + private ChessValidatorAdapter eChessValidatorAdapter; + + /** + * Instantiates a new chess generic diagnostician. + * + * @param filter the filter + */ + public ChessGenericDiagnostician(IConstraintFilter filter) { + this.eChessValidatorAdapter = new ChessValidatorAdapter(filter); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.util.Diagnostician#validate(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + */ + @Override + public boolean validate(EClass eClass, EObject eObject, DiagnosticChain diagnostics, Map<Object, Object> context) + { + //progressMonitor.worked(1); + //System.err.println("This is the ChessCheckerDiagnostician override of Diagnostician.validate(EClass, EObject,diagnostics,context)"); + + boolean circular = context.get(EObjectValidator.ROOT_OBJECT) == eObject; + @SuppressWarnings("null") + boolean result = eChessValidatorAdapter.validate(eClass, eObject, diagnostics, context); + if ((result || diagnostics != null) && !circular) + { + result &= doValidateContents(eObject, diagnostics, context); + } + return result; + } +} diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessValidatorAdapter.java b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessValidatorAdapter.java index 21ec2374b..8b92711a4 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessValidatorAdapter.java +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/command/util/ChessValidatorAdapter.java @@ -1,142 +1,149 @@ -package org.polarsys.chess.validator.command.util; - -import java.util.Map; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.common.util.BasicDiagnostic; -import org.eclipse.emf.common.util.DiagnosticChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EObjectValidator; -import org.eclipse.emf.validation.model.EvaluationMode; -import org.eclipse.emf.validation.model.IConstraintStatus; -import org.eclipse.emf.validation.service.IBatchValidator; -import org.eclipse.emf.validation.service.IConstraintFilter; -import org.eclipse.emf.validation.service.ModelValidationService; - -// TODO: Auto-generated Javadoc -/** - * The Class ChessValidatorAdapter. - */ -public class ChessValidatorAdapter extends EObjectValidator{ - - /** The batch validator. */ - private final IBatchValidator batchValidator; - - /** - * Instantiates a new chess validator adapter. - * - * @param constraintFilter the constraint filter - */ - public ChessValidatorAdapter(IConstraintFilter constraintFilter) { - super(); - - this.batchValidator = (IBatchValidator) ModelValidationService.getInstance() - .newValidator(EvaluationMode.BATCH); - this.batchValidator.setIncludeLiveConstraints(true); - this.batchValidator.setReportSuccesses(false); - this.batchValidator.addConstraintFilter(constraintFilter); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.util.EObjectValidator#validate(org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) - */ - @Override - public boolean validate(final EObject eObject, - final DiagnosticChain diagnostics, - final Map<Object, Object> context) { - return validate(eObject.eClass(), eObject, diagnostics, context); - } - - /* (non-Javadoc) - * @see org.eclipse.emf.ecore.util.EObjectValidator#validate(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) - */ - @Override - public boolean validate(final EClass eClass, final EObject eObject, - final DiagnosticChain diagnostics, final Map<Object, Object> context) { - super.validate(eClass, eObject, diagnostics, context); - - IStatus status = Status.OK_STATUS; - - if (diagnostics != null) { - if (!hasProcessed(eObject, context)) { - status = this.batchValidator.validate( - eObject, - new NullProgressMonitor()); - - processed(eObject, context, status); - - appendDiagnostics(status, diagnostics); - } - } - - return status.isOK(); - } - - /** - * Processed. - * - * @param eObject the e object - * @param context the context - * @param status the status - */ - private void processed(final EObject eObject, - final Map<Object, Object> context, final IStatus status) { - if (context != null) { - context.put(eObject, status); - } - } - - /** - * Checks for processed. - * - * @param eObject the e object - * @param context the context - * @return true, if successful - */ - private boolean hasProcessed(final EObject eObject, - final Map<Object, Object> context) { - boolean result = false; - EObject currentEObject = eObject; - if (context != null) { - while (currentEObject != null) { - if (context.containsKey(currentEObject)) { - result = true; - currentEObject = null; - } else { - currentEObject = currentEObject.eContainer(); - } - } - } - - return result; - } - - /** - * Append diagnostics. - * - * @param status the status - * @param diagnostics the diagnostics - */ - private void appendDiagnostics(final IStatus status, - final DiagnosticChain diagnostics) { - if (status.isMultiStatus()) { - IStatus[] children = status.getChildren(); - - for (int i = 0; i < children.length; i++) { - appendDiagnostics(children[i], diagnostics); - } - } else if (status instanceof IConstraintStatus) { - diagnostics.add(new BasicDiagnostic( - status.getSeverity(), - status.getPlugin(), - status.getCode(), - status.getMessage(), - ((IConstraintStatus) status).getResultLocus().toArray())); - } - } - - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.validator.command.util; + +import java.util.Map; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.EObjectValidator; +import org.eclipse.emf.validation.model.EvaluationMode; +import org.eclipse.emf.validation.model.IConstraintStatus; +import org.eclipse.emf.validation.service.IBatchValidator; +import org.eclipse.emf.validation.service.IConstraintFilter; +import org.eclipse.emf.validation.service.ModelValidationService; + +// TODO: Auto-generated Javadoc +/** + * The Class ChessValidatorAdapter. + */ +public class ChessValidatorAdapter extends EObjectValidator{ + + /** The batch validator. */ + private final IBatchValidator batchValidator; + + /** + * Instantiates a new chess validator adapter. + * + * @param constraintFilter the constraint filter + */ + public ChessValidatorAdapter(IConstraintFilter constraintFilter) { + super(); + + this.batchValidator = (IBatchValidator) ModelValidationService.getInstance() + .newValidator(EvaluationMode.BATCH); + this.batchValidator.setIncludeLiveConstraints(true); + this.batchValidator.setReportSuccesses(false); + this.batchValidator.addConstraintFilter(constraintFilter); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.util.EObjectValidator#validate(org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + */ + @Override + public boolean validate(final EObject eObject, + final DiagnosticChain diagnostics, + final Map<Object, Object> context) { + return validate(eObject.eClass(), eObject, diagnostics, context); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.util.EObjectValidator#validate(org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + */ + @Override + public boolean validate(final EClass eClass, final EObject eObject, + final DiagnosticChain diagnostics, final Map<Object, Object> context) { + super.validate(eClass, eObject, diagnostics, context); + + IStatus status = Status.OK_STATUS; + + if (diagnostics != null) { + if (!hasProcessed(eObject, context)) { + status = this.batchValidator.validate( + eObject, + new NullProgressMonitor()); + + processed(eObject, context, status); + + appendDiagnostics(status, diagnostics); + } + } + + return status.isOK(); + } + + /** + * Processed. + * + * @param eObject the e object + * @param context the context + * @param status the status + */ + private void processed(final EObject eObject, + final Map<Object, Object> context, final IStatus status) { + if (context != null) { + context.put(eObject, status); + } + } + + /** + * Checks for processed. + * + * @param eObject the e object + * @param context the context + * @return true, if successful + */ + private boolean hasProcessed(final EObject eObject, + final Map<Object, Object> context) { + boolean result = false; + EObject currentEObject = eObject; + if (context != null) { + while (currentEObject != null) { + if (context.containsKey(currentEObject)) { + result = true; + currentEObject = null; + } else { + currentEObject = currentEObject.eContainer(); + } + } + } + + return result; + } + + /** + * Append diagnostics. + * + * @param status the status + * @param diagnostics the diagnostics + */ + private void appendDiagnostics(final IStatus status, + final DiagnosticChain diagnostics) { + if (status.isMultiStatus()) { + IStatus[] children = status.getChildren(); + + for (int i = 0; i < children.length; i++) { + appendDiagnostics(children[i], diagnostics); + } + } else if (status instanceof IConstraintStatus) { + diagnostics.add(new BasicDiagnostic( + status.getSeverity(), + status.getPlugin(), + status.getCode(), + status.getMessage(), + ((IConstraintStatus) status).getResultLocus().toArray())); + } + } + + +} diff --git a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/messages.properties b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/messages.properties index c18d51e82..b9fcdfcf2 100755 --- a/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/messages.properties +++ b/plugins/org.polarsys.chess.validator/src/org/polarsys/chess/validator/messages/messages.properties @@ -1,14 +1,21 @@ -error_diagramInView=Diagrams must be created inside the views -error_diagramCurrentView=This diagram is not allowed in the current view -NullViewMsg=Can't modify the model outside the views -ModelManager_1=Deleting a view is forbidden. -ViewDeletionMsg=Can't delete view from the model\! -ModelManager_2=Model root must contains only the views. -ModelManager_3=Appling a view stereotype is forbidden. -ModelManager_4=Creation of interfaces is only allowed in the Functional View. -ModelManager_5=Creation of component with no additional stereotypes is only allowed in the Functional View. -ModelManager_6=Operations in the Functional View must have public visibility. -ModelManager_7=Interface realization is not allowed because owned operations does not match. -ModelManager_8=This element does not belong to the current view and cannot be therefore modified. -ModelManager_9=A predefined stereotype cannot be removed. -operationAborted=Operation aborted by the user +#------------------------------------------------------------------------------- +# Copyright (C) 2020 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v2.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v20.html +#------------------------------------------------------------------------------- +error_diagramInView=Diagrams must be created inside the views +error_diagramCurrentView=This diagram is not allowed in the current view +NullViewMsg=Can't modify the model outside the views +ModelManager_1=Deleting a view is forbidden. +ViewDeletionMsg=Can't delete view from the model\! +ModelManager_2=Model root must contains only the views. +ModelManager_3=Appling a view stereotype is forbidden. +ModelManager_4=Creation of interfaces is only allowed in the Functional View. +ModelManager_5=Creation of component with no additional stereotypes is only allowed in the Functional View. +ModelManager_6=Operations in the Functional View must have public visibility. +ModelManager_7=Interface realization is not allowed because owned operations does not match. +ModelManager_8=This element does not belong to the current view and cannot be therefore modified. +ModelManager_9=A predefined stereotype cannot be removed. +operationAborted=Operation aborted by the user diff --git a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/providers/WorkspaceNewModelStorageProvider.java b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/providers/WorkspaceNewModelStorageProvider.java index c0a6ac0d9..53b31fa1b 100644 --- a/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/providers/WorkspaceNewModelStorageProvider.java +++ b/plugins/org.polarsys.chess.wizards/src/org/polarsys/chess/wizards/providers/WorkspaceNewModelStorageProvider.java @@ -1,173 +1,180 @@ -package org.polarsys.chess.wizards.providers; - -import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.adapt; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Path; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.common.ui.URIEditorInput; -import org.eclipse.emf.common.util.URI; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.wizard.IWizardPage; -import org.eclipse.papyrus.uml.diagram.wizards.pages.NewModelFilePage; -import org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper; -import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.part.FileEditorInput; -import org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard; -import org.polarsys.chess.wizards.wizards.InitModelWizard.NewDiagramForExistingModelPage; - -/** - * The Class WorkspaceNewModelStorageProvider. - */ -public class WorkspaceNewModelStorageProvider { - - /** The wizard. */ - private CreateCHESSModelWizard wizard; - - /** The new model file page. */ - private NewModelFilePage newModelFilePage; - - /** - * Instantiates a new workspace new model storage provider. - */ - public WorkspaceNewModelStorageProvider() { - super(); - } - - /** - * Checks if the WorkspaceNewModelStorageProvider can handle the structured selection in input - * - * @param initialSelection the initial structured selection - * @return true, if successful - */ - public boolean canHandle(IStructuredSelection initialSelection) { - boolean result = false; - - for(Object next : initialSelection.toList()) { - if(adapt(next, IResource.class) != null) { - result = true; - break; - } - } - - return result; - } - - /** - * Initializes the wizard. - * - * @param wizard the wizard - * @param selection the selection - */ - public void init(CreateCHESSModelWizard wizard, IStructuredSelection selection) { - this.wizard = wizard; - newModelFilePage = createNewModelFilePage(selection); - } - - /** - * Creates the wizard pages. - * - * @return the list of wizards pages - */ - public List<? extends IWizardPage> createPages() { - if(newModelFilePage == null) { - return Collections.emptyList(); - } - - return Arrays.asList(newModelFilePage); - } - - /** - * Validates the diagram categories. - * - * @param newCategories the new categories - * @return the status of the validation - */ - public IStatus validateDiagramCategories(String... newCategories) { - if(newModelFilePage != null) { - String firstCategory = newCategories.length > 0 ? newCategories[0] : null; - if(newCategories.length > 0) { - return newModelFilePage.diagramExtensionChanged(wizard.getDiagramFileExtension(firstCategory)); - } - } - - return Status.OK_STATUS; - } - - - /** - * Creates the new model file page. - * - * @param selection the current structured selection - * @return the new model file page - */ - protected NewModelFilePage createNewModelFilePage(IStructuredSelection selection) { - - if(wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard()) { - - return null; - } - - // IFile selectedFile = getSelectedFile(selection); - URI selectedResourceURI = WizardsHelper.getSelectedResourceURI(selection); - - if(isCreateFromExistingDomainModel() && selectedResourceURI != null) { - return new NewDiagramForExistingModelPage(selection, wizard.getModelKindName(), getDiagramFileName(selectedResourceURI) + "." + wizard.getDiagramFileExtension(null), wizard.getDiagramFileExtension(null)); //$NON-NLS-1$ - } - - return new NewModelFilePage(selection, wizard.getModelKindName()); - } - - /** - * Gets the diagram file name. - * - * @param domainModelURI the domain model URI - * @return the diagram file name - */ - protected String getDiagramFileName(URI domainModelURI) { - return domainModelURI.trimFileExtension().lastSegment(); - } - - /** - * Checks if the wizards creates the from existing domain model. - * - * @return false - */ - protected boolean isCreateFromExistingDomainModel() { - return false; - } - - /** - * Creates the new model URI - * - * @param categoryId the category id - * @return the URI - */ - public URI createNewModelURI(String categoryId) { - IFile newFile = newModelFilePage.createNewFile(); - return (newFile == null) ? null : URI.createPlatformResourceURI(newFile.getFullPath().toString(), true); - } - - /** - * Creates the editor input. - * - * @param uri the URI - * @return the editor input - */ - public IEditorInput createEditorInput(URI uri) { - if (uri.isPlatformResource()) { - return new FileEditorInput(ResourcesPlugin.getWorkspace().getRoot() - .getFile(new Path(uri.toPlatformString(true)))); - } else { - return new URIEditorInput(uri); - } - } - -} +/******************************************************************************* + * Copyright (C) 2020 + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + ******************************************************************************/ +package org.polarsys.chess.wizards.providers; + +import static org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper.adapt; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Status; +import org.eclipse.emf.common.ui.URIEditorInput; +import org.eclipse.emf.common.util.URI; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.jface.wizard.IWizardPage; +import org.eclipse.papyrus.uml.diagram.wizards.pages.NewModelFilePage; +import org.eclipse.papyrus.uml.diagram.wizards.utils.WizardsHelper; +import org.eclipse.ui.IEditorInput; +import org.eclipse.ui.part.FileEditorInput; +import org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard; +import org.polarsys.chess.wizards.wizards.InitModelWizard.NewDiagramForExistingModelPage; + +/** + * The Class WorkspaceNewModelStorageProvider. + */ +public class WorkspaceNewModelStorageProvider { + + /** The wizard. */ + private CreateCHESSModelWizard wizard; + + /** The new model file page. */ + private NewModelFilePage newModelFilePage; + + /** + * Instantiates a new workspace new model storage provider. + */ + public WorkspaceNewModelStorageProvider() { + super(); + } + + /** + * Checks if the WorkspaceNewModelStorageProvider can handle the structured selection in input + * + * @param initialSelection the initial structured selection + * @return true, if successful + */ + public boolean canHandle(IStructuredSelection initialSelection) { + boolean result = false; + + for(Object next : initialSelection.toList()) { + if(adapt(next, IResource.class) != null) { + result = true; + break; + } + } + + return result; + } + + /** + * Initializes the wizard. + * + * @param wizard the wizard + * @param selection the selection + */ + public void init(CreateCHESSModelWizard wizard, IStructuredSelection selection) { + this.wizard = wizard; + newModelFilePage = createNewModelFilePage(selection); + } + + /** + * Creates the wizard pages. + * + * @return the list of wizards pages + */ + public List<? extends IWizardPage> createPages() { + if(newModelFilePage == null) { + return Collections.emptyList(); + } + + return Arrays.asList(newModelFilePage); + } + + /** + * Validates the diagram categories. + * + * @param newCategories the new categories + * @return the status of the validation + */ + public IStatus validateDiagramCategories(String... newCategories) { + if(newModelFilePage != null) { + String firstCategory = newCategories.length > 0 ? newCategories[0] : null; + if(newCategories.length > 0) { + return newModelFilePage.diagramExtensionChanged(wizard.getDiagramFileExtension(firstCategory)); + } + } + + return Status.OK_STATUS; + } + + + /** + * Creates the new model file page. + * + * @param selection the current structured selection + * @return the new model file page + */ + protected NewModelFilePage createNewModelFilePage(IStructuredSelection selection) { + + if(wizard.isCreateProjectWizard() || wizard.isCreateMultipleModelsWizard()) { + + return null; + } + + // IFile selectedFile = getSelectedFile(selection); + URI selectedResourceURI = WizardsHelper.getSelectedResourceURI(selection); + + if(isCreateFromExistingDomainModel() && selectedResourceURI != null) { + return new NewDiagramForExistingModelPage(selection, wizard.getModelKindName(), getDiagramFileName(selectedResourceURI) + "." + wizard.getDiagramFileExtension(null), wizard.getDiagramFileExtension(null)); //$NON-NLS-1$ + } + + return new NewModelFilePage(selection, wizard.getModelKindName()); + } + + /** + * Gets the diagram file name. + * + * @param domainModelURI the domain model URI + * @return the diagram file name + */ + protected String getDiagramFileName(URI domainModelURI) { + return domainModelURI.trimFileExtension().lastSegment(); + } + + /** + * Checks if the wizards creates the from existing domain model. + * + * @return false + */ + protected boolean isCreateFromExistingDomainModel() { + return false; + } + + /** + * Creates the new model URI + * + * @param categoryId the category id + * @return the URI + */ + public URI createNewModelURI(String categoryId) { + IFile newFile = newModelFilePage.createNewFile(); + return (newFile == null) ? null : URI.createPlatformResourceURI(newFile.getFullPath().toString(), true); + } + + /** + * Creates the editor input. + * + * @param uri the URI + * @return the editor input + */ + public IEditorInput createEditorInput(URI uri) { + if (uri.isPlatformResource()) { + return new FileEditorInput(ResourcesPlugin.getWorkspace().getRoot() + .getFile(new Path(uri.toPlatformString(true)))); + } else { + return new URIEditorInput(uri); + } + } + +} -- GitLab