Commit 167db2d7 authored by Carmen Carlan's avatar Carmen Carlan

Code review: green

Issue-ref: 4054
Signed-off-by: Carmen Carlan's avatarCarmen Carlan <carlan@fortiss.org>
parent c0e6d03d
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.conqat.lib.commons.collections.CollectionUtils.emptyList;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.LibraryPatternsDatabase;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link LibraryPatternsDatabase}.
*
* @author carlan
*/
public class LibraryPatternsDatabaseHandler
extends NamedCommentedModelElementHandlerBase<LibraryPatternsDatabase> {
/** {@inheritDoc} */
@Override
public String getName(LibraryPatternsDatabase element) {
return element.getPatternsDatabase().getName();
}
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(LibraryPatternsDatabase element) {
return "icons/patterns.png";
}
/** {@inheritDoc} */
@Override
public List<EObject> getSubnodes(LibraryPatternsDatabase element) {
return emptyList();
}
}
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.LibraryPatternsDatabase;
import org.fortiss.af3.requirementspatterns.model.LibraryPatternsDatabasePackage;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link LibraryPatternsDatabasePackage}.
*
* @author carlan
*/
public class LibraryPatternsDatabasePackageHandler
extends NamedCommentedModelElementHandlerBase<LibraryPatternsDatabasePackage> {
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(LibraryPatternsDatabasePackage element) {
return "icons/package.gif";
}
/** {@inheritDoc} */
@Override
public List<EObject> getSubnodes(LibraryPatternsDatabasePackage element) {
List<EObject> subNodes = new ArrayList<EObject>();
for(LibraryPatternsDatabase lpd : element.getLibraryPatternsDatabases()) {
subNodes.add(lpd);
}
subNodes.addAll(element.getSubPackages());
return subNodes;
}
}
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.SafetyClaimPattern;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link SafetyClaimPattern}.
*
* @author carlan
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class SafetyClaimPatternHandler
extends NamedCommentedModelElementHandlerBase<SafetyClaimPattern> {
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(SafetyClaimPattern element) {
return "icons/claim.png";
}
/** {@inheritDoc} */
@Override
public List<EObject> getSubnodes(SafetyClaimPattern element) {
return (List)element.getContainedElements();
}
}
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.SafetyClaimPatternsCollection;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link SafetyClaimPatternsCollection}.
*
* @author carlan
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class SafetyClaimPatternsCollectionHandler
extends NamedCommentedModelElementHandlerBase<SafetyClaimPatternsCollection> {
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(SafetyClaimPatternsCollection element) {
return "icons/patterns.png";
}
/** {@inheritDoc} */
@Override
public List<EObject> getSubnodes(SafetyClaimPatternsCollection element) {
return (List)element.getContainedElements();
}
}
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.PatternsDatabase;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link PatternsDatabase}.
*
* @author carlan
*/
public class SafetyClaimPatternsDatabaseHandler
extends NamedCommentedModelElementHandlerBase<PatternsDatabase> {
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(PatternsDatabase element) {
return "icons/patterns.png";
}
/** {@inheritDoc} */
@SuppressWarnings({"unchecked", "rawtypes"})
@Override
public List<EObject> getSubnodes(PatternsDatabase element) {
return (List)element.getContainedElements();
}
}
/*-------------------------------------------------------------------------+
| Copyright 2013 fortiss GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.ui.handler;
import static org.fortiss.af3.safetycases.ui.AF3SafetyCasesUIActivator.PLUGIN_ID;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.fortiss.af3.requirementspatterns.model.WordAndObjectType;
import org.fortiss.tooling.kernel.ui.extension.IModelElementHandler;
import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHandlerBase;
/**
* {@link IModelElementHandler} for {@link WordAndObjectType}.
*
* @author carlan
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class WordAndObjectTypeHandler
extends NamedCommentedModelElementHandlerBase<WordAndObjectType> {
/** {@inheritDoc} */
@Override
protected String getPluginId() {
return PLUGIN_ID;
}
/** {@inheritDoc} */
@Override
protected String getIconPath(WordAndObjectType element) {
return "icons/word.png";
}
/** {@inheritDoc} */
@Override
public List<EObject> getSubnodes(WordAndObjectType element) {
return (List)element.getContainedElements();
}
}
PrototypeProvider.java b5c6caca89d864dc1a2f22816da01f9dd2fa6e73 YELLOW
PrototypeProvider.java b5c6caca89d864dc1a2f22816da01f9dd2fa6e73 GREEN
AF3SelectionDialogUtils.java 606c377620ecf8902101585cf60fa8117397bf30 GREEN
DropdownDialog.java 1ec9b26db0e5c2cf40f1761de7bb9a0e3b1b1355 GREEN
GSNSelectionDialogUtils.java e088ec2d2e58a40cae8f70ba7b91ba55682fedde YELLOW
GSNSelectionDialogUtils.java e088ec2d2e58a40cae8f70ba7b91ba55682fedde GREEN
InstantiationOfGSNElementsUtils.java 17c317ebdf5b1ba3e98df37622a519d07c444ac4 GREEN
MaintenanceUtils.java 6666dea44eb6784c9f23c0c549bd6eada1eb1e17 GREEN
MultiPageWizard.java a901e2eb4967e3663b71a96cb22948283c200c2c GREEN
......
......@@ -25,10 +25,7 @@ Require-Bundle: org.eclipse.core.runtime,
org.fortiss.af3.allocation;visibility:=reexport,
org.eclipse.jface;bundle-version="3.9.1",
org.fortiss.af3.mode;bundle-version="2.17.0";visibility:=reexport
Export-Package: org.fortiss.af3.requirementspatterns.model,
org.fortiss.af3.requirementspatterns.model.impl,
org.fortiss.af3.requirementspatterns.model.util,
org.fortiss.af3.requirementspatterns.utils,
Export-Package:
org.fortiss.af3.safetyargumentationpackage.model,
org.fortiss.af3.safetyargumentationpackage.model.impl,
org.fortiss.af3.safetyargumentationpackage.model.util,
......
......@@ -2,16 +2,16 @@
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model" nsURI="http://www.fortiss.org/af3/safetycases" nsPrefix="org-fortiss-af3-safetycases">
<eClassifiers xsi:type="ecore:EClass" name="Goal" eSuperTypes="#//DecomposableSpinalElement #//ArgumentModuleInterface">
<eStructuralFeatures xsi:type="ecore:EReference" name="safetyRequirement" eType="ecore:EClass ../../org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="safetyRequirement" eType="ecore:EClass platform:/resource/org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="toBeSupportedByContract"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EEnum ../../org.fortiss.af3.mira/model/mira.ecore#//SafetyRequirementType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EEnum platform:/resource/org.fortiss.af3.mira/model/mira.ecore#//SafetyRequirementType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedByAwayGoals"
upperBound="-1" eType="#//AwayGoal"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Solution" eSuperTypes="#//SpinalElement #//ArgumentModuleInterface">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="status" eType="#//EvidenceStatus"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="safetyRequirement" eType="ecore:EClass ../../org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="safetyRequirement" eType="ecore:EClass platform:/resource/org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedByAwaySolutions"
upperBound="-1" eType="#//AwaySolution"/>
</eClassifiers>
......@@ -26,8 +26,8 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Justification" eSuperTypes="#//ContextualElement"/>
<eClassifiers xsi:type="ecore:EClass" name="InContextOf" eSuperTypes="#//SafetyCasesConnection"/>
<eClassifiers xsi:type="ecore:EClass" name="SafetyCase" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase ../../org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eOperations name="getGSNConnections" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eClassifiers xsi:type="ecore:EClass" name="SafetyCase" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eOperations name="getGSNConnections" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.convertList(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;ConnectionSegmentBase.class, getConnections());"/>
</eAnnotations>
......@@ -39,26 +39,26 @@
</eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="textualInformation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyCasesConnector" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectorBase">
<eOperations name="getGSNElement" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eClassifiers xsi:type="ecore:EClass" name="SafetyCasesConnector" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectorBase">
<eOperations name="getGSNElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return (HierarchicElementBase)eContainer();"/>
</eAnnotations>
</eOperations>
<eOperations name="getIncomingRelationship" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getIncomingRelationship" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;ConnectionSegmentBase.class, getIncoming());"/>
</eAnnotations>
</eOperations>
<eOperations name="getOutgoingRelationship" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getOutgoingRelationship" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;ConnectionSegmentBase.class, getOutgoing());"/>
</eAnnotations>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EntryConnector" eSuperTypes="#//SafetyCasesConnector ../../org.fortiss.tooling.base/model/base.ecore#//base/EntryConnectorBase"/>
<eClassifiers xsi:type="ecore:EClass" name="ExitConnector" eSuperTypes="#//SafetyCasesConnector ../../org.fortiss.tooling.base/model/base.ecore#//base/ExitConnectorBase"/>
<eClassifiers xsi:type="ecore:EClass" name="ArgumentElementBase" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eClassifiers xsi:type="ecore:EClass" name="EntryConnector" eSuperTypes="#//SafetyCasesConnector platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/EntryConnectorBase"/>
<eClassifiers xsi:type="ecore:EClass" name="ExitConnector" eSuperTypes="#//SafetyCasesConnector platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ExitConnectorBase"/>
<eClassifiers xsi:type="ecore:EClass" name="ArgumentElementBase" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eOperations name="getEntryConnectors" upperBound="-1" eType="#//EntryConnector">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;EntryConnector.class, getConnectors());"/>
......@@ -81,7 +81,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="strength" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SpinalElement" eSuperTypes="#//SupportedByTargetElement #//ArgumentElement"/>
<eClassifiers xsi:type="ecore:EClass" name="SafetyModule" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase #//ArgumentElementBase">
<eClassifiers xsi:type="ecore:EClass" name="SafetyModule" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase #//ArgumentElementBase">
<eOperations name="getModuleEntryConnectors" upperBound="-1" eType="#//EntryConnector">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;EntryConnector.class, getContainedElements());"/>
......@@ -92,7 +92,7 @@
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;ExitConnector.class, getContainedElements());"/>
</eAnnotations>
</eOperations>
<eOperations name="getModuleRelationships" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getModuleRelationships" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;ConnectionSegmentBase.class, getContainedElements());"/>
</eAnnotations>
......@@ -101,7 +101,7 @@
<eClassifiers xsi:type="ecore:EClass" name="DecomposableSpinalElement" eSuperTypes="#//SpinalElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="toBeDeveloped" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="scope" eType="ecore:EClass ../../org.fortiss.af3.component/model/component.ecore#//Component"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="scope" eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="VISIBILITY">
<eLiterals name="Public"/>
......@@ -152,47 +152,47 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SupportedByTargetElement"/>
<eClassifiers xsi:type="ecore:EClass" name="ContextualElement" eSuperTypes="#//InContextOfTargetElement #//ArgumentElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="contextElement" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contextElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="inputPorts" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.component/model/component.ecore#//InputPort"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//InputPort"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="outputPorts" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.component/model/component.ecore#//OutputPort"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//OutputPort"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ModuleRef" eSuperTypes="#//ArgumentModule ../../org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElementReference">
<eClassifiers xsi:type="ecore:EClass" name="ModuleRef" eSuperTypes="#//ArgumentModule platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElementReference">
<eOperations name="getLibraryModuleShadow" eType="#//ArgumentModule">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return null;"/>
</eAnnotations>
</eOperations>
<eOperations name="getContainedGSNElements" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eOperations name="getContainedGSNElements" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return null;"/>
</eAnnotations>
</eOperations>
<eOperations name="getContainedRelationships" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getContainedRelationships" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return null;"/>
</eAnnotations>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyModuleRef" eSuperTypes="#//ArgumentModule ../../org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElementReference">
<eClassifiers xsi:type="ecore:EClass" name="SafetyModuleRef" eSuperTypes="#//ArgumentModule platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElementReference">
<eOperations name="getLibraryModuleShadow" eType="#//ArgumentModule">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return (ArgumentModule)getLibraryElementShadow();"/>
</eAnnotations>
</eOperations>
<eOperations name="getContainedGSNElements" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eOperations name="getContainedGSNElements" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IHierarchicElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return ModuleRefStaticImpl.getContainedGSNElements(this);"/>
</eAnnotations>
</eOperations>
<eOperations name="getContainedRelationships" upperBound="-1" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getContainedRelationships" upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return ModuleRefStaticImpl.getContainedGSNRelationships(this);"/>
</eAnnotations>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LibraryModule" eSuperTypes="../../org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElement">
<eClassifiers xsi:type="ecore:EClass" name="LibraryModule" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryElement">
<eOperations name="getModule" eType="#//ArgumentModule">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return (ArgumentModule)wrappedElement;"/>
......@@ -224,7 +224,7 @@
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="knownUses" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="LibraryModulePackage" eSuperTypes="../../org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryPackage ../../org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryRootElement">
<eClassifiers xsi:type="ecore:EClass" name="LibraryModulePackage" eSuperTypes="platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryPackage platform:/resource/org.fortiss.tooling.kernel/model/kernel.ecore#//ILibraryRootElement">
<eOperations name="getURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return LibraryModulePackageStaticImpl.getURI(this);"/>
......@@ -258,7 +258,7 @@
<eLiterals name="Indirect"/>
<eLiterals name="Direct"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SafetyCasesConnection" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eClassifiers xsi:type="ecore:EClass" name="SafetyCasesConnection" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/ConnectionSegmentBase">
<eOperations name="getSource" eType="#//SafetyCasesConnector">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="body" value="return (SafetyCasesConnector) super.getSource();"/>
......@@ -309,17 +309,17 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
defaultValueLiteral="1.0"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedStates" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.state/model/state.ecore#//State"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.state/model/state.ecore#//State"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedPTA" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.platform/model/platform.ecore#//IPlatformArchitectureElement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedModes" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.mode/model/mode.ecore#//Mode"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.mode/model/mode.ecore#//Mode"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedDeployments"
upperBound="-1" eType="ecore:EClass ../../org.fortiss.af3.allocation/model/allocation.ecore#//AllocationTable"/>
upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.af3.allocation/model/allocation.ecore#//AllocationTable"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedComponents" upperBound="-1"
eType="ecore:EClass ../../org.fortiss.af3.component/model/component.ecore#//Component"/>
eType="ecore:EClass platform:/resource/org.fortiss.af3.component/model/component.ecore#//Component"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedRequirements"
upperBound="-1" eType="ecore:EClass ../../org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
upperBound="-1" eType="ecore:EClass platform:/resource/org.fortiss.af3.mira/model/mira.ecore#//Requirement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AwayContractModule" eSuperTypes="#//ContractModule #//AwayArgumentElement #//DecomposableSpinalElement"/>
<eClassifiers xsi:type="ecore:EEnum" name="EvidenceStatus">
......@@ -336,7 +336,7 @@
upperBound="-1" eType="#//Change"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ModelChangeEffect">
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hasImpact" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ArgumentModuleInterface" abstract="true"
......@@ -353,8 +353,8 @@
<eLiterals name="Modified"/>
<eLiterals name="Delete"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Change" eSuperTypes="../../org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="ecore:EClass ../../org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Change" eSuperTypes="platform:/resource/org.fortiss.tooling.base/model/base.ecore#//base/HierarchicElementBase">
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="ecore:EClass platform:/resource/org.fortiss.tooling.base/model/base.ecore#//element/IModelElement"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="personalizedTypeOfChange"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="predefinedTypeOfChange"
......
......@@ -113,7 +113,6 @@
<genClasses ecoreClass="safetycases.ecore#//AwayContext"/>
<genClasses ecoreClass="safetycases.ecore#//ContractModule"/>
<genClasses ecoreClass="safetycases.ecore#//ArgumentModule">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute safetycases.ecore#//ArgumentModule/safetyArgumentType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute safetycases.ecore#//ArgumentModule/showQuantitativeEvaluation"/>
<genOperations ecoreOperation="safetycases.ecore#//ArgumentModule/getAddressedGoals"
body="return org.fortiss.tooling.kernel.utils.EcoreUtils.pickInstanceOf(&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;Goal.class, getContainedElements());"/>
......
......@@ -6,7 +6,7 @@ AwayGoalCompositor.java 4432c8934746be63dc16374bd923a4e9f3b6d1d0 GREEN
AwayGoalInContextOfConnectionCompositor.java 49daac2f7b70f9ceb708cb27a78fc190bf3293d2 GREEN
AwayGoalSupportedByConnectionCompositor.java 05735ae0a9c07c05a7008319fca34bd186e0e8c9 GREEN
AwaySolutionCompositor.java cce1a2056192a8f2c71b5af4dd52ede2982f94d2 GREEN
ConnectionCompositor.java c5bb71ad4b60ab6190f0d358fe6106d89c87a498 YELLOW
ConnectionCompositor.java 4752ddaf82a000079b223651796299907458ccec GREEN
ContextCompositor.java 0540ee7716235bb96fc48c37ff618d4117a446f5 GREEN
ContractModuleCompositor.java ac85daf1d00003404bf6ba1d9577590c5df92948 GREEN
GoalCompositor.java fde0cc8da148f5ad65263c999d35507b443697ac GREEN
......