/* (non-Javadoc)
  * @see org.ednovo.gooru.client.mvp.analytics.collectionSummaryTeacher.IsCollectionSummaryTeacherView#setViewResponseData(java.util.ArrayList, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
  */
 @Override
 public void setViewResponseData(
     ArrayList<OetextDataDO> result,
     String resourceGooruId,
     String collectionId,
     String classpageId,
     String pathwayId,
     String questionType,
     String session) {
   popupPanel =
       new ViewResponsesPopup(
           result,
           resourceGooruId,
           collectionId,
           classpageId,
           pathwayId,
           questionType,
           true,
           session,
           new ClasspageItemDo());
   popupPanel.setStyleName(res.css().setOETextPopupCenter());
   if (popupPanel.isShowing()) {
     popupPanel.hide();
     Window.enableScrolling(true);
   } else {
     Window.enableScrolling(false);
     popupPanel.setGlassEnabled(true);
     popupPanel.setAutoHideEnabled(true);
     popupPanel.show();
     popupPanel.center();
   }
 }
Esempio n. 2
0
  /**
   * This method constructs the application user interface by instantiating controls and hooking up
   * event handler.
   */
  public void init() {
    // Inject global styles.
    GWT.<GlobalResources>create(GlobalResources.class).css().ensureInjected();

    // Create the UI defined in Mail.ui.xml.
    DockLayoutPanel outer = binder.createAndBindUi(this);

    // Get rid of scrollbars, and clear out the window's built-in margin,
    // because we want to take advantage of the entire client area.
    Window.enableScrolling(false);
    Window.setMargin("0px");

    // Special-case stuff to make topPanel overhang a bit.
    Element topElem = outer.getWidgetContainerElement(topPanel);
    topElem.getStyle().setZIndex(2);
    topElem.getStyle().setOverflow(Overflow.VISIBLE);

    // Listen for item selection, displaying the currently-selected item in
    // the detail area.
    //    mailList.setListener(new MailList.Listener() {
    //      public void onItemSelected(MailItem item) {
    //        mailDetail.setItem(item);
    //      }
    //    });

    // Add the outer panel to the RootLayoutPanel, so that it will be
    // displayed.

    // MenuMain PRINCIPAL
    RootLayoutPanel.get().add(outer);
  }
 @Override
 public void onReveal() {
   super.onReveal();
   getView().onLoad();
   getView().reset();
   Window.enableScrolling(false);
 }
Esempio n. 4
0
  /** This is the entry point method. */
  @Override
  public void onModuleLoad() {

    FormUtil.setupUncaughtExceptionHandler();

    FormUtil.retrieveUserDivParameters();

    Context.startup();

    // FormDesignerWidget designer = new FormDesignerWidget(true,true,true);

    // Hook the window resize event, so that we can adjust the UI.
    Window.addResizeHandler(this);

    // Get rid of scrollbars, and clear out the window's built-in margin,
    // because we want to take advantage of the entire client area.
    Window.enableScrolling(false);
    Window.setMargin("0px");

    // Different themes use different background colors for the body
    // element, but IE only changes the background of the visible content
    // on the page instead of changing the background color of the entire
    // page. By changing the display style on the body element, we force
    // IE to redraw the background correctly.
    RootPanel.getBodyElement().getStyle().setProperty("display", "none");
    RootPanel.getBodyElement().getStyle().setProperty("display", "");

    // Finally, add the designer widget to the RootPanel, so that it will be
    // displayed.
    RootPanel.get().add(loginView);

    FormUtil.dlg
        .hide(); // Temporary fix This comes from the form designer where it loads and never closes
  }
  public GoogleCalendarPanel(CalendarTaskManager calendarManager) {

    // style this element as absolute position
    DOM.setStyleAttribute(this.getElement(), "position", "absolute");

    calendarTaskManager = calendarManager;

    configureCalendar();
    createDatePickerDialog();

    setHeaderVisible(false);
    setBodyBorder(false);
    setBorders(false);
    setTopComponent(createCalendarToolbar());
    add(calendar);

    // window events to handle resizing
    Window.enableScrolling(false);
    Window.addResizeHandler(
        new ResizeHandler() {
          public void onResize(ResizeEvent event) {
            resizeTimer.schedule(500);
            int h = event.getHeight();
          }
        });
    DeferredCommand.addCommand(
        new Command() {
          public void execute() {
            LayoutContainer center = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);
            calendar.setHeight(center.getHeight() - calendarHeightSize + "px");
          }
        });
  }
 /**
  * @function ClosePopup
  * @created_date : 07-Dec-2014
  * @description
  * @parm(s) :
  * @return : void
  * @throws : <Mentioned if any exceptions>
  */
 public void ClosePopup() {
   Window.enableScrolling(true);
   AppClientFactory.fireEvent(new SetHeaderZIndexEvent(0, true));
   //		panelLoading.setVisible(false);
   panelPleaseWait.setVisible(false);
   hide();
 }
Esempio n. 7
0
 @Override
 public void hide() {
   super.hide();
   for (HandlerRegistration hr : handlerRegistrations) {
     hr.removeHandler();
   }
   Window.enableScrolling(false);
 }
 @Override
 public void onClick(ClickEvent event) {
   hide();
   if (AppClientFactory.getPlaceManager()
           .getCurrentPlaceRequest()
           .getNameToken()
           .equalsIgnoreCase(PlaceTokens.SEARCH_COLLECTION)
       || AppClientFactory.getPlaceManager()
           .getCurrentPlaceRequest()
           .getNameToken()
           .equalsIgnoreCase(PlaceTokens.SEARCH_RESOURCE)) {
     Window.enableScrolling(false);
   } else {
     Window.enableScrolling(true);
   }
   AppClientFactory.fireEvent(new SetHeaderZIndexEvent(0, true));
 }
  public DeleteContentPopup() {
    super(false);
    add(binder.createAndBindUi(this));
    this.setGlassEnabled(true);

    h3Panel.setVisible(false);
    lblRemoving.setVisible(false);
    lblRemoving.getElement().getStyle().setMargin(26, Unit.PX);
    txtConfirmAction.setVisible(false);
    setButtonVisibility(true);
    setElementId();

    txtConfirmAction.addKeyUpHandler(new ValidateConfirmText());
    txtConfirmAction.getElement().getStyle().setColor("#515151");
    txtConfirmAction.addClickHandler(
        new ClickHandler() {

          @Override
          public void onClick(ClickEvent event) {
            if (!txtConfirmAction.getText().isEmpty()) {
              if (txtConfirmAction
                  .getText()
                  .toLowerCase()
                  .equalsIgnoreCase(i18n.GL1175().toLowerCase())) {
                txtConfirmAction.setText("");
                txtConfirmAction.getElement().getStyle().setColor("#000000");
              }
            }
          }
        });

    txtConfirmAction.addBlurHandler(
        new BlurHandler() {

          @Override
          public void onBlur(BlurEvent event) {
            if (txtConfirmAction.getText().isEmpty()) {
              txtConfirmAction.getElement().getStyle().setColor("#515151");
            }
          }
        });
    StringUtil.setAttributes(txtConfirmAction, true);
    btnNegitive.setText(StringUtil.generateMessage(i18n.GL0142()));
    btnNegitive.getElement().setAttribute("alt", StringUtil.generateMessage(i18n.GL0142()));
    btnNegitive.getElement().setAttribute("title", StringUtil.generateMessage(i18n.GL0142()));

    btnPositive.setText(StringUtil.generateMessage(i18n.GL0190()));
    btnPositive.getElement().setAttribute("alt", StringUtil.generateMessage(i18n.GL0190()));
    btnPositive.getElement().setAttribute("title", StringUtil.generateMessage(i18n.GL0190()));

    /*lblDeleteText.setText(i18n.GL2189());
    StringUtil.setAttributes(lblDeleteText.getElement(), "lblDeleteText", null, "lblDeleteText");*/

    Window.enableScrolling(false);
    AppClientFactory.fireEvent(new SetHeaderZIndexEvent(98, false));
    this.center();
  }
Esempio n. 10
0
 @Test
 public void emptyMethods() {
   // Act & Assert
   Window.enableScrolling(true);
   Window.moveBy(1, 2);
   Window.moveTo(3, 4);
   Window.resizeBy(3, 6);
   Window.resizeTo(8, 9);
   Window.scrollTo(2, 4);
 }
