Commit aff0c488 authored by Liana Soima's avatar Liana Soima

YELLOW

Signed-off-by: Liana Soima's avatarLiana Soima <soima@fortiss.org>
Issue-Ref: 3976
parent f05727bc
ConnectAwayContextToContextAction.java 05da685350cc930ea44e52e2f7a97d2cba3a052c GREEN
ConnectAwayContextToContextAction.java b954a1e409d3bb2f953c16d12c86f3a8f15f57d4 YELLOW
ConnectAwayGoalToGoalAction.java c1b4fbf4cc43b2b1ff78caa35d2173db754793b5 GREEN
ConnectAwaySolutionToSolutionAction.java 318633230d566f1b620be3db31a6d140e932af31 GREEN
ConnectToSystemModelElementsAction.java 7ccfe4fe066a718b6c938bb06d21ca678b98434f GREEN
DownloadSafetyClaimPatternsDatabaseFromLibrary.java 8d47597b2d89dc72c99fab55666f4fc416a7a5c4 GREEN
SetAsImpactedAction.java cf4e53f5a568bd37674d864526194b3d64f3d95a GREEN
SolveImpactAction.java 275ffd50dcf0e933fa9cdee829700aadca1b550e GREEN
AddArgumentModuleToLibrary.java 0d69b40174b5c794e2334774f3c9eae839667c18 GREEN
ConvertReferenceToArgumentModule.java 260209a904234e694f915bb0b91ea782cfb561c1 GREEN
AddArgumentModuleToLibrary.java 11f368593817cc20cf6bab7a618d7b3be2784a17 YELLOW
ConvertReferenceToArgumentModule.java 82e06a575476b7b186677711f93eab5a849c22d5 YELLOW
ArgumentElementPropertySection.java 0c40d670dd17054bceeb9b25fa933c0d80642a7c GREEN
ArgumentModulePropertySection.java a96fcfeed6831cfe3cc145618b5ef7ea3ebf1d31 GREEN
ArgumentElementPropertySection.java 145c511e845cfcd5cc47c14641d60c1794a8c26b YELLOW
ArgumentModuleQuantitativeProperty.java 9028829eec1c08c376f3b02d645b010b2c11a64c GREEN
AssumptionPropertySection.java 6baa436009dd5f0ea65080026ca95ab5c605ed89 GREEN
AwayEntityPropertySection.java d842ca008db9bc2fb370718221a65c995dd475bd GREEN
ChangePropertySection.java fdcd457de707448a7f7d98c42db1f284fb678cc4 GREEN
ConnectionPropertySection.java 64ae03618be21fb0a0b9f6cb4668fd58e4e8c341 GREEN
ConnectionPropertySection.java 04979ec99724bd798f9d3f925f92e471bcc2e84a YELLOW
ContextPropertySection.java 3901c88aee6a6e659a997d1fe76ab333a227c526 GREEN
GSNStatesPropertySection.java ef75c66659b87cdf4fcafac7f02555cd296362fe GREEN
OptionEntityPropertySection.java 783afb90532861c185a2e4ea5bd3c1b7e92483c2 GREEN
OptionalAndMultiplicityPropertySection.java 9851784923e45c7cd6217c22aa0a4734edacd770 YELLOW
QuantitativeEvaluationPropertySection.java 3abfb63be471ff17ac97cc19078da83f99e48a41 GREEN
......@@ -290,10 +290,7 @@ public class ArgumentElementPropertySection extends PropertySectionBase {
getRootElements(currentlySelectedGSNElement, Analysis.class);
af3ElementsNames[index++] = "@requirement(" + "<no requirement>" + ")";
for(Analysis an : analysisList) {
EList<Requirement> req = pickInstanceOf(
asList(new Class<?>[] {RequirementsContainer.class,
RequirementsPackage.class, Requirement.class}),
an.getRequirementsList());
EList<Requirement> req = getRequirements(an);
for(Requirement r : req) {
if(r != null && r.getName() != null) {
af3ElementsNames[index++] = "@requirement(" + r.getName() + ")";
......@@ -452,4 +449,13 @@ public class ArgumentElementPropertySection extends PropertySectionBase {
}
return "";
}
/**
* @param analysis
* @return List of Analysis from the currently selected Project.
*/
private EList<Requirement> getRequirements(Analysis analysis) {
return pickInstanceOf(asList(new Class<?>[] {RequirementsContainer.class,
RequirementsPackage.class, Requirement.class}), analysis.getRequirementsList());
}
}
PrototypeProvider.java b5c6caca89d864dc1a2f22816da01f9dd2fa6e73 GREEN
PrototypeProvider.java c53752355b33870b0ebace2cd794c1ef2887aa93 YELLOW
AF3SelectionDialogUtils.java 606c377620ecf8902101585cf60fa8117397bf30 GREEN
DropdownDialog.java 1ec9b26db0e5c2cf40f1761de7bb9a0e3b1b1355 GREEN
GSNSelectionDialogUtils.java e088ec2d2e58a40cae8f70ba7b91ba55682fedde GREEN
InstantiationOfGSNElementsUtils.java 17c317ebdf5b1ba3e98df37622a519d07c444ac4 GREEN
InstantiationOfGSNElementsUtils.java c9babdd5984bdb15c178699605d6346d1865d2f4 YELLOW
MaintenanceUtils.java 6666dea44eb6784c9f23c0c549bd6eada1eb1e17 GREEN
MultiPageWizard.java a901e2eb4967e3663b71a96cb22948283c200c2c GREEN
OptionEntityInstantiation.java 05f5cf61184d6db033b47d58c19492799468943e GREEN
......@@ -10,4 +10,4 @@ SafetyCasesLibraryUIUtils.java 9496176dd4c161f58f48b2cf929f1d596cc08280 GREEN
StringToClaimValidator.java 1cb681f25dfe96ff328e4d8d754fce6108f07697 GREEN
StringToGsnIdValidator.java 197f42de3e3022ca918a1aa324b2b3d3314d8c44 GREEN
TextHyperlinkingUtils.java 4c572f100e237eff1fe3ff01700d65d56331ff1c GREEN
Utils.java 18b05a8edddbef62e59616bf168beec95349caf3 GREEN
Utils.java cd1b83a45a80e859db3f92950d4551cae8c6bf28 YELLOW
requirementspatterns.ecore b2f09bfc949bafb0392929115b3c0321bf2b192c YELLOW
safetyargumentationpackage.ecore e95d1c0c64d12fa1660899df86cc9009dbae1754 YELLOW
safetycases.ecore 122a0da22e4d986628df14eb2be0e10706b0d836 YELLOW
safetycases.ecore 1c2d8265bfea0696dbc113ff57fa394eebd0579c YELLOW
AutomaticSetListener.java 9e4f7a929cb10be116c0442a6251683cea39dc2a YELLOW
AutomaticSetListener.java e74a76994501f1b2252ee982896a9938ed7737f3 YELLOW
AutomaticSetListenerPersistency.java fdf9f4af3ec798af6c5f95d7b1f6a3ed39de2b14 GREEN
......@@ -189,7 +189,7 @@ public class AutomaticSetListener extends EContentAdapter {
getAllRequirements(argElement).stream().filter(i -> i.getName() != null)
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedRequirements().add((Requirement)list.get(0));
}
}
......@@ -207,7 +207,7 @@ public class AutomaticSetListener extends EContentAdapter {
List<INamedElement> list = getAllAllocations(argElement).stream()
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedDeployments().add((AllocationTable)list.get(0));
}
}
......@@ -225,7 +225,7 @@ public class AutomaticSetListener extends EContentAdapter {
List<INamedElement> list = getAllPlatformArchitecture(argElement).stream()
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedPTA().add((IPlatformArchitectureElement)list.get(0));
}
}
......@@ -243,7 +243,7 @@ public class AutomaticSetListener extends EContentAdapter {
List<INamedElement> list = getAllModes(argElement).stream()
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedModes().add((Mode)list.get(0));
}
}
......@@ -261,7 +261,7 @@ public class AutomaticSetListener extends EContentAdapter {
List<INamedElement> list = getAllStates(argElement).stream()
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedStates().add((State)list.get(0));
}
}
......@@ -279,7 +279,7 @@ public class AutomaticSetListener extends EContentAdapter {
List<INamedElement> list = getAllLogicalComponents(argElement).stream()
.filter(i -> i.getName().equals(name)).collect(Collectors.toList());
if(!list.isEmpty()) {
// The list contains the element with the same name as the refence.
// The list contains only the element with the same name as the reference.
argElement.getReferencedComponents().add((Component)list.get(0));
}
}
......
LibraryModuleUtils.java c362ae13c59a8d76cff5dabf8ec11ac024105823 GREEN
LibraryModuleUtils.java 14fae26872abd2171251334a46eb1b334bda7b93 YELLOW
ModuleLibraryModelElementFactory.java 5d882790170eb0ebc8be493e05d675e007cc5cca GREEN
SafetyCasesAnalysisUtils.java 9cd57ec5f82d420b3f4a25418bc20c48e706827a GREEN
SafetyCasesModelElementFactory.java 264e24056a3fd782e81dc02870173fda63a49377 GREEN
SafetyCasesModelElementFactory.java a5996ad58b4a4b2427f0dcb6bae0bcba63876a73 YELLOW
SafetyCasesModellingUtils.java 8e3d8401066a59d17c03c169e25597e9396866f8 GREEN
SafetyCasesUtils.java b06eeda5a209b92be0e8e4840b37d928a894b2a3 GREEN
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment