ClickHandler btnsClickHandler = new ClickHandler() {
public void onClick( ClickEvent event ) {
Widget sender = (Widget) event.getSource();
if ( sender == fromBtn ) {
getFromAccumulatePattern().setSourcePattern( new FromCompositeFactPattern() );
} else if ( sender == fromAccumulateBtn ) {
getFromAccumulatePattern().setSourcePattern( new FromAccumulateCompositeFactPattern() );
} else if ( sender == fromCollectBtn ) {
getFromAccumulatePattern().setSourcePattern( new FromCollectCompositeFactPattern() );
} else if ( sender == fromEntryPointBtn ) {