summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-02-21 05:13:09 (EST)
committerStephan Born2012-04-24 10:13:02 (EDT)
commitc8660cc4ed59752598f19a6e25b924e8a85ba960 (patch)
treec2e2100bd01501427c93dccdb29ae8346cba664c
parentae1fe38aa872bc1e5973e333cb898f43a70826c0 (diff)
downloadorg.eclipse.stardust.ide-c8660cc4ed59752598f19a6e25b924e8a85ba960.zip
org.eclipse.stardust.ide-c8660cc4ed59752598f19a6e25b924e8a85ba960.tar.gz
org.eclipse.stardust.ide-c8660cc4ed59752598f19a6e25b924e8a85ba960.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@53933 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.java17
1 files changed, 16 insertions, 1 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 fb9dd90..476f706 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
@@ -260,7 +260,7 @@ public class MessageRenameDialog extends Dialog implements ModifyListener
}
messageComboViewer.setSelection(new StructuredSelection(dataSelection));
- messageNameText.setSelection(0, messageNameText.getText().length());
+ messageNameText.setSelection(0, messageNameText.getText().length());
}
protected void buttonEnablement()
@@ -282,6 +282,21 @@ public class MessageRenameDialog extends Dialog implements ModifyListener
initCombos();
}
+ protected Control createContents(Composite parent)
+ {
+ Control control = super.createContents(parent);
+ if(isSource)
+ {
+ messageType = controller.getSelectedSourceField();
+ }
+ else
+ {
+ messageType = controller.getSelectedTargetField();
+ }
+ messageNameText.setText(messageType.getId());
+ return control;
+ }
+
protected void buttonPressed(int buttonId)
{
if(buttonId == IDialogConstants.OK_ID)