* @see com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent)
*/
@Override
public void onClick( final ClickEvent event )
{
selectionChecker.fireEvent( new SelectionEvent( codonTextArea.getSequence() ) );
FixedCodonSelecterBox.this.hide();
}
} );
cancelButton.addClickHandler( new ClickHandler()
{
/*
* (non-Javadoc)
* @see com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent)
*/
@Override
public void onClick( final ClickEvent event )
{
selectionChecker.fireEvent( new SelectionEvent( null ) );
FixedCodonSelecterBox.this.hide();
}
} );
// Catch selection events: