Skip to content

Commit b938269

Browse files
attributes replaced by tagtypes
1 parent d4b2c31 commit b938269

File tree

62 files changed

+1422
-705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1422
-705
lines changed

ToscaDesigner/src/main/conf/module.properties

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,36 @@ tagtype.Tag.description=
108108
tagtype.Tag.label=targetNamespace
109109
tagtype.any.description=
110110
tagtype.any.label=any
111-
tagtype.name.description=
111+
tagtype.artifactRef.description=\t
112+
tagtype.artifactRef.label=artifactRef
113+
tagtype.artifactType.description=
114+
tagtype.artifactType.label=artifactType
115+
tagtype.capabilityType.description=
116+
tagtype.capabilityType.label=capabilityType
117+
tagtype.interfaceName.description=
118+
tagtype.interfaceName.label=interfaceName
119+
tagtype.lowerBound.description=
120+
tagtype.lowerBound.label=lowerBound
121+
tagtype.name.description=\t\t
112122
tagtype.name.label=name
123+
tagtype.operationName.description=
124+
tagtype.operationName.label=operationName
125+
tagtype.policyRef.description=
126+
tagtype.policyRef.label=policyRef
127+
tagtype.policyType.description=
128+
tagtype.policyType.label=policyType
129+
tagtype.ref.description=
130+
tagtype.ref.label=ref
131+
tagtype.relationshipRef.description=
132+
tagtype.relationshipRef.label=relationshipRef
133+
tagtype.requirementType.description=
134+
tagtype.requirementType.label=requirementType
113135
tagtype.state.description=
114136
tagtype.state.label=state
115137
tagtype.tags.description=
116138
tagtype.tags.label=tags
139+
tagtype.upperBound.description=
140+
tagtype.upperBound.label=upperBound
117141
tool.ArtifactTemplate.label=ArtifactTemplate
118142
tool.ArtifactTemplate.tooltip=Create an artifact Template
119143
tool.NodeTemplate.label=NodeTemplate

