Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TDL Open Source
TOP IDE
Commits
6f9018ba
Commit
6f9018ba
authored
Oct 18, 2021
by
Philip Makedonski
Browse files
+ added support for other formats as well (TX / TXi)
parent
f1972474
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
plugins/org.etsi.mts.tdl.ttcn3.ui/src/org/etsi/mts/tdl/ttcn3/ui/handlers/TransformationHandler.java
...etsi/mts/tdl/ttcn3/ui/handlers/TransformationHandler.java
+4
-1
No files found.
plugins/org.etsi.mts.tdl.ttcn3.ui/src/org/etsi/mts/tdl/ttcn3/ui/handlers/TransformationHandler.java
View file @
6f9018ba
...
...
@@ -69,7 +69,10 @@ public class TransformationHandler extends AbstractHandler {
URI
uri
=
URI
.
createPlatformResourceURI
(
file
.
getFullPath
().
toString
(),
true
);
XtextResourceSet
rs
=
injector
.
getInstance
(
XtextResourceSet
.
class
);
Resource
r
=
rs
.
getResource
(
uri
,
true
);
if
(
file
.
getName
().
endsWith
(
".tdl"
)
||
file
.
getName
().
endsWith
(
".tdlan2"
))
{
if
(
file
.
getName
().
endsWith
(
".tdl"
)
||
file
.
getName
().
endsWith
(
".tdlan2"
)
||
file
.
getName
().
endsWith
(
".tdltx"
)
||
file
.
getName
().
endsWith
(
".tdltxi"
))
{
Transform
transformer
=
new
Transform
();
URI
interimURI
=
URI
.
createURI
(
uri
.
toString
()+
"-generated.ttcn3m"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment