Author: Grid.Qian
Date: 2009-12-22 21:46:13 -0500 (Tue, 22 Dec 2009)
New Revision: 19543
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/VariablePartAssignCategory.java
Log:
JBIDE-5453: When initializer is created, it appears to be selected but its text is not
displayed
Modified:
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/VariablePartAssignCategory.java
===================================================================
---
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/VariablePartAssignCategory.java 2009-12-22
17:58:18 UTC (rev 19542)
+++
trunk/bpel/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/VariablePartAssignCategory.java 2009-12-23
02:46:13 UTC (rev 19543)
@@ -587,10 +587,6 @@
Copy copy = BPELFactory.eINSTANCE.createCopy();
Assign a = (Assign) ((To) side.getCopyRuleSide()).getContainer()
.getContainer();
- getCommandFramework()
- .execute(
- wrapInShowContextCommand(new InsertCopyCommand(a,
- copy, 0)));
To to = BPELFactory.eINSTANCE.createTo();
From from = BPELFactory.eINSTANCE.createFrom();
copy.setFrom(from);
@@ -598,6 +594,10 @@
from.setLiteral(literal);
to.setVariable(side.getVariable());
to.setPart(side.getPart());
+ getCommandFramework()
+ .execute(
+ wrapInShowContextCommand(new InsertCopyCommand(a,
+ copy, 0)));
} catch (Exception e) {
throw new IllegalStateException(
"Can't generate initializer, check WSDL file");
Show replies by date