popup.show();
}
protected Widget addRemoveButton( Widget w,
ClickHandler listener ) {
DirtyableHorizontalPane horiz = new DirtyableHorizontalPane();
final Image remove = GuidedRuleEditorImages508.INSTANCE.DeleteItemSmall();
remove.setAltText( Constants.INSTANCE.RemoveThisBlockOfData() );
remove.setTitle( Constants.INSTANCE.RemoveThisBlockOfData() );
remove.addClickHandler( listener );
horiz.setWidth( "100%" );
w.setWidth( "100%" );
horiz.add( w );
if ( !this.readOnly ) {
horiz.add( remove );
}
return horiz;
}