Fix compile error
diff --git a/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java b/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
index 8832c9b..e6b92f6 100644
--- a/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
+++ b/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
@@ -130,8 +130,9 @@
 			caproc.setModelObject( eObj );
 		}
 
-		String expressionContext = (String) input.getAdapter(Integer.class);
-		if (expressionContext != null) {
+		Integer value = input.getAdapter(Integer.class);
+		if (value != null) {
+			String expressionContext = value.toString();
 			caproc.setExpressionContext(expressionContext);
 			//
 			if (this.fVariablePickerAction != null) {