if ( sender == fromBtn ) {
getFromCollectPattern().setRightPattern( new FromCompositeFactPattern() );
} else if ( sender == fromAccumulateBtn ) {
getFromCollectPattern().setRightPattern( new FromAccumulateCompositeFactPattern() );
} else if ( sender == fromCollectBtn ) {
getFromCollectPattern().setRightPattern( new FromCollectCompositeFactPattern() );
} else if ( sender == freeFormDRLBtn ) {
getFromCollectPattern().setRightPattern( new FreeFormLine() );
} else if ( sender == fromEntryPointBtn ) {
getFromCollectPattern().setRightPattern( new FromEntryPointFactPattern() );
} else {