From d1bf2eedfdf1647e675b879f65baa0dfae2300ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martti=20K=C3=A4=C3=A4rik?= <martti.kaarik@elvior.com> Date: Fri, 28 Mar 2025 10:31:18 +0200 Subject: [PATCH] Added missing annotation. --- .../src/org/etsi/mts/tdl/library/Tdl.tdltx | 10 +++++++--- plugins/org.etsi.mts.tdl.tx.ui/templates/TDL.tdltx | 7 +++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/plugins/org.etsi.mts.tdl.library/src/org/etsi/mts/tdl/library/Tdl.tdltx b/plugins/org.etsi.mts.tdl.library/src/org/etsi/mts/tdl/library/Tdl.tdltx index 4565e66d..32260bf9 100644 --- a/plugins/org.etsi.mts.tdl.library/src/org/etsi/mts/tdl/library/Tdl.tdltx +++ b/plugins/org.etsi.mts.tdl.library/src/org/etsi/mts/tdl/library/Tdl.tdltx @@ -1,5 +1,6 @@ -Package Tdl { - //TODO: extract to standard library +@Version: "1.8.1" +Package TDL { + Constraint length Constraint minLength Constraint maxLength @@ -13,7 +14,6 @@ Package Tdl { Type String Type Verdict - //TODO: these do not work at present -> literal values take precedence? Boolean ^true Boolean ^false Boolean True @@ -27,6 +27,10 @@ Package Tdl { Annotation Master Annotation MappingName + Annotation Version + Annotation check + Annotation where + Annotation PICS //standard annotations for STO Annotation Initial conditions diff --git a/plugins/org.etsi.mts.tdl.tx.ui/templates/TDL.tdltx b/plugins/org.etsi.mts.tdl.tx.ui/templates/TDL.tdltx index fa0b687a..d063a4c4 100644 --- a/plugins/org.etsi.mts.tdl.tx.ui/templates/TDL.tdltx +++ b/plugins/org.etsi.mts.tdl.tx.ui/templates/TDL.tdltx @@ -1,6 +1,5 @@ @Version: "1.8.1" Package TDL { - //TODO: extract to standard library Constraint length Constraint minLength Constraint maxLength @@ -14,9 +13,8 @@ Package TDL { Type String Type Verdict - //TODO: these do not work at present -> literal values take precedence? -// Boolean true -// Boolean false + Boolean ^true + Boolean ^false Boolean True Boolean False @@ -31,6 +29,7 @@ Package TDL { Annotation Version Annotation check Annotation where + Annotation PICS //standard annotations for STO Annotation Initial conditions -- GitLab