ToscaDesigner/src/main/conf/module.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
<Stereotype name="RelationshipOperationType" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.RelationshipOperationType.label" uid="283533e7-c53c-4104-a644-9d71d040726f" is-abstract="false">
5252
<Icon path=""/>
5353
<Image path=""/>
54+
<TagTypes>
55+
<TagType name="interfaceName" uid="8d6c1c4c-5e1a-4857-8946-843232eea8fc" label="%tagtype.interfaceName.label" parameter-card="1" is-hidden="false" is-signed="false"/>
56+
<TagType name="operationName" uid="eaa46eea-ea48-4149-8061-face0d75977f" label="%tagtype.operationName.label" parameter-card="1" is-hidden="false" is-signed="false"/>
57+
<TagType name="relationshipRef" uid="1a414145-2df0-4161-9346-e7c8330aa304" label="%tagtype.relationshipRef.label" parameter-card="1" is-hidden="false" is-signed="false"/>
58+
</TagTypes>
5459
</Stereotype>
5560
<Stereotype name="RequirementDefinitionsType" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TRequirementDefinitionType.label" uid="622c76d1-f337-471e-984a-2af659417163" is-abstract="false">
5661
<Icon path=""/>
@@ -63,18 +68,35 @@
6368
<Stereotype name="SourceElementType" metaclass="Standard.DataType" owner-stereotype="" is-hidden="false" label="%stereotype.SourceElementType.label" uid="4c7a9935-4795-4b01-bba1-4e88b3f061d6" is-abstract="false">
6469
<Icon path=""/>
6570
<Image path=""/>
71+
<TagTypes>
72+
<TagType name="ref" uid="3bade1e4-3a43-4c6f-906c-27dca8e8590b" label="%tagtype.ref.label" parameter-card="1" is-hidden="false" is-signed="false"/>
73+
</TagTypes>
6674
</Stereotype>
6775
<Stereotype name="TCapability" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TCapability.label" uid="92831533-b614-4124-8961-3cd7ebcad536" is-abstract="false">
6876
<Icon path=""/>
6977
<Image path=""/>
78+
<TagTypes>
79+
<TagType name="name" uid="224dc1e1-9646-43bf-8a70-4e84323d4dde" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
80+
</TagTypes>
7081
</Stereotype>
7182
<Stereotype name="TCapabilityDefinition" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TCapabilityDefinition.label" uid="92f8cb40-9498-4759-9c75-6b4df72de355" is-abstract="false">
7283
<Icon path=""/>
7384
<Image path=""/>
85+
<TagTypes>
86+
<TagType name="name" uid="1776853c-6947-4bf7-8a0d-0a88e1b98d50" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
87+
<TagType name="lowerBound" uid="6bf3d39e-f355-4ae0-8e47-3d04e90a5ba4" label="%tagtype.lowerBound.label" parameter-card="1" is-hidden="false" is-signed="false"/>
88+
<TagType name="upperBound" uid="06d9b79e-d3e3-4f07-ace2-73c6ded7a329" label="%tagtype.upperBound.label" parameter-card="1" is-hidden="false" is-signed="false"/>
89+
<TagType name="capabilityType" uid="32bee67d-91fe-4a14-bdb8-5511402daf18" label="%tagtype.capabilityType.label" parameter-card="1" is-hidden="false" is-signed="false"/>
90+
</TagTypes>
7491
</Stereotype>
7592
<Stereotype name="TDeploymentArtifact" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TDeploymentArtifact.label" uid="7c624564-a87e-4058-ab8b-8f6782b68031" is-abstract="false">
7693
<Icon path=""/>
7794
<Image path=""/>
95+
<TagTypes>
96+
<TagType name="artifactRef" uid="00f224d5-08f2-42a7-af61-f6e906e8305b" label="%tagtype.artifactRef.label" parameter-card="1" is-hidden="false" is-signed="false"/>
97+
<TagType name="artifactType" uid="22483516-011a-4784-bde3-0f4bcadf9d00" label="%tagtype.artifactType.label" parameter-card="1" is-hidden="false" is-signed="false"/>
98+
<TagType name="name" uid="8e15fb0f-c599-408f-b15a-4c8affdd8658" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
99+
</TagTypes>
78100
</Stereotype>
79101
<Stereotype name="TDeploymentArtifacts" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TDeploymentArtifacts.label" uid="168ae3ca-0258-4eed-afa5-696caa1bab53" is-abstract="false">
80102
<Icon path=""/>
@@ -125,6 +147,11 @@
125147
<Stereotype name="TPolicy" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TPolicy.label" uid="afe2c9ed-9fab-4a53-a2d2-b52d849d0799" is-abstract="false">
126148
<Icon path=""/>
127149
<Image path=""/>
150+
<TagTypes>
151+
<TagType name="name" uid="1d546042-1e4c-44fe-b635-f26b13113f65" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
152+
<TagType name="policyRef" uid="212112e6-68cf-448e-b90b-f50bc9015821" label="%tagtype.policyRef.label" parameter-card="1" is-hidden="false" is-signed="false"/>
153+
<TagType name="policyType" uid="1947c8eb-d89c-438c-b5c7-da2f5c82cdbc" label="%tagtype.policyType.label" parameter-card="1" is-hidden="false" is-signed="false"/>
154+
</TagTypes>
128155
</Stereotype>
129156
<Stereotype name="TRelationshipTemplate" metaclass="Standard.Association" owner-stereotype="mref#'' {a32cca04-f738-421e-b834-b0f13524e19e} Infrastructure.Stereotype" is-hidden="false" label="%stereotype.TRelationshipTemplate.label" uid="7f01001b-511e-4017-b6b4-729f68c85911" is-abstract="false">
130157
<Icon path="res/icon/gui/relationship_template24.png"/>
@@ -140,10 +167,19 @@
140167
<Stereotype name="TRequirement" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TRequirement.label" uid="2a38f650-7f59-41a7-a928-ac9cbe326f84" is-abstract="false">
141168
<Icon path=""/>
142169
<Image path=""/>
170+
<TagTypes>
171+
<TagType name="name" uid="861f2d5c-8e08-4dff-a94a-530b2cf1293d" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
172+
</TagTypes>
143173
</Stereotype>
144174
<Stereotype name="TRequirementDefinition" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TRequirementDefinition.label" uid="2637c4bd-ca93-4012-82ea-8ef2ba5ca444" is-abstract="false">
145175
<Icon path=""/>
146176
<Image path=""/>
177+
<TagTypes>
178+
<TagType name="name" uid="1ebf9eaf-408b-4998-b9ec-fb33da299f99" label="%tagtype.name.label" parameter-card="1" is-hidden="false" is-signed="false"/>
179+
<TagType name="lowerBound" uid="aa21a993-773c-4ca5-8ec7-ec23f8ef5bf7" label="%tagtype.lowerBound.label" parameter-card="1" is-hidden="false" is-signed="false"/>
180+
<TagType name="upperBound" uid="ca00f259-49c6-497f-b835-c0dd99741ace" label="%tagtype.upperBound.label" parameter-card="1" is-hidden="false" is-signed="false"/>
181+
<TagType name="requirementType" uid="049ab71b-8ecb-4688-81a6-25d36a905aac" label="%tagtype.requirementType.label" parameter-card="1" is-hidden="false" is-signed="false"/>
182+
</TagTypes>
147183
</Stereotype>
148184
<Stereotype name="TServiceTemplate" metaclass="Standard.Class" owner-stereotype="" is-hidden="false" label="%stereotype.TServiceTemplate.label" uid="09682faf-27b8-4c4b-a5e6-22fe18303161" is-abstract="false">
149185
<Icon path="res/icon/gui/service_template24.png"/>
@@ -168,6 +204,9 @@
168204
<Stereotype name="TargetElementType" metaclass="Standard.DataType" owner-stereotype="" is-hidden="false" label="%stereotype.TargetElementType.label" uid="e4524aff-a7ca-4e8c-b752-7f45c18399b6" is-abstract="false">
169205
<Icon path=""/>
170206
<Image path=""/>
207+
<TagTypes>
208+
<TagType name="ref" uid="bc69630b-8a23-4f1b-ae43-c59421c68e51" label="%tagtype.ref.label" parameter-card="1" is-hidden="false" is-signed="false"/>
209+
</TagTypes>
171210
</Stereotype>
172211
<Stereotype name="ToscaModel" metaclass="Standard.Package" owner-stereotype="" is-hidden="false" label="%stereotype.ToscaModel.label" uid="20565008-115d-4fad-800f-134ab276f611" is-abstract="false">
173212
<Icon path=""/>

ToscaDesigner/src/main/conf/module_fr.properties

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,36 @@ tagtype.Tag.description=
108108
tagtype.Tag.label=targetNamespace
109109
tagtype.any.description=
110110
tagtype.any.label=any
111+
tagtype.artifactRef.description=
112+
tagtype.artifactRef.label=artifactRef
113+
tagtype.artifactType.description=
114+
tagtype.artifactType.label=artifactType
115+
tagtype.capabilityType.description=
116+
tagtype.capabilityType.label=capabilityType
117+
tagtype.interfaceName.description=
118+
tagtype.interfaceName.label=interfaceName
119+
tagtype.lowerBound.description=
120+
tagtype.lowerBound.label=lowerBound
111121
tagtype.name.description=
112122
tagtype.name.label=name
123+
tagtype.operationName.description=
124+
tagtype.operationName.label=operationName
125+
tagtype.policyRef.description=
126+
tagtype.policyRef.label=policyRef
127+
tagtype.policyType.description=
128+
tagtype.policyType.label=policyType
129+
tagtype.ref.description=
130+
tagtype.ref.label=ref
131+
tagtype.relationshipRef.description=
132+
tagtype.relationshipRef.label=relationshipRef
133+
tagtype.requirementType.description=
134+
tagtype.requirementType.label=requirementType
113135
tagtype.state.description=
114136
tagtype.state.label=state
115137
tagtype.tags.description=
116138
tagtype.tags.label=tags
139+
tagtype.upperBound.description=
140+
tagtype.upperBound.label=upperBound
117141
tool.ArtifactTemplate.label=ArtifactTemplate
118142
tool.ArtifactTemplate.tooltip=
119143
tool.NodeTemplate.label=NodeTemplate
3.22 KB
Binary file not shown.

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/api/ToscaDesignerProxyFactory.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* WARNING: GENERATED FILE - DO NOT EDIT
33
* Module: ToscaDesigner v0.0.00
44
5-
* This file was generated on 04/06/2024 15:45 by Modelio Studio.
5+
* This file was generated on 04/06/2024 17:23 by Modelio Studio.
66
*/
77
package fr.softeam.toscadesigner.api;
88

@@ -68,16 +68,16 @@
6868
*/
6969
@objid ("059af84f-eb6e-47d1-a535-4160c0895f98")
7070
public class ToscaDesignerProxyFactory {
71-
@objid ("dbf08f04-33ed-4e53-b28e-d8ed39207ea3")
71+
@objid ("24c0bab9-e887-4886-84ba-1eaeb1b82a51")
7272
private static final String ASSETNAME = "ToscaDesigner";
7373

74-
@objid ("0b630aba-89c2-49ae-9920-15bc545dade0")
74+
@objid ("cea612f6-5ad7-4a0a-bf9b-cb3e2351df03")
7575
private static final InstantiateVisitor instantiateVisitor = new InstantiateVisitor();
7676

7777
/**
7878
* @param session The modeling session this factory is operating in.
7979
*/
80-
@objid ("6f402d45-793e-44c9-a316-0303ce61417b")
80+
@objid ("6d986501-d3d0-4412-87f6-09c2535cef7f")
8181
public static final void initialize(final IModelingSession session) throws MdaProxyException {
8282
fr.softeam.toscadesigner.api.tosca.standard.class_.CapabilitiesType.MdaTypes.init(session);
8383
fr.softeam.toscadesigner.api.tosca.standard.class_.CapabilityDefinitionsType.MdaTypes.init(session);
@@ -127,7 +127,7 @@ public static final void initialize(final IModelingSession session) throws MdaPr
127127
* @param e A model element
128128
* @return the right proxy or <i>null</i>.
129129
*/
130-
@objid ("e24ff5a1-4cd6-46c9-9fe4-3db9d5214955")
130+
@objid ("5c031f0c-6d70-4f50-a4b2-1fe4a898ecb2")
131131
public static final Object instantiate(final ModelElement e) {
132132
for (Stereotype s : e.getExtension()) {
133133
ModuleComponent module = s.getModule();
@@ -147,23 +147,23 @@ public static final Object instantiate(final ModelElement e) {
147147
* @param stName A stereotype name.
148148
* @return the right proxy or <i>null</i>.
149149
*/
150-
@objid ("a02fc44d-cd5f-44ac-a285-0392690d3973")
150+
@objid ("c5300c4f-32af-44a6-b3ad-0ad55bc46491")
151151
public static final Object instantiate(final Element e, final String stName) {
152152
instantiateVisitor.setStereotype(stName);
153153
return e.accept(instantiateVisitor);
154154
}
155155

156-
@objid ("66fc1afb-50b3-4b9c-9603-d5efe67954fb")
156+
@objid ("f810ef3b-6d37-45a2-84e8-275cd4763e15")
157157
private static class InstantiateVisitor implements IDefaultModelVisitor, IDefaultInfrastructureVisitor {
158-
@objid ("b26a1fbf-f774-4577-90af-f31f43ddb859")
158+
@objid ("92fdf9cd-e8a8-44ea-88d4-3b081b8816a6")
159159
private String stName;
160160

161-
@objid ("8a8ad336-7b7c-49ab-8a17-fa3b8230cf26")
161+
@objid ("6f2666ee-034e-472c-a6b9-30995d69f5b8")
162162
public final void setStereotype(final String stName) {
163163
this.stName = stName;
164164
}
165165

166-
@objid ("e7edb655-6392-4bf7-8a2b-976072d9505e")
166+
@objid ("013ce9a3-6609-4548-881c-6c5d45fe83e4")
167167
@Override
168168
public final Object visitAssociation(Association obj) {
169169
switch (this.stName) {
@@ -176,7 +176,7 @@ public final Object visitAssociation(Association obj) {
176176

177177
}
178178

179-
@objid ("838e1da6-0062-4dfc-b922-9ede4c812646")
179+
@objid ("f7e9bd65-df1e-4c8c-ab20-f50fa14fae2c")
180180
@Override
181181
public final Object visitPackage(Package obj) {
182182
switch (this.stName) {
@@ -189,7 +189,7 @@ public final Object visitPackage(Package obj) {
189189

190190
}
191191

192-
@objid ("af1f61c7-379b-4479-8ed4-a07cc0e00994")
192+
@objid ("17727d78-a8de-4386-a1af-32a7dfebce2f")
193193
@Override
194194
public final Object visitDataType(DataType obj) {
195195
switch (this.stName) {
@@ -204,7 +204,7 @@ public final Object visitDataType(DataType obj) {
204204

205205
}
206206

207-
@objid ("a6c3e368-22e7-4b12-b7e6-6a4ef45ef719")
207+
@objid ("d443d192-fcf4-4d75-b149-9b4b7213088f")
208208
@Override
209209
public final Object visitClass(Class obj) {
210210
switch (this.stName) {
@@ -243,7 +243,7 @@ public final Object visitClass(Class obj) {
243243

244244
}
245245

246-
@objid ("134f8fd4-ecd3-479e-b027-3ffa1a80e009")
246+
@objid ("1b3a54c1-5410-4548-8eee-5ea14c475553")
247247
@Override
248248
public final Object visitStaticDiagram(StaticDiagram obj) {
249249
switch (this.stName) {
@@ -258,7 +258,7 @@ public final Object visitStaticDiagram(StaticDiagram obj) {
258258

259259
}
260260

261-
@objid ("df5c5e5e-bfed-4043-948a-220184d89cf2")
261+
@objid ("ab046357-f77d-4ba1-ba91-fb9d549906cb")
262262
@Override
263263
public final Object visitModelElement(ModelElement obj) {
264264
switch (this.stName) {
@@ -277,7 +277,7 @@ public final Object visitModelElement(ModelElement obj) {
277277
* <p>If null is returned the caller will return null.
278278
* @return the {@link IInfrastructureVisitor} visitor or <i>null</i>.
279279
*/
280-
@objid ("181511f8-f3f5-43e9-b7be-0c1227ba58a1")
280+
@objid ("09280281-f4e2-4a8c-bf14-a8bbb3a9436a")
281281
@Override
282282
public IInfrastructureVisitor getInfrastructureVisitor() {
283283
return this;

0 commit comments

Comments
 (0)