} else {
/*
* if the call method is applied on a bound variable created in the rhs
*/
final ActionInsertFact patternRhs = mod.getModel().getRHSBoundFact( actionCallMethod.getVariable() );
if ( patternRhs != null ) {
oracle.getMethodInfos( patternRhs.getFactType(),
new Callback<List<MethodInfo>>() {
@Override
public void callback( final List<MethodInfo> methodInfos ) {
ActionCallMethodWidget.this.fieldCompletionTexts = new String[ methodInfos.size() ];
ActionCallMethodWidget.this.fieldCompletionValues = new String[ methodInfos.size() ];
int i = 0;
for ( MethodInfo methodInfo : methodInfos ) {
ActionCallMethodWidget.this.fieldCompletionTexts[ i ] = methodInfo.getName();
ActionCallMethodWidget.this.fieldCompletionValues[ i ] = methodInfo.getNameWithParameters();
i++;
}
ActionCallMethodWidget.this.variableClass = patternRhs.getFactType();
ActionCallMethodWidget.this.isBoundFact = true;
}
} );
} else {
this.readOnly = true;