Esempio n. 11
0
  public void onModuleLoad() {
    DockLayoutPanel outer = binder.createAndBindUi(this);

    // Get rid of scrollbars, and clear out the window's built-in margin,
    // because we want to take advantage of the entire client area.
    Window.enableScrolling(false);
    Window.setMargin("0px");

    mainRotor.setRotor(myRotor);

    // Add the outer panel to the RootLayoutPanel, so that it will be
    // displayed.
    RootLayoutPanel root = RootLayoutPanel.get();

    root.add(outer);
    root.forceLayout();
    mainRotor.moveBlades();
  }
Esempio n. 12
0
  @Override
  public void onModuleLoad() {
    // Setup the language for localization
    RequestInfo loc = WindowUtils.getRequestInfo();

    // Tries to capture locale parameter
    String lang;
    if (loc.getParameter(Constants.LOCALE) != null
        && !loc.getParameter(Constants.LOCALE).equals("")) {
      lang = loc.getParameter(Constants.LOCALE);
    } else {
      // First we initialize language values
      lang = Util.getBrowserLanguage();
    }
    I18N.setLocale(lang);

    // Get grid of scrollbars, and clear out the window's built-in margin,
    // because we want to take advantage of the entire client area.
    Window.enableScrolling(false);
    Window.setMargin("0px");

    infoService.getInfo(
        I18N.getLocale(),
        new AsyncCallback<GUIInfo>() {
          @Override
          public void onFailure(Throwable error) {
            SC.warn(error.getMessage());
          }

          @Override
          public void onSuccess(GUIInfo info) {
            I18N.init(info);

            WindowUtils.setTitle(
                info.getProductName()
                    + " "
                    + info.getRelease()
                    + (info.getLicensee() != null
                        ? " - " + I18N.message("licensedto") + ": " + info.getLicensee()
                        : ""));
            initGUI(info);
          }
        });
  }
  public InternalServerErrorPopupViewVc() {
    super(false);
    add(binder.createAndBindUi(this));
    this.setGlassEnabled(true);
    Window.enableScrolling(false);
    AppClientFactory.fireEvent(new SetHeaderZIndexEvent(99, false));
    this.getElement().getStyle().setBackgroundColor("transparent");
    setElementId();

    this.center();

    timer =
        new Timer() {
          public void run() {
            // Call API...
          }
        };
    timer.schedule(DELAY_TIME_SECONDS);
  }
  @Override
  public void prepareFromRequest(PlaceRequest request) {
    super.prepareFromRequest(request);
    long startTime = System.currentTimeMillis();
    AppClientFactory.printInfoLogger("Entered into NXT Gen start time -- " + startTime);
    if (AppClientFactory.getPlaceManager().refreshPlace()) {
      clearSlot(TYPE_FOLDERS_SLOT);
      setInSlot(TYPE_FOLDERS_SLOT, partnerLibraryPresenter);
      partnerLibraryPresenter.setPartnerWidget();
      AppClientFactory.printInfoLogger(
          "NXT Gen End time -- " + (System.currentTimeMillis() - startTime));
    }
    if (getPlaceManager().getRequestParameter(CALLBACK) != null
        && getPlaceManager().getRequestParameter(CALLBACK).equalsIgnoreCase("signup")) {
      // To show SignUp (Registration popup)
      if (AppClientFactory.isAnonymous()) {
        Window.enableScrolling(false);
        AppClientFactory.fireEvent(new SetHeaderZIndexEvent(98, false));
        String type = getPlaceManager().getRequestParameter("type");
        int displayScreen =
            getPlaceManager().getRequestParameter("type") != null ? Integer.parseInt(type) : 1;
        signUpViewPresenter.displayPopup(displayScreen);
        addToPopupSlot(signUpViewPresenter);
      }
    }

    int flag = AppClientFactory.getLoggedInUser().getViewFlag();
    final String loginType =
        AppClientFactory.getLoggedInUser().getLoginType() != null
            ? AppClientFactory.getLoggedInUser().getLoginType()
            : "";
    if (!AppClientFactory.isAnonymous() && flag == 0 && !loginType.equalsIgnoreCase("Credential")) {
      AlmostDoneUc update =
          new AlmostDoneUc(
              AppClientFactory.getLoggedInUser().getEmailId(), AppClientFactory.getLoggedInUser());
      update.setGlassEnabled(true);
      update.show();
      update.center();
    }
  }
Esempio n. 15
0
  public iCalCalendarPanel() {

    // style this element as absolute position
    DOM.setStyleAttribute(this.getElement(), "position", "absolute");
    DOM.setStyleAttribute(this.getElement(), "top", "0px");
    DOM.setStyleAttribute(this.getElement(), "left", "0px");
    DOM.setStyleAttribute(this.getElement(), "padding", "0px");

    DOM.setStyleAttribute(DOM.getElementById("messageBox"), "display", "none");

    mainLayoutPanel.setWidth("100%");
    add(mainLayoutPanel);

    // add header
    headerPanel.setStyleName("gwt-cal-HeaderPanel");
    DOM.setInnerHTML(headerPanel.getElement(), "&nbsp;");
    footerPanel.setStyleName("gwt-cal-FooterPanel");
    DOM.setInnerHTML(headerPanel.getElement(), "&nbsp;");
    mainLayoutPanel.add(headerPanel, DockPanel.NORTH);
    mainLayoutPanel.add(footerPanel, DockPanel.SOUTH);

    // add left panel
    datePicker.setValue(new Date());
    dateLayoutPanel.add(datePicker, DockPanel.SOUTH);
    dateLayoutPanel.add(splitterPanel, DockPanel.SOUTH);
    splitterPanel.setStyleName("splitter");
    mainLayoutPanel.add(dateLayoutPanel, DockPanel.WEST);

    // CalendarFormat.INSTANCE.setFirstDayOfWeek(1);

    // change hour offset to false to facilitate iCal style
    settings.setOffsetHourLabels(true);
    settings.setTimeBlockClickNumber(Click.Double);
    // create day view
    calendar = new Calendar();
    calendar.setSettings(settings);
    // set style as google-cal
    calendar.setWidth("100%");
    // set today as default date
    mainLayoutPanel.add(calendar, DockPanel.CENTER);
    mainLayoutPanel.setCellVerticalAlignment(dateLayoutPanel, HasAlignment.ALIGN_BOTTOM);
    dateLayoutPanel.setCellVerticalAlignment(datePicker, HasAlignment.ALIGN_BOTTOM);
    dateLayoutPanel.setWidth("168px");

    // add today button
    todayButton.setStyleName("todayButton");
    todayButton.setText("Today");
    todayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            datePicker.setValue(new Date(), true);
            // dayView.setDate(new Date());
          }
        });
    previousDayButton.setStyleName("previousButton");
    previousDayButton.setHTML("&laquo;");
    previousDayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            Date d = datePicker.getValue();
            d.setDate(d.getDate() - 1);
            datePicker.setValue(d, true);
          }
        });
    nextDayButton.setStyleName("nextButton");
    nextDayButton.setHTML("&raquo;");
    nextDayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            Date d = datePicker.getValue();
            d.setDate(d.getDate() + 1);
            datePicker.setValue(d, true);
          }
        });
    headerPanelLayout.setWidget(0, 0, todayButton);
    headerPanelLayout.setWidget(0, 1, previousDayButton);

    oneDayButton.setText("1 Day");
    oneDayButton.setStyleName("dayButton");
    threeDayButton.setText("3 Day");
    threeDayButton.setStyleName("dayButton");
    threeDayButton.addStyleName("active");
    activeDayButton = threeDayButton;
    weekDayButton.setText("Work Week");
    weekDayButton.setStyleName("dayButton");
    monthButton.setText("Month");
    monthButton.setStyleName("dayButton");
    headerPanelLayout.setWidget(0, 2, oneDayButton);
    headerPanelLayout.setWidget(0, 3, threeDayButton);
    headerPanelLayout.setWidget(0, 4, weekDayButton);
    headerPanelLayout.setWidget(0, 5, monthButton);
    headerPanelLayout.setWidget(0, 6, nextDayButton);
    headerPanelLayout.setHTML(0, 7, "&nbsp;");

    headerPanelLayout.getCellFormatter().setWidth(0, 0, "50%");
    headerPanelLayout.getCellFormatter().setWidth(0, 7, "50%");

    headerPanelLayout.setWidth("100%");
    headerPanelLayout.setCellPadding(0);
    headerPanelLayout.setCellSpacing(0);
    headerPanel.add(headerPanelLayout);

    footerPanel.add(
        new HTML(
            "<a href='http://code.google.com/p/gwt-cal'>gwt-cal</a> widget for Google Web Toolkit, GPLv3, by <a href='http://www.google.com/profiles/Brad.Rydzewski'>Brad Rydzewski</a>"));

    oneDayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            activeDayButton.removeStyleName("active");
            activeDayButton = oneDayButton;
            activeDayButton.addStyleName("active");
            calendar.setView(CalendarViews.DAY, 1);
            // calendar.scrollToHour(6);
          }
        });
    threeDayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            activeDayButton.removeStyleName("active");
            activeDayButton = threeDayButton;
            activeDayButton.addStyleName("active");
            calendar.setView(CalendarViews.DAY, 3);
            // calendar.scrollToHour(6);
          }
        });
    weekDayButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            activeDayButton.removeStyleName("active");
            activeDayButton = weekDayButton;
            activeDayButton.addStyleName("active");
            calendar.setView(CalendarViews.DAY, 5);
            // calendar.scrollToHour(6);
          }
        });
    monthButton.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            activeDayButton.removeStyleName("active");
            activeDayButton = monthButton;
            activeDayButton.addStyleName("active");
            calendar.setView(CalendarViews.MONTH);
          }
        });

    datePicker.addValueChangeHandler(
        new ValueChangeHandler<Date>() {
          public void onValueChange(ValueChangeEvent<Date> event) {
            calendar.setDate(event.getValue());
          }
        });
    calendar.addDeleteHandler(
        new DeleteHandler<Appointment>() {
          public void onDelete(DeleteEvent<Appointment> event) {
            boolean commit =
                Window.confirm(
                    "Are you sure you want to delete appointment \""
                        + event.getTarget().getTitle()
                        + "\"");
            if (commit == false) {
              event.setCancelled(true);
              System.out.println("cancelled appointment deletion");
            }
          }
        });
    calendar.addOpenHandler(
        new OpenHandler<Appointment>() {
          public void onOpen(OpenEvent<Appointment> event) {
            Window.alert("You double-clicked appointment \"" + event.getTarget().getTitle() + "\"");
          }
        });

    calendar.addSelectionHandler(
        new SelectionHandler<Appointment>() {
          public void onSelection(SelectionEvent<Appointment> event) {
            System.out.println("selected " + event.getSelectedItem().getTitle());
          }
        });

    calendar.addTimeBlockClickHandler(
        new TimeBlockClickHandler<Date>() {
          public void onTimeBlockClick(TimeBlockClickEvent<Date> event) {
            Window.alert("you clicked time block " + event.getTarget());
          }
        });

    /* Generate random appointments */
    AppointmentBuilder.appointmentsPerDay = 5;
    AppointmentBuilder.HOURS = new Integer[] {7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};
    AppointmentBuilder.MINUTES = new Integer[] {0, 30};
    AppointmentBuilder.DURATIONS = new Integer[] {60, 90, 120, 180, 240, 600};
    AppointmentBuilder.DESCRIPTIONS[1] = "Best show on TV!";

    ArrayList<Appointment> appointments = AppointmentBuilder.build(AppointmentBuilder.ICAL_STYLES);
    /* Add appointments to day view */
    calendar.suspendLayout();
    calendar.addAppointments(appointments);

    calendar.resumeLayout();

    // window events to handle resizing
    Window.enableScrolling(false);
    Window.addResizeHandler(
        new ResizeHandler() {
          public void onResize(ResizeEvent event) {
            int h = event.getHeight();
            calendar.setHeight(
                h - headerPanel.getOffsetHeight() - footerPanel.getOffsetHeight() + "px");
          }
        });
    Scheduler.get()
        .scheduleDeferred(
            new ScheduledCommand() {
              public void execute() {
                calendar.setHeight(
                    Window.getClientHeight()
                        - headerPanel.getOffsetHeight()
                        - footerPanel.getOffsetHeight()
                        + "px");
                calendar.scrollToHour(6);
              }
            });
  }
 /** @param event */
 @UiHandler("closeBtn")
 public void onColseButtonClicked(ClickEvent event) {
   hide();
   Window.enableScrolling(true);
 }
  public NewClasspagePopupView() {

    this.res = NewClasspagePopupCBundle.INSTANCE;
    res.css().ensureInjected();
    setWidget(uiBinder.createAndBindUi(this));
    // this.getElement().getStyle().setWidth(450,Unit.PX);
    btnCancel.addClickHandler(new CloseExistsClickHandler());
    btnAdd.addClickHandler(new AddExistsClickHandler());
    classpageTitleTxt.getElement().setAttribute("placeholder", i18n.GL1124());
    classpageTitleTxt.getElement().setAttribute("maxlength", "50");
    classpageTitleTxt.getElement().setId("txtClassPageTitle");
    StringUtil.setAttributes(classpageTitleTxt, true);
    bodyConatiner.getElement().getStyle().setPadding(15, Unit.PX);
    titlePanel.getElement().getStyle().setMarginBottom(10, Unit.PX);

    btnAdd.getElement().setId("btnAdd");
    btnAdd.setText(i18n.GL0745());
    btnAdd.getElement().setAttribute("alt", i18n.GL0745());
    btnAdd.getElement().setAttribute("title", i18n.GL0745());

    btnCancel.setText(i18n.GL0142());
    btnCancel.getElement().setId("btnCancel");
    btnCancel.getElement().setAttribute("alt", i18n.GL0142());
    btnCancel.getElement().setAttribute("title", i18n.GL0142());

    titlePanel.getElement().setInnerText(i18n.GL0318());
    titlePanel.getElement().setId("pnlTitle");
    titlePanel.getElement().setAttribute("alt", i18n.GL0318());
    titlePanel.getElement().setAttribute("title", i18n.GL0318());

    headerPanel.getElement().setInnerText(i18n.GL0747());
    headerPanel.getElement().setId("pnlHeader");
    headerPanel.getElement().setAttribute("alt", i18n.GL0747());
    headerPanel.getElement().setAttribute("title", i18n.GL0747());
    mandatoryClasspageTitleLbl.setText(i18n.GL0746());
    mandatoryClasspageTitleLbl.getElement().setId("lblMandatoryClasspageTitle");
    mandatoryClasspageTitleLbl.getElement().setAttribute("alt", i18n.GL0746());
    mandatoryClasspageTitleLbl.getElement().setAttribute("title", i18n.GL0746());

    classpageTitleTxt.addBlurHandler(
        new BlurHandler() {

          @Override
          public void onBlur(BlurEvent event) {
            Map<String, String> parms = new HashMap<String, String>();
            parms.put("text", classpageTitleTxt.getText());
            AppClientFactory.getInjector()
                .getResourceService()
                .checkProfanity(
                    parms,
                    new SimpleAsyncCallback<Boolean>() {

                      @Override
                      public void onSuccess(Boolean value) {
                        boolean isHavingBadWords = value;
                        if (value) {
                          classpageTitleTxt.getElement().getStyle().setBorderColor("orange");
                          mandatoryClasspageTitleLbl.setText(i18n.GL0554());
                          mandatoryClasspageTitleLbl.setVisible(true);
                        } else {
                          classpageTitleTxt.getElement().getStyle().clearBackgroundColor();
                          classpageTitleTxt.getElement().getStyle().setBorderColor("#ccc");
                          mandatoryClasspageTitleLbl.setVisible(false);
                        }
                      }
                    });
          }
        });

    classpageTitleTxt.addKeyUpHandler(new TitleKeyUpHandler());
    setModal(true);
    Window.enableScrolling(false);
    AppClientFactory.fireEvent(new SetHeaderZIndexEvent(98, false));
    mandatoryClasspageTitleLbl.setVisible(false);
    //		panelLoading.setVisible(false);
    panelPleaseWait.setVisible(false);
    panelLoading.setText(i18n.GL0122());
    panelControls.setVisible(true);
    show();
    center();
    classpageTitleTxt.setFocus(true);
    panelLoading.getElement().setId("pnlLoading");
    panelControls.getElement().setId("pnlControls");
  }