Skip to content

Commit 85d618a

Browse files
committed
Module.xml corrections: classpath dependencies and command scopes
Reintroduced classpath dependencies in module.xml and Export command scopes
1 parent 980bbab commit 85d618a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

ToscaDesigner/src/main/conf/module.xml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<Module id="ToscaDesigner" class="fr.softeam.toscadesigner.impl.ToscaDesignerModule" binaryversion="5.4.01" version="0.0.00" schema-level="2" uid="942db9f9-6869-472c-b269-9ca7ec36a014" author="Softeam" image="" url="">
33
<ClassPath>
44
<PathEntry path="lib/${project.artifactId}-${project.version}.jar"/>
5+
<PathEntry path="lib/commons-text-1.11.0.jar"/>
6+
<PathEntry path="lib/nashorn-core-15.4.jar"/>
7+
<PathEntry path="lib/asm-7.3.1.jar"/>
8+
<PathEntry path="lib/asm-commons-7.3.1.jar"/>
9+
<PathEntry path="lib/asm-analysis-7.3.1.jar"/>
10+
<PathEntry path="lib/asm-tree-7.3.1.jar"/>
11+
<PathEntry path="lib/asm-util-7.3.1.jar"/>
12+
<PathEntry path="lib/antlr4-runtime-4.5.1-1.jar"/>
13+
<PathEntry path="lib/commons-lang3-3.1.jar"/>
14+
<PathEntry path="lib/rhino-1.7R4.jar"/>
515
<PathEntry path="lib/handlebars-4.3.1.jar"/>
616
<PathEntry path="lib/slf4j-api-1.7.32.jar"/>
717
</ClassPath>
@@ -356,9 +366,9 @@
356366
<TypeRef id="mref#'Integer' {01a40888-0000-002d-0000-000000000000} Infrastructure.PropertyType"/>
357367
<Description>%propertydefinition.TCapabilityDefinitionTable.upperBound.description</Description>
358368
</PropertyDefinition>
359-
<PropertyDefinition id="valid_source_types" label="%propertydefinition.TCapabilityDefinitionTable.valid_source_types.label" default-value="" is-editable="true" uid="e012d64d-3433-419e-a7b1-62e1cd38891a">
360-
<TypeRef id="mref#'Text' {01a40888-0000-002a-0000-000000000000} Infrastructure.PropertyType"/>
361-
<Description>%propertydefinition.TCapabilityDefinitionTable.valid_source_types.description</Description>
369+
<PropertyDefinition id="valid_source_tyoes" label="%propertydefinition.TCapabilityDefinitionTable.valid_source_tyoes.label" default-value="" is-editable="true" uid="e012d64d-3433-419e-a7b1-62e1cd38891a">
370+
<TypeRef id="mref#'MultiElement' {1bdf9f87-e9ad-4849-ab22-c25147e8d00c} Infrastructure.PropertyType"/>
371+
<Description>%propertydefinition.TCapabilityDefinitionTable.valid_source_tyoes.description</Description>
362372
</PropertyDefinition>
363373
</PropertyTable>
364374
</Stereotype>
@@ -1040,7 +1050,9 @@
10401050
</Command>
10411051
<Command id="Export" label="%command.Export.label" tooltip="%command.Export.tooltip" image="res/icon/gui/export.png" modify-model="false">
10421052
<Scope metaclass="Standard.Package" stereotype="ToscaDesigner#ToscaModel"/>
1043-
<Handler class="fr.softeam.toscadesigner.handlers.commands.ToacaModelExport">
1053+
<Scope metaclass="Infrastructure.ModelElement" stereotype="ToscaDesigner#TNodeType"/>
1054+
<Scope metaclass="Infrastructure.ModelElement" stereotype="ToscaDesigner#TTopologyTemplate"/>
1055+
<Handler class="fr.softeam.toscadesigner.handlers.commands.ExportToscaModelCommand">
10441056
<HParameter name="name" value=""/>
10451057
</Handler>
10461058
</Command>

0 commit comments

Comments
 (0)