m.addRhsItem( action ); if ( factsType.containsKey( fact ) ) { action.setBoundName( fact ); addSettersToAction( setStatements, fact, action, isJavaDialect );
public void onClick( ClickEvent event ) { String var = varName.getText(); if ( getModeller().isVariableNameUsed( var ) && ( ( model.getBoundName() != null && model.getBoundName().equals( var ) == false ) || model.getBoundName() == null ) ) { Window.alert( Constants.INSTANCE.TheVariableName0IsAlreadyTaken( var ) ); return; } model.setBoundName( var ); setModified( true ); getModeller().refreshWidget(); popup.hide(); } } );
private ActionInsertFact visitActionFieldList( ActionInsertFact afl ) { ActionInsertFact clone = new ActionInsertFact(); clone.setFactType( afl.getFactType() ); clone.setBoundName( afl.getBoundName() ); for ( ActionFieldValue afv : afl.getFieldValues() ) { ActionFieldValue afvClone = new ActionFieldValue(); afvClone.setField( afv.getField() ); afvClone.setNature( afv.getNature() ); afvClone.setType( afv.getType() ); afvClone.setValue( afv.getValue() ); clone.addFieldValue( afvClone ); } return clone; }
aif.setBoundName( "$r" ); aif.setFactType( "Results" ); ActionWorkItemFieldValue fv1 = new ActionWorkItemFieldValue( "ResultsBooleanResult",
aif.setBoundName( "$aif" ); aif.addFieldValue( new ActionFieldValue( "rating", null,
aif1.setBoundName( "$aif" ); aif1.addFieldValue( new ActionFieldValue( "rating", null, aif2.setBoundName( "$aif" ); aif2.addFieldValue( new ActionFieldValue( "rating", null,
aif.setBoundName( "$aif" ); aif.addFieldValue( new ActionFieldValue( "rating", null,
aif.setBoundName( "$aif" ); aif.addFieldValue( new ActionFieldValue( "rating", null,