constants.ValidationResults() );
FlexTable errTable = new FlexTable();
errTable.setStyleName( "build-Results" ); //NON-NLS
for (int i = 0; i < result.getLines().size(); i++) {
int row = i;
final BuilderResultLine res = result.getLines().get( i );
errTable.setWidget( row,
0,
new Image( images.error() ) );
if ( res.getAssetFormat().equals( "package" ) ) {
errTable.setText( row,
1,
constants.packageConfigurationProblem() + res.getMessage() );
} else {
errTable.setText( row,
1,
"[" + res.getAssetName() + "] " + res.getMessage() );
}
}
ScrollPanel scroll = new ScrollPanel( errTable );
scroll.setWidth( "100%" );