Example #1
0
  private void initialize() {
    this.container = new VerticalPanel();
    container.setWidth("100%");
    //noinspection GWTStyleCheck
    this.container.addStyleName("rhea-RheaViewer");

    String msg = "Loading the Rhea structure. Please wait...";
    container.add(getMessage(Images.INSTANCE.getLoadingImage(), msg));
    initWidget(container);
  }
Example #2
0
 private void showErrorMessage(String msg) {
   this.container.clear();
   this.container.add(getMessage(Images.INSTANCE.getAlertImage(), msg));
   fireEvent(new ReactionStructureNotAvailableEvent());
 }