Skip to content

Commit cb54cdf

Browse files
committed
Children classes of TEntityTypePropertyPage were not calling the
parent's changeProperty method when setting values for properties defined in TEntityType
1 parent 80ff3f1 commit cb54cdf

File tree

4 files changed

+3
-0
lines changed

4 files changed

+3
-0
lines changed

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/handlers/propertypages/core/TEntityTypePropertyPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public TEntityTypePropertyPage(T elt) {
2020
@objid ("5ff8c89a-8557-48ed-82bd-40fdb5f2f6fa")
2121
@Override
2222
public void changeProperty(int row, String value) {
23+
super.changeProperty(row, value);
2324
switch (row) {
2425
case 1:
2526
this._element.getElement().setName(value);

ToscaDesigner/src/main/java/fr/softeam/toscadesigner/handlers/propertypages/serviceTemplate/TRelationshipTypePropertyPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public TRelationshipTypePropertyPage(T elt) {
2121
@objid ("ed7b67d1-80c3-44e9-a7a8-1d487c6cda01")
2222
@Override
2323
public void changeProperty(int row, String value) {
24+
super.changeProperty(row, value);
25+
2426
switch (row) {
2527
case 1:
2628
this._element.getElement().setName(value);
78 Bytes
Binary file not shown.
37 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)