Messages.getString( "softwareUpdates" ), Messages.getString( "noUpdatesAvailable" ), false, false, true ); //$NON-NLS-1$ //$NON-NLS-2$
dialogBox.center();
}
public void onResponseReceived( Request request, Response response ) {
Document doc = XMLParser.parse( response.getText() );
NodeList updates = doc.getElementsByTagName( "update" ); //$NON-NLS-1$
if ( updates.getLength() > 0 ) {
FlexTable updateTable = new FlexTable();
updateTable.setStyleName( "backgroundContentTable" ); //$NON-NLS-1$
updateTable.setWidget( 0, 0, new Label( Messages.getString( "version" ) ) ); //$NON-NLS-1$
updateTable.setWidget( 0, 1, new Label( Messages.getString( "type" ) ) ); //$NON-NLS-1$