Skip to content

Commit 8409f6e

Browse files
committed
update property pages
1 parent c226abc commit 8409f6e

213 files changed

Lines changed: 5708 additions & 1366 deletions

File tree

Some content is hidden

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

pom.xml

Lines changed: 138 additions & 138 deletions
Large diffs are not rendered by default.

src/main/conf/module.properties

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
ModuleDescription=Modelio Module for designing the Cloud Application Modelling and Execution Language (CAMEL). For more information about CAMEL see http\://camel-dsl.org/
22
ModuleLabel=Camel Designer
33

4-
command.AddProperty.label=AddProperty
5-
command.AddProperty.tooltip=
64
command.Camel_Model.label=Camel_Model
75
command.Camel_Model.tooltip=
86
command.Camel_Model_Diagram.label=Camel Model diagram
@@ -43,8 +41,6 @@ command.Organisation_Model.label=Organisation_Model
4341
command.Organisation_Model.tooltip=
4442
command.Organisation_Model_Diagram.label=Organisation_Model_Diagram
4543
command.Organisation_Model_Diagram.tooltip=
46-
command.RemoveProperty.label=RemoveProperty
47-
command.RemoveProperty.tooltip=
4844
command.Requirement_Model.label=Requirement_Model
4945
command.Requirement_Model.tooltip=
5046
command.Requirement_Model_Diagram.label=Requirement_Model_Diagram
@@ -199,7 +195,7 @@ stereotype.CommunicationInstance.label=CommunicationInstance
199195
stereotype.CommunicationMeasurement.description=
200196
stereotype.CommunicationMeasurement.label=CommunicationMeasurement
201197
stereotype.CommunicationPort.description=
202-
stereotype.CommunicationPort.label=
198+
stereotype.CommunicationPort.label=CommunicationPort
203199
stereotype.CommunicationPortInstance.description=
204200
stereotype.CommunicationPortInstance.label=CommunicationPortInstance
205201
stereotype.Comp.description=
@@ -830,9 +826,9 @@ tool.Container_Instance.tooltip=Create a Container Instance
830826
tool.Data.label=Data
831827
tool.Data.tooltip=
832828
tool.DataInstance.label=DataInstance
833-
tool.DataInstance.tooltip=
829+
tool.DataInstance.tooltip=Create a Data Instance
834830
tool.DataInstanceModel.label=DataInstanceModel
835-
tool.DataInstanceModel.tooltip=
831+
tool.DataInstanceModel.tooltip=Create a Data Instance Model
836832
tool.DataTypeModel.label=DataTypeModel
837833
tool.DataTypeModel.tooltip=
838834
tool.Data_Resource_Filter.label=Data_Resource_Filter
@@ -991,8 +987,8 @@ tool.Single_Event.label=Single_Event
991987
tool.Single_Event.tooltip=
992988
tool.Single_Unit.label=Single_Unit
993989
tool.Single_Unit.tooltip=
994-
tool.SoftwareComponent.label=SoftwareComponent
995-
tool.SoftwareComponent.tooltip=
990+
tool.Software_Component.label=Software Component
991+
tool.Software_Component.tooltip=Create a Software Component
996992
tool.Timer.label=Timer
997993
tool.Timer.tooltip=
998994
tool.TypeModel.label=TypeModel

src/main/conf/module.xml

Lines changed: 74 additions & 75 deletions
Large diffs are not rendered by default.
1 Byte
Binary file not shown.

src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/CamelAttribute.java

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
/*
22
* WARNING: GENERATED FILE - DO NOT EDIT
3-
* Module: CamelDesigner v1.0.01
3+
* Module: CamelDesigner v1.0.03
44
5-
* This file was generated on 2/12/21 4:24 PM by Modelio Studio.
5+
* This file was generated on 3/29/21 4:01 PM by Modelio Studio.
66
*/
77
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
88

99
import java.util.ArrayList;
1010
import java.util.Collections;
1111
import java.util.Objects;
12+
import com.modeliosoft.modelio.javadesigner.annotations.objid;
1213
import fr.softeam.cameldesigner.api.CamelDesignerProxyFactory;
1314
import fr.softeam.cameldesigner.api.ICamelDesignerPeerModule;
1415
import fr.softeam.cameldesigner.impl.CamelDesignerModule;
@@ -29,9 +30,12 @@
2930
* <p>Stereotype description:
3031
* <br/><i>null</i></p>
3132
*/
33+
@objid ("95142f12-2b2c-454b-909a-53110f0aaecc")
3234
public abstract class CamelAttribute extends NamedElement {
35+
@objid ("b51f3241-e5df-4f47-a9b3-d64b7a1372df")
3336
public static final String STEREOTYPE_NAME = "CamelAttribute";
3437

38+
@objid ("89935271-b7f1-47a0-9c06-f5b4e7cfe136")
3539
@Override
3640
public boolean equals(final Object obj) {
3741
if (this == obj) {
@@ -48,43 +52,50 @@ public boolean equals(final Object obj) {
4852
}
4953

5054
/**
51-
* Get the underlying {@link ModelElement}.
52-
*
55+
* Get the underlying {@link ModelElement}.
5356
* @return the ModelElement represented by this proxy, never null.
5457
*/
58+
@objid ("cd4aa82c-8cab-43a3-8ec3-54a1a4d591b8")
5559
@Override
5660
public ModelElement getElement() {
5761
return (ModelElement)super.getElement();
5862
}
5963

64+
@objid ("6f343603-e2fa-4e01-a2dc-8c21f418c816")
6065
@Override
6166
public int hashCode() {
6267
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
6368
}
6469

70+
@objid ("d639a139-0830-40f9-b4b0-d42610a45157")
6571
protected CamelAttribute(final ModelElement elt) {
6672
super(elt);
6773
}
6874

75+
@objid ("b2b5f006-86dd-4eba-8d2f-bb3d0fc4f4f7")
6976
public static final class MdaTypes {
77+
@objid ("f71d95e3-ceb2-4f01-a27e-d7d16069c08c")
7078
public static Stereotype STEREOTYPE_ELT;
7179

80+
@objid ("1f32f612-bf43-4d71-916d-12d24971d740")
7281
private static Stereotype MDAASSOCDEP;
7382

83+
@objid ("c40d97c2-6d07-40ed-aea2-938744fbc0e7")
7484
private static TagType MDAASSOCDEP_ROLE;
7585

86+
@objid ("b5efddeb-c8ba-445e-864b-2b7115550a70")
7687
public static void init(final IModuleContext ctx) {
7788
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "342512a5-ad9b-48b8-a454-5fd44237b8f2");
7889
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
7990
MDAASSOCDEP_ROLE = ctx.getModelingSession().findElementById(TagType.class, "7637f2fd-b750-43c1-a15c-5d0b084ca1cd");
8091
}
8192

8293

83-
static {
84-
if(CamelDesignerModule.getInstance() != null) {
85-
init(CamelDesignerModule.getInstance().getModuleContext());
86-
}
87-
}
94+
static {
95+
if(CamelDesignerModule.getInstance() != null) {
96+
init(CamelDesignerModule.getInstance().getModuleContext());
97+
}
98+
}
8899
}
89100

90101
}
Lines changed: 41 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,47 @@
11
/*
22
* WARNING: GENERATED FILE - DO NOT EDIT
3-
* Module: CamelDesigner v1.0.01
3+
* Module: CamelDesigner v1.0.03
44
5-
* This file was generated on 2/12/21 4:24 PM by Modelio Studio.
5+
* This file was generated on 3/29/21 4:01 PM by Modelio Studio.
66
*/
77
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
88

9+
import java.util.ArrayList;
10+
import java.util.Collections;
11+
import java.util.Objects;
12+
import com.modeliosoft.modelio.javadesigner.annotations.objid;
13+
import fr.softeam.cameldesigner.api.CamelDesignerProxyFactory;
14+
import fr.softeam.cameldesigner.api.ICamelDesignerPeerModule;
15+
import fr.softeam.cameldesigner.impl.CamelDesignerModule;
16+
import org.modelio.api.modelio.model.IModelingSession;
17+
import org.modelio.api.modelio.model.PropertyConverter;
918
import org.modelio.api.module.context.IModuleContext;
19+
import org.modelio.metamodel.mmextensions.infrastructure.ExtensionNotFoundException;
20+
import org.modelio.metamodel.uml.infrastructure.Dependency;
1021
import org.modelio.metamodel.uml.infrastructure.ModelElement;
1122
import org.modelio.metamodel.uml.infrastructure.Stereotype;
1223
import org.modelio.metamodel.uml.infrastructure.TagType;
13-
import fr.softeam.cameldesigner.impl.CamelDesignerModule;
24+
import org.modelio.metamodel.uml.infrastructure.properties.PropertyDefinition;
25+
import org.modelio.metamodel.uml.infrastructure.properties.PropertyTableDefinition;
26+
import org.modelio.vcore.smkernel.mapi.MObject;
1427

1528
/**
1629
* Proxy class to handle a {@link ModelElement} with << CamelElement >> stereotype.
1730
* <p>Stereotype description:
1831
* <br/><i>null</i></p>
1932
*/
33+
@objid ("e19016d0-0edb-4a41-bbf9-7506c03fcd5e")
2034
public abstract class CamelElement {
35+
@objid ("964c2b57-b246-49a4-8a01-74f39998154c")
2136
public static final String STEREOTYPE_NAME = "CamelElement";
2237

2338
/**
2439
* The underlying {@link ModelElement} represented by this proxy, never null.
2540
*/
41+
@objid ("88b16e10-69ee-4e62-9fa9-221cc5a3bb03")
2642
protected final ModelElement elt;
2743

44+
@objid ("b4081889-062b-45dc-a28e-a01265bd2797")
2845
@Override
2946
public boolean equals(final Object obj) {
3047
if (this == obj) {
@@ -41,50 +58,59 @@ public boolean equals(final Object obj) {
4158
}
4259

4360
/**
44-
* Get the underlying {@link ModelElement}.
45-
*
61+
* Get the underlying {@link ModelElement}.
4662
* @return the ModelElement represented by this proxy, never null.
4763
*/
64+
@objid ("d245244a-9a37-4d59-acab-4d0776d289f7")
4865
public ModelElement getElement() {
4966
return this.elt;
5067
}
5168

52-
public void setName(String name) {
53-
this.elt.setName(name);
69+
@objid ("2f7c6384-2fc6-470d-a102-5e00346eaccf")
70+
@Override
71+
public int hashCode() {
72+
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
5473
}
5574

75+
@objid ("64a4a6f6-2810-4ec9-820b-fa7da2a2e48b")
5676
public String getName() {
5777
return this.elt.getName();
5878
}
5979

60-
@Override
61-
public int hashCode() {
62-
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
80+
@objid ("99b271dc-d774-48f7-b6fe-cf0f6e714315")
81+
public void setName(String name) {
82+
this.elt.setName(name);
6383
}
6484

85+
@objid ("4846bde3-7f9d-40bf-84b3-a5f6f07c227f")
6586
protected CamelElement(final ModelElement elt) {
6687
this.elt = elt;
6788
}
6889

90+
@objid ("1755d7a2-ba56-47fd-b0d2-652ed674f106")
6991
public static final class MdaTypes {
92+
@objid ("d92261d4-4af6-4c5c-80ad-47bfd274e64f")
7093
public static Stereotype STEREOTYPE_ELT;
7194

95+
@objid ("34b51bca-2a09-480d-b12d-fd17a3d26212")
7296
private static Stereotype MDAASSOCDEP;
7397

98+
@objid ("cd6ff2d6-169a-474d-bb85-3f994565db7d")
7499
private static TagType MDAASSOCDEP_ROLE;
75100

101+
@objid ("e402f20e-ece0-4cc6-a9da-788519f8eacc")
76102
public static void init(final IModuleContext ctx) {
77103
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "9aef4bd8-fa92-4231-9295-3eb5a619ceab");
78104
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
79105
MDAASSOCDEP_ROLE = ctx.getModelingSession().findElementById(TagType.class, "7637f2fd-b750-43c1-a15c-5d0b084ca1cd");
80106
}
81107

82108

83-
static {
84-
if(CamelDesignerModule.getInstance() != null) {
85-
init(CamelDesignerModule.getInstance().getModuleContext());
86-
}
87-
}
109+
static {
110+
if(CamelDesignerModule.getInstance() != null) {
111+
init(CamelDesignerModule.getInstance().getModuleContext());
112+
}
113+
}
88114
}
89115

90116
}

src/main/java/fr/softeam/cameldesigner/api/camelcore/infrastructure/modelelement/Feature.java

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/*
22
* WARNING: GENERATED FILE - DO NOT EDIT
3-
* Module: CamelDesigner v1.0.01
3+
* Module: CamelDesigner v1.0.03
44
5-
* This file was generated on 2/12/21 4:24 PM by Modelio Studio.
5+
* This file was generated on 3/29/21 4:01 PM by Modelio Studio.
66
*/
77
package fr.softeam.cameldesigner.api.camelcore.infrastructure.modelelement;
88

9+
import com.modeliosoft.modelio.javadesigner.annotations.objid;
910
import org.modelio.api.module.context.IModuleContext;
1011
import org.modelio.metamodel.uml.infrastructure.ModelElement;
1112
import org.modelio.metamodel.uml.infrastructure.Stereotype;
@@ -22,7 +23,9 @@
2223
* <p>Stereotype description:
2324
* <br/><i>null</i></p>
2425
*/
26+
@objid ("a5eb4aa4-b3c3-4bce-b713-24ce0ac2b84e")
2527
public abstract class Feature extends NamedElement {
28+
@objid ("d6559e79-ace4-4fa2-90bc-e890c3a6b451")
2629
public static final String STEREOTYPE_NAME = "Feature";
2730

2831
/**
@@ -33,6 +36,7 @@ public abstract class Feature extends NamedElement {
3336
* @param elt a model object
3437
* @return <code>true</code> if the instantiation can be carried out else <code>false</code>.
3538
*/
39+
@objid ("5fa7120c-f2b5-427c-a563-f6dc050bc107")
3640
public static boolean canInstantiate(final MObject elt) {
3741
return ((elt instanceof ModelElement) && (
3842
((ModelElement) elt).isStereotyped(ICamelDesignerPeerModule.MODULE_NAME, FeatureClass.STEREOTYPE_NAME) ||
@@ -48,6 +52,7 @@ public static boolean canInstantiate(final MObject elt) {
4852
* @param obj a Class
4953
* @return a {@link FeatureClass} proxy or <i>null</i>.
5054
*/
55+
@objid ("3833b4f3-fe19-4d28-b47b-a536bc8aae03")
5156
public static Feature instantiate(final ModelElement obj) {
5257
if (FeatureClass.canInstantiate(obj)) {
5358
return FeatureClass.instantiate(obj);
@@ -67,6 +72,7 @@ public static Feature instantiate(final ModelElement obj) {
6772
* @param obj a Class
6873
* @return a {@link FeatureClass} proxy or <i>null</i>.
6974
*/
75+
@objid ("1a3fd495-5268-407f-a439-a619cc00e495")
7076
public static Feature safeinstantiate(final ModelElement obj) throws IllegalArgumentException {
7177
if (FeatureClass.canInstantiate(obj)) {
7278
return FeatureClass.instantiate(obj);
@@ -78,6 +84,7 @@ public static Feature safeinstantiate(final ModelElement obj) throws IllegalArgu
7884
throw new IllegalArgumentException("Feature: Cannot instantiate "+obj+": wrong element type or stereotype");
7985
}
8086

87+
@objid ("1a5763fc-1f1d-443b-9c2f-80365e2157b5")
8188
@Override
8289
public boolean equals(final Object obj) {
8390
if (this == obj) {
@@ -95,42 +102,49 @@ public boolean equals(final Object obj) {
95102

96103
/**
97104
* Get the underlying {@link ModelElement}.
98-
*
99105
* @return the ModelElement represented by this proxy, never null.
100106
*/
107+
@objid ("16c8f4a2-779e-4b96-930b-e0c1e49f74fe")
101108
@Override
102109
public ModelElement getElement() {
103110
return (ModelElement)super.getElement();
104111
}
105112

113+
@objid ("c6b02815-6645-4b70-8fdf-b6c541852793")
106114
@Override
107115
public int hashCode() {
108116
return 23 + ((this.elt == null) ? 0 : this.elt.hashCode());
109117
}
110118

119+
@objid ("bea9467e-86bb-41a3-9896-9ee4a9c4a666")
111120
protected Feature(final ModelElement elt) {
112121
super(elt);
113122
}
114123

124+
@objid ("0cb56ef2-b57c-49c0-afb4-c4b5f234e49b")
115125
public static final class MdaTypes {
126+
@objid ("df51bcea-e0c0-4b7f-8b61-503283814d6e")
116127
public static Stereotype STEREOTYPE_ELT;
117128

129+
@objid ("f55438ab-32a1-4b97-8b15-1fcf606c0b51")
118130
private static Stereotype MDAASSOCDEP;
119131

132+
@objid ("0176ed82-bce1-4d1e-bbb9-29301a8d2d65")
120133
private static TagType MDAASSOCDEP_ROLE;
121134

135+
@objid ("fdf8aeb9-fde1-4987-88b9-caa41f97cada")
122136
public static void init(final IModuleContext ctx) {
123137
STEREOTYPE_ELT = ctx.getModelingSession().findElementById(Stereotype.class, "1ff10997-aa56-4f9b-b413-f32fadcc29bb");
124138
MDAASSOCDEP = ctx.getModelingSession().findElementById(Stereotype.class, "94b7efa5-f94c-4d1d-896f-f103e56a8e2e");
125139
MDAASSOCDEP_ROLE = ctx.getModelingSession().findElementById(TagType.class, "7637f2fd-b750-43c1-a15c-5d0b084ca1cd");
126140
}
127141

128142

129-
static {
130-
if(CamelDesignerModule.getInstance() != null) {
131-
init(CamelDesignerModule.getInstance().getModuleContext());
132-
}
133-
}
143+
static {
144+
if(CamelDesignerModule.getInstance() != null) {
145+
init(CamelDesignerModule.getInstance().getModuleContext());
146+
}
147+
}
134148
}
135149

136150
}

0 commit comments

Comments
 (0)