boundParams,
dmo );
for ( BehaviorDescr behavior : pattern.getBehaviors() ) {
if ( behavior.getText().equals( "window" ) ) {
CEPWindow window = new CEPWindow();
window.setOperator( "over window:" + behavior.getSubType() );
window.setParameter( "org.drools.workbench.models.commons.backend.rule.operatorParameterGenerator",
"org.drools.workbench.models.commons.backend.rule.CEPWindowOperatorParameterDRLBuilder" );
List<String> params = behavior.getParameters();
if ( params != null ) {
int i = 1;
for ( String param : params ) {
window.setParameter( "" + i++, param );
}
}
factPattern.setWindow( window );
}
}