Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Philipp Steghöfer2020-10-14 09:19:47 +0000
committerJan-Philipp Steghöfer2020-10-14 09:19:47 +0000
commite3296bf9f96bece613f9f05dae645007a81b2052 (patch)
treec1d1ac85403df71c16ebe5aaedd079aa2d4ba7ae
parentff21bd9c2456b4ddb8ba273d51ffeb4521762a23 (diff)
downloadorg.eclipse.capra-e3296bf9f96bece613f9f05dae645007a81b2052.tar.gz
org.eclipse.capra-e3296bf9f96bece613f9f05dae645007a81b2052.tar.xz
org.eclipse.capra-e3296bf9f96bece613f9f05dae645007a81b2052.zip
Updated PlantUML viewer user instructions
As long as no element is selected, the PlantUML viewer shows an instruction pane that asked the user to "choose two elements". This has been updated to also include selecting a single element and changing the language from "choose" to "select" to make it clearer to the user how to do this. Change-Id: I6c71ae4d91e49931d94b093e423891ad4731dcb8
-rw-r--r--bundles/org.eclipse.capra.ui.plantuml/src/org/eclipse/capra/ui/plantuml/VisualizationHelper.xtend2
-rw-r--r--bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/.VisualizationHelper.xtendbinbin4479 -> 4499 bytes
-rw-r--r--bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/VisualizationHelper.java2
3 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.capra.ui.plantuml/src/org/eclipse/capra/ui/plantuml/VisualizationHelper.xtend b/bundles/org.eclipse.capra.ui.plantuml/src/org/eclipse/capra/ui/plantuml/VisualizationHelper.xtend
index 0b3511f1..c9b314ef 100644
--- a/bundles/org.eclipse.capra.ui.plantuml/src/org/eclipse/capra/ui/plantuml/VisualizationHelper.xtend
+++ b/bundles/org.eclipse.capra.ui.plantuml/src/org/eclipse/capra/ui/plantuml/VisualizationHelper.xtend
@@ -21,7 +21,7 @@ class VisualizationHelper {
«FOR first : rows»«artifactHelper.getArtifactLabel(first)»«FOR second : columns» |«IF internalLinks»«IF traceAdapter.isThereATraceBetween(first, second, traceModel) || traceAdapter.isThereAnInternalTraceBetween(first, second)»X«ELSE ».«ENDIF»«ELSE»«IF traceAdapter.isThereATraceBetween(first, second, traceModel)»X«ELSE ».«ENDIF»«ENDIF»«ENDFOR»
«ENDFOR»
«ELSE»
- Choose at least two elements to show their traceability matrix.
+ Select a single element to view a traceability graph and at least two elements to show their traceability matrix.
«ENDIF»
}
diff --git a/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/.VisualizationHelper.xtendbin b/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/.VisualizationHelper.xtendbin
index d12d914e..92ea4196 100644
--- a/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/.VisualizationHelper.xtendbin
+++ b/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/.VisualizationHelper.xtendbin
Binary files differ
diff --git a/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/VisualizationHelper.java b/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/VisualizationHelper.java
index 393dd4a8..cb9804ff 100644
--- a/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/VisualizationHelper.java
+++ b/bundles/org.eclipse.capra.ui.plantuml/xtend-gen/org/eclipse/capra/ui/plantuml/VisualizationHelper.java
@@ -68,7 +68,7 @@ public class VisualizationHelper {
}
}
} else {
- _builder.append("Choose at least two elements to show their traceability matrix.");
+ _builder.append("Select a single element to view a traceability graph and at least two elements to show their traceability matrix.");
_builder.newLine();
}
}

Back to the top