예제 #1
0
  public LessonsComposite() {
    initWidget(uiBinder.createAndBindUi(this));
    setWidth("100%");
    setHeight(Window.getClientHeight() + "px");

    lessonTreeTitle.getElement().getStyle().setFontSize(16, Style.Unit.PX);
    lessonPanel.setLessonsMap(lessonViewNameToWidgetMap);
    getAllTreeLessons();
    initLessonTree();
  }
예제 #2
0
 private void displayError(String error) {
   errorMsgLabel.setText("Error: " + error);
   errorMsgLabel.setVisible(true);
 }