summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-01-23 10:23:09 (EST)
committerStephan Born2012-04-24 04:29:51 (EDT)
commitc4e63ecc7f7e35a35a240dfa5fb736634be38f28 (patch)
tree64a0b6de625b5640cdba44d130346d74f1141af8
parentd368ebd3902d6638e66542b3c5a2809ffaf50036 (diff)
downloadorg.eclipse.stardust.ide-c4e63ecc7f7e35a35a240dfa5fb736634be38f28.zip
org.eclipse.stardust.ide-c4e63ecc7f7e35a35a240dfa5fb736634be38f28.tar.gz
org.eclipse.stardust.ide-c4e63ecc7f7e35a35a240dfa5fb736634be38f28.tar.bz2
Jira-ID: CRNT-23162 Modify Typed Access Points for target and source doesn't show correct Parameter name and Schema name
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@53069 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.transformation/src/org/eclipse/stardust/modeling/transformation/messaging/modeling/application/transformation/widgets/MessageRenameDialog.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.transformation/src/org/eclipse/stardust/modeling/transformation/messaging/modeling/application/transformation/widgets/MessageRenameDialog.java b/modeling/org.eclipse.stardust.modeling.transformation/src/org/eclipse/stardust/modeling/transformation/messaging/modeling/application/transformation/widgets/MessageRenameDialog.java
index 616409d..e26809e 100644
--- a/modeling/org.eclipse.stardust.modeling.transformation/src/org/eclipse/stardust/modeling/transformation/messaging/modeling/application/transformation/widgets/MessageRenameDialog.java
+++ b/modeling/org.eclipse.stardust.modeling.transformation/src/org/eclipse/stardust/modeling/transformation/messaging/modeling/application/transformation/widgets/MessageRenameDialog.java
@@ -152,7 +152,7 @@ public class MessageRenameDialog extends Dialog implements ModifyListener
messageComboViewer = new ComboViewer(messageCombo);
messageComboViewer.setContentProvider(new ArrayContentProvider());
messageComboViewer.setLabelProvider(new EObjectLabelProvider(wfme));
-
+
parent.getShell().setMinimumSize(300, 150);
parent.getShell().setText(Modeling_Messages.TXT_MODIFY + controller.getNameString());
return comp;
@@ -249,10 +249,11 @@ public class MessageRenameDialog extends Dialog implements ModifyListener
}
else
{
+ String messageTypeType = AttributeUtil.getAttribute(messageType, "carnot:engine:dataType").getValue();
DataTypeType type = currentType.getType();
- if(type.equals(messageType.getType()))
+ if(type.equals(messageType.getType()) && messageTypeType.equals(currentType.getId()))
{
- dataSelection.add(currentType);
+ dataSelection.add(currentType);;
break;
}
}