Skip to content

Commit a0d1f5c

Browse files
new icons , new stereotypes , tools update
1 parent aa6f16d commit a0d1f5c

File tree

7 files changed

+47
-19
lines changed

7 files changed

+47
-19
lines changed

ToscaDesigner/src/main/conf/module.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ stereotype.TRequirementDefinition.description=
8181
stereotype.TRequirementDefinition.label=TRequirementDefinition
8282
stereotype.TRequirementDefinitionType.description=
8383
stereotype.TRequirementDefinitionType.label=RequirementDefinitionsType
84+
stereotype.TServiceTemplate.description=
85+
stereotype.TServiceTemplate.label=TServiceTemplate
8486
stereotype.TTopologyElementInstanceStates.description=
8587
stereotype.TTopologyElementInstanceStates.label=TTopologyElementInstanceStates
8688
stereotype.TTopologyTemplate.description=

ToscaDesigner/src/main/conf/module.xml

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
</ClassPath>
66
<Profiles>
77
<Profile uid="ad7bd07a-f96b-47fb-8f5c-d62d9086f93f" id="Tosca">
8+
<Stereotype name="ArtifactTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.ArtifactTemplate.label" uid="9470b61d-47b8-455e-9d73-1119e307cdcc" is-abstract="false">
9+
<Icon path="res/icon/gui/artifact_template24.png"/>
10+
<Image path="res/icon/gui/artifact_template48.png"/>
11+
</Stereotype>
812
<Stereotype name="CapabilitiesType" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.CapabilitiesType.label" uid="03d159c3-b62b-497f-9176-c5137b4cb33d" is-abstract="false">
913
<Icon path=""/>
1014
<Image path=""/>
@@ -78,20 +82,20 @@
7882
<Image path=""/>
7983
</Stereotype>
8084
<Stereotype name="TNodeTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TNodeTemplate.label" uid="1a20bf91-0a92-434a-9d1f-35c86788784e" is-abstract="false">
81-
<Icon path=""/>
82-
<Image path=""/>
85+
<Icon path="res/icon/gui/node_template24.png"/>
86+
<Image path="res/icon/gui/node_template48.png"/>
8387
</Stereotype>
8488
<Stereotype name="TNodeType" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TNodeType.label" uid="47cdd09e-013d-4670-b757-f5736d2bb48c" is-abstract="false">
85-
<Icon path=""/>
86-
<Image path=""/>
89+
<Icon path="res/icon/gui/node_type24.png"/>
90+
<Image path="res/icon/gui/node_type48.png"/>
8791
</Stereotype>
8892
<Stereotype name="TPolicy" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TPolicy.label" uid="afe2c9ed-9fab-4a53-a2d2-b52d849d0799" is-abstract="false">
8993
<Icon path=""/>
9094
<Image path=""/>
9195
</Stereotype>
92-
<Stereotype name="TRelationshipTemplate" metaclass="Standard.Connector" owner-stereotype="" is-hidden="false" label="%stereotype.TRelationshipTemplate.label" uid="7f01001b-511e-4017-b6b4-729f68c85911" is-abstract="false">
93-
<Icon path=""/>
94-
<Image path=""/>
96+
<Stereotype name="TRelationshipTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TRelationshipTemplate.label" uid="7f01001b-511e-4017-b6b4-729f68c85911" is-abstract="false">
97+
<Icon path="res/icon/gui/relationship_template24.png"/>
98+
<Image path="res/icon/gui/relationship_template48.png"/>
9599
</Stereotype>
96100
<Stereotype name="TRequirement" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TRequirement.label" uid="2a38f650-7f59-41a7-a928-ac9cbe326f84" is-abstract="false">
97101
<Icon path=""/>
@@ -106,8 +110,8 @@
106110
<Image path=""/>
107111
</Stereotype>
108112
<Stereotype name="TTopologyTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TTopologyTemplate.label" uid="a52f433c-cf19-4033-99c2-81b4af708744" is-abstract="false">
109-
<Icon path=""/>
110-
<Image path=""/>
113+
<Icon path="res/icon/gui/topology_template24.png"/>
114+
<Image path="res/icon/gui/topology_template48.png"/>
111115
</Stereotype>
112116
<Stereotype name="TargetElementType" metaclass="Standard.DataType" owner-stereotype="" is-hidden="false" label="%stereotype.TargetElementType.label" uid="e4524aff-a7ca-4e8c-b752-7f45c18399b6" is-abstract="false">
113117
<Icon path=""/>
@@ -117,18 +121,22 @@
117121
<Icon path=""/>
118122
<Image path=""/>
119123
</Stereotype>
124+
<Stereotype name="TServiceTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TServiceTemplate.label" uid="09682faf-27b8-4c4b-a5e6-22fe18303161" is-abstract="false">
125+
<Icon path="res/icon/gui/service_template24.png"/>
126+
<Image path="res/icon/gui/service_template48.png"/>
127+
</Stereotype>
120128
</Profile>
121129
<Profile uid="72c19ac1-0189-4db1-a982-dbaa92e1cfd5" id="Automatic">
122130
<Stereotype name="CloudServiceArchiveDiagram" metaclass="Standard.StaticDiagram" owner-stereotype="" is-hidden="false" label="%stereotype.CloudServiceArchiveDiagram.label" uid="dddbe647-1f21-42d1-93cd-f61109a8afd3" is-abstract="false">
123-
<Icon path="res/icon/gui/diagram/csar_diag24.png"/>
131+
<Icon path="res/icon/gui/csar_diag48.ICON.png"/>
124132
<Image path=""/>
125133
</Stereotype>
126134
<Stereotype name="ServiceTemplateDiagram" metaclass="Standard.StaticDiagram" owner-stereotype="" is-hidden="false" label="%stereotype.ServiceTemplateDiagram.label" uid="f9953d92-a710-4f60-aac1-ebb34e59967c" is-abstract="false">
127135
<Icon path="res/icon/gui/diagram/service_template_diag24.png"/>
128136
<Image path=""/>
129137
</Stereotype>
130138
<Stereotype name="TopologyTemplateDiagram" metaclass="Standard.StaticDiagram" owner-stereotype="" is-hidden="false" label="%stereotype.TopologyTemplateDiagram.label" uid="0313d7f3-dcd0-4c93-981e-705f3d4bcc82" is-abstract="false">
131-
<Icon path="res/icon/gui/topology_template_diag24.ICON.png"/>
139+
<Icon path="res/icon/gui/diagram/topology_template_diag24.png"/>
132140
<Image path=""/>
133141
</Stereotype>
134142
</Profile>
@@ -173,30 +181,31 @@
173181
</Command>
174182
</Commands>
175183
<Tools>
176-
<Tool id="Service Template" label="%tool.Service Template.label" tooltip="%tool.Service Template.tooltip" image="res/icon/gui/2.ICON.png">
184+
<Tool id="Service Template" label="%tool.Service Template.label" tooltip="%tool.Service Template.tooltip" image="res/icon/gui/service_template24.png">
177185
<Scope-source metaclass="Standard.Package" stereotype=""/>
178186
<Handler class="Box">
187+
<HParameter name="stereotype" value="ToscaDesigner#TServiceTemplate"/>
179188
<HParameter name="metaclass" value="Standard.Class"/>
180189
<HParameter name="name" value="ServiceTemplate"/>
181190
</Handler>
182191
</Tool>
183-
<Tool id="TopologyTemplate" label="%tool.TopologyTemplate.label" tooltip="%tool.TopologyTemplate.tooltip" image="">
192+
<Tool id="TopologyTemplate" label="%tool.TopologyTemplate.label" tooltip="%tool.TopologyTemplate.tooltip" image="res/icon/gui/topology_template24.png">
184193
<Scope-source metaclass="Standard.Package" stereotype=""/>
185194
<Handler class="Box">
186195
<HParameter name="stereotype" value="ToscaDesigner#TTopologyTemplate"/>
187196
<HParameter name="metaclass" value="Standard.Class"/>
188197
<HParameter name="name" value="TopologyTemplate"/>
189198
</Handler>
190199
</Tool>
191-
<Tool id="NodeTypes" label="%tool.NodeTypes.label" tooltip="%tool.NodeTypes.tooltip" image="">
200+
<Tool id="NodeTypes" label="%tool.NodeTypes.label" tooltip="%tool.NodeTypes.tooltip" image="res/icon/gui/node_type24.png">
192201
<Scope-source metaclass="Standard.Package" stereotype=""/>
193202
<Handler class="Box">
194203
<HParameter name="stereotype" value="ToscaDesigner#TNodeType"/>
195204
<HParameter name="metaclass" value="Standard.Class"/>
196205
<HParameter name="name" value="NodeTypes"/>
197206
</Handler>
198207
</Tool>
199-
<Tool id="RelationshipTypes" label="%tool.RelationshipTypes.label" tooltip="%tool.RelationshipTypes.tooltip" image="">
208+
<Tool id="RelationshipTypes" label="%tool.RelationshipTypes.label" tooltip="%tool.RelationshipTypes.tooltip" image="res/icon/gui/relationship_type24.png">
200209
<Scope-source metaclass="Standard.Package" stereotype=""/>
201210
<Handler class="Box">
202211
<HParameter name="metaclass" value="Standard.Class"/>
@@ -210,20 +219,30 @@
210219
<HParameter name="name" value="Plans"/>
211220
</Handler>
212221
</Tool>
213-
<Tool id="NodeTemplate" label="%tool.NodeTemplate.label" tooltip="%tool.NodeTemplate.tooltip" image="">
222+
<Tool id="NodeTemplate" label="%tool.NodeTemplate.label" tooltip="%tool.NodeTemplate.tooltip" image="res/icon/gui/node_template24.png">
214223
<Scope-source metaclass="Standard.Package" stereotype=""/>
215224
<Handler class="Box">
225+
<HParameter name="stereotype" value="ToscaDesigner#TNodeTemplate"/>
216226
<HParameter name="metaclass" value="Standard.Class"/>
217227
<HParameter name="name" value="NodeTemplate"/>
218228
</Handler>
219229
</Tool>
220-
<Tool id="RelationshipTemplate" label="%tool.RelationshipTemplate.label" tooltip="%tool.RelationshipTemplate.tooltip" image="">
230+
<Tool id="RelationshipTemplate" label="%tool.RelationshipTemplate.label" tooltip="%tool.RelationshipTemplate.tooltip" image="res/icon/gui/relationship_template24.png">
221231
<Scope-source metaclass="Standard.Package" stereotype=""/>
222232
<Handler class="Box">
233+
<HParameter name="stereotype" value="ToscaDesigner#TRelationshipTemplate"/>
223234
<HParameter name="metaclass" value="Standard.Class"/>
224235
<HParameter name="name" value="RelationshipTemplate"/>
225236
</Handler>
226237
</Tool>
238+
<Tool id="ArtifactTemplate" label="%tool.ArtifactTemplate.label" tooltip="%tool.ArtifactTemplate.tooltip" image="res/icon/gui/artifact_template24.png">
239+
<Scope-source metaclass="Standard.Package" stereotype=""/>
240+
<Handler class="Box">
241+
<HParameter name="stereotype" value="ToscaDesigner#ArtifactTemplate"/>
242+
<HParameter name="metaclass" value="Standard.Class"/>
243+
<HParameter name="name" value="Artifact Template"/>
244+
</Handler>
245+
</Tool>
227246
</Tools>
228247
<ContextualMenu>
229248
<CommandRef refid="Export" group="" group-image=""/>
@@ -247,7 +266,8 @@
247266
<ToolRef refid="NodeTypes" group="%group.Types.label"/>
248267
<ToolRef refid="RelationshipTypes" group="%group.Types.label"/>
249268
<ToolRef refid="TopologyTemplate" group="%group.Templates.label"/>
250-
<ToolRef refid="Plans" group="%group.Group3.label"/>
269+
<ToolRef refid="ArtifactTemplate" group="%group.Artifact_Template.label"/>
270+
<ToolRef refid="Plans" group="%group.Plans.label"/>
251271
</Palette>
252272
<Handler class="StandardCustomizer">
253273
<HParameter name="stereotype" value="ToscaDesigner#ServiceTemplateDiagram"/>

ToscaDesigner/src/main/conf/module_fr.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ profile.Automatic.label=Automatic
2727
profile.Tosca.description=
2828
profile.Tosca.label=Tosca
2929

30+
stereotype.ArtifactTemplate.description=
31+
stereotype.ArtifactTemplate.label=ArtifactTemplate
3032
stereotype.CapabilitiesType.description=
3133
stereotype.CapabilitiesType.label=CapabilitiesType
3234
stereotype.CloudServiceArchiveDiagram.description=
@@ -79,6 +81,8 @@ stereotype.TRequirementDefinition.description=
7981
stereotype.TRequirementDefinition.label=TRequirementDefinition
8082
stereotype.TRequirementDefinitionType.description=
8183
stereotype.TRequirementDefinitionType.label=RequirementDefinitionsType
84+
stereotype.TServiceTemplate.description=
85+
stereotype.TServiceTemplate.label=TServiceTemplate
8286
stereotype.TTopologyElementInstanceStates.description=
8387
stereotype.TTopologyElementInstanceStates.label=TopologyElementInstanceStates
8488
stereotype.TTopologyTemplate.description=
@@ -90,6 +94,8 @@ stereotype.TopologyTemplateDiagram.label=TopologyTemplateDiagram
9094
stereotype.ToscaModel.description=
9195
stereotype.ToscaModel.label=ToscaModel
9296

97+
tool.ArtifactTemplate.label=ArtifactTemplate
98+
tool.ArtifactTemplate.tooltip=
9399
tool.NodeTemplate.label=NodeTemplate
94100
tool.NodeTemplate.tooltip=
95101
tool.NodeTypes.label=NodeTypes
1.67 KB
Binary file not shown.
34.4 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven
2-
#Tue Mar 05 15:18:56 CET 2024
2+
#Thu Mar 07 12:53:39 CET 2024
33
groupId=fr.softeam
44
artifactId=toscadesigner
55
version=0.0.00
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)