break;
}
}
} else if ( baseColumn instanceof BRLActionVariableColumn ) {
final BRLActionVariableColumn baseBRLActionColumn = (BRLActionVariableColumn) baseColumn;
final BRLActionColumn brl = model.getBRLColumn( baseBRLActionColumn );
final RuleModel rm = new RuleModel();
IAction[] rhs = new IAction[brl.getDefinition().size()];
brl.getDefinition().toArray( rhs );
rm.rhs = rhs;
final RuleModelPeerVariableVisitor peerVariableVisitor = new RuleModelPeerVariableVisitor( rm,
baseBRLActionColumn.getVarName() );
List<ValueHolder> peerVariables = peerVariableVisitor.getPeerVariables();
//Add other variables values
for ( ValueHolder valueHolder : peerVariables ) {
switch ( valueHolder.getType() ) {
case TEMPLATE_KEY :
if ( sce.isDependentEnum( baseBRLActionColumn.getFactType(),
baseBRLActionColumn.getFactField(),
valueHolder.getFieldName() ) ) {
final BRLActionVariableColumn vc = getActionVariableColumnIndex( brl.getChildColumns(),
valueHolder.getValue() );
final int iCol = model.getExpandedColumns().indexOf( vc );
dependentColumnIndexes.add( iCol );
}
break;