Example usage for com.google.gwt.user.client.ui Label addMouseOverHandler

List of usage examples for com.google.gwt.user.client.ui Label addMouseOverHandler

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui Label addMouseOverHandler.

Prototype

public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) 

Source Link

Usage

From source file:org.ednovo.gooru.client.mvp.assessments.play.collection.info.AssessmentsResourceInfoView.java

License:Open Source License

private void showreadingLevelDetails(List<String> readinglevel) {
    readingLevelType.clear();//from   w w w.  ja v a 2s.  c  o m
    if (readinglevel != null && readinglevel.size() > 0) {
        if (readinglevel.size() == 1) {
            readingLevelLbl.setText(i18n.GL1694().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            readingLevelLbl.getElement().setAttribute("alt", i18n.GL1694());
            readingLevelLbl.getElement().setAttribute("title", i18n.GL1694());
            final Label readingLabel = new Label(" " + readinglevel.get(0));
            readingLabel.getElement().setAttribute("style", "float: left;");
            readingLevelType.add(readingLabel);
            readingLevelPanel.setVisible(true);
        } else if (readinglevel.size() == 2) {
            readingLevelLbl.setText(i18n.GL1694().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            readingLevelLbl.getElement().setAttribute("alt", i18n.GL1694());
            readingLevelLbl.getElement().setAttribute("title", i18n.GL1694());
            final Label readingLabel = new Label(" " + readinglevel.get(0) + "," + readinglevel.get(1));
            readingLabel.getElement().setAttribute("style", "float: left;");
            readingLevelType.add(readingLabel);
            readingLevelPanel.setVisible(true);
        } else if (readinglevel.size() > 2) {
            readingLevelLbl.setText(i18n.GL1694().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            readingLevelLbl.getElement().setAttribute("alt", i18n.GL1694());
            readingLevelLbl.getElement().setAttribute("title", i18n.GL1694());
            final Label readingCountLabel = new Label("+" + (readinglevel.size() - 2));
            readingCountLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
            final Label readingLabelNew = new Label(" " + readinglevel.get(0) + "," + readinglevel.get(1));
            readingLabelNew.getElement().setAttribute("style", "float:left;");
            readingLevelType.add(readingLabelNew);
            readingLevelType.add(readingCountLabel);
            Widget readingwidget = getCommonwidget(readinglevel);
            readingCountLabel.addMouseOverHandler(new MouseOverShowToolTip(readingwidget));
            readingCountLabel.addMouseOutHandler(new MouseOutHideToolTip());
            readingLevelPanel.setVisible(true);
        }
    } else {
        readingLevelPanel.setVisible(false);
    }
}

From source file:org.ednovo.gooru.client.mvp.assessments.play.collection.info.AssessmentsResourceInfoView.java

License:Open Source License

private void setkeywordsDetails(List<String> keywords) {
    keywordsInfo.clear();//  w  w  w  . j  a  v a  2  s  . c o  m
    if (keywords != null && keywords.size() > 0) {
        if (keywords.size() == 1) {
            keywordsTitle.setText(i18n.GL1876().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            keywordsTitle.getElement().setAttribute("alt", i18n.GL1876());
            keywordsTitle.getElement().setAttribute("title", i18n.GL1876());
            final Label keywordLabel = new Label(" " + keywords.get(0));
            keywordLabel.getElement().setAttribute("style", "float: left;");
            keywordsInfo.add(keywordLabel);
            keyWordsPanel.setVisible(true);
        } else if (keywords.size() == 2) {
            keywordsTitle.setText(i18n.GL1876().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            keywordsTitle.getElement().setAttribute("alt", i18n.GL1876());
            keywordsTitle.getElement().setAttribute("title", i18n.GL1876());
            final Label keywordLabel = new Label(" " + keywords.get(0) + "," + keywords.get(1));
            keywordLabel.getElement().setAttribute("style", "float: left;");
            keywordsInfo.add(keywordLabel);
            keyWordsPanel.setVisible(true);
        } else if (keywords.size() > 2) {
            keywordsTitle.setText(i18n.GL1876().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            keywordsTitle.getElement().setAttribute("alt", i18n.GL1876());
            keywordsTitle.getElement().setAttribute("title", i18n.GL1876());
            final Label keywordCountLabel = new Label("+" + (keywords.size() - 2));
            keywordCountLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
            final Label keywordsLabelNew = new Label(" " + keywords.get(0) + "," + keywords.get(1));
            keywordsLabelNew.getElement().setAttribute("style", "float:left;");
            keywordsInfo.add(keywordsLabelNew);
            keywordsInfo.add(keywordCountLabel);
            Widget keywordwidget = getCommonwidget(keywords);
            keywordCountLabel.addMouseOverHandler(new MouseOverShowToolTip(keywordwidget));
            keywordCountLabel.addMouseOutHandler(new MouseOutHideToolTip());
            keyWordsPanel.setVisible(true);
        }
    } else {
        keyWordsPanel.setVisible(false);
    }
}

From source file:org.ednovo.gooru.client.mvp.assessments.play.collection.info.AssessmentsResourceInfoView.java

License:Open Source License

public void setResourceAttribution(String attribution, Set<CodeDo> taxonomoyList) {
    List<String> coursesList = new ArrayList<String>();
    if (taxonomoyList != null && taxonomoyList.size() > 0) {
        Iterator<CodeDo> taxonomyIterator = taxonomoyList.iterator();
        while (taxonomyIterator.hasNext()) {
            CodeDo codeDo = taxonomyIterator.next();
            if (codeDo.getDepth() == 2) {
                coursesList.add(codeDo.getLabel());
            }/*from   w  ww .ja v  a2 s . c om*/
        }
    }
    courseInfo.clear();

    if (coursesList != null && coursesList.size() > 0) {
        if (coursesList.size() == 1) {
            final Label courseInfoLabel = new Label(" " + coursesList.get(0));
            courseInfoLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseLabel());
            courseInfo.add(courseInfoLabel);
            coursePanel.setVisible(true);
        } else if (coursesList.size() > 1) {
            final Label courseInfoLabel = new Label(" " + coursesList.get(0));
            courseInfoLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseLabel());
            final Label courseCountLabel = new Label("+" + (coursesList.size() - 1));
            courseCountLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
            courseInfo.add(courseInfoLabel);
            courseInfo.add(courseCountLabel);
            Widget Coursewidget = getToolTipwidgets(coursesList);
            courseCountLabel.addMouseOverHandler(new MouseOverShowToolTip(Coursewidget));
            courseCountLabel.addMouseOutHandler(new MouseOutHideToolTip());
            coursePanel.setVisible(true);
        }
    } else {

        coursePanel.setVisible(false);
    }

}

From source file:org.ednovo.gooru.client.mvp.assessments.play.collection.info.AssessmentsResourceView.java

License:Open Source License

private HTMLPanel getCourseNames() {
    HTMLPanel cousreContainer = new HTMLPanel("");
    List<String> coursesList = resourceSearchResultDo.getCourseNames();
    if (coursesList != null && coursesList.size() > 0) {
        Label courseName = new Label(coursesList.get(0));
        courseName.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().getCourseTitle());
        cousreContainer.add(courseName);
        if (coursesList.size() > 1) {
            Label courseCount = new Label("+" + (coursesList.size() - 1));
            courseCount.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().getCourseCount());
            cousreContainer.add(courseCount);
            Widget Coursewidget = getToolTipwidgets(coursesList);
            courseCount.addMouseOverHandler(new MouseOverShowToolTip(Coursewidget));
            courseCount.addMouseOutHandler(new MouseOutHideToolTip());
        }/*from   ww w .  j a v  a 2 s  .com*/
        cousreContainer.add(getSeparator());
    }
    return cousreContainer;
}

From source file:org.ednovo.gooru.client.mvp.assessments.play.collection.preview.home.ResourceCurosal.java

License:Open Source License

public ResourceCurosal(Label nextButton, Label previousButton, FlowPanel widgetsPanel, int widgetsCount,
        int widgetWidth, FlowPanel carosualContainer) {
    WIDGET_WIDTH = widgetWidth;//from   w  w  w  .  j  a  v a2s.c om
    this.nextButton = nextButton;
    this.previousButton = previousButton;
    this.widgetsPanel = widgetsPanel;
    this.widgetsCount = widgetsCount;
    this.carosualContainer = carosualContainer;
    setTotalWidth();
    nextButton.addClickHandler(new ShowNextWidgetEvent());
    previousButton.addClickHandler(new ShowPreviousWidgetEvent());
    nextButton.addMouseOverHandler(new ButtonMouseOverEvent(true));
    nextButton.addMouseOutHandler(new ButtonMouseOutEvent(true));
    previousButton.addMouseOverHandler(new ButtonMouseOverEvent(false));
    previousButton.addMouseOutHandler(new ButtonMouseOutEvent(false));
    adjustNextbuttonVisibility(currentMarginLeft);
    adjustPreviousButtonVisibility();
    addWidthCarouselContainer();
    Window.addResizeHandler(new ResizeLogicEvent());
}

From source file:org.ednovo.gooru.client.mvp.classpage.teach.reports.unit.TeachUnitReportChildView.java

License:Open Source License

@Override
public void setAssessmentTableData(ArrayList<PlanProgressDo> userList) {
    boolean isCollection = false;
    String contentView = AppClientFactory.getPlaceManager().getRequestParameter(
            UrlNavigationTokens.TEACHER_CLASSPAGE_CONTENT, UrlNavigationTokens.TEACHER_CLASSPAGE_ASSESSMENT);
    if (contentView.equalsIgnoreCase(UrlNavigationTokens.TEACHER_CLASSPAGE_COLLECTION)) {
        isCollection = true;/*  w w  w.  j  a  v  a 2s  .com*/
    }

    unitTablePanel.clear();
    assessmentTableWidget.getElement().setId("unit-table-report-data-id");
    unitTablePanel.add(assessmentTableWidget);
    unitTablePanel.getElement().setId("courseTableID");
    unitTablePanel.getElement().setClassName("scrollTBL");
    assessmentTableWidget.addStyleName("table table-bordered tableStyle");

    int rowCount = userList.size();

    Label studentNameLbl = new Label("");
    studentNameLbl.setStyleName("");
    studentNameLbl.setWidth("100px");
    assessmentTableWidget.setWidget(0, 1, studentNameLbl);
    assessmentTableWidget.getWidget(0, 1).getElement().getParentElement().getStyle()
            .setBackgroundColor("#f8fafb");

    for (int rowWidgetCount = 0; rowWidgetCount < rowCount; rowWidgetCount++) {
        String color = "#fff";
        if (rowWidgetCount % 2 == 1) {
            color = "#f8fafb";
        }
        int columnWidgetCount = 0;
        if (columnWidgetCount == 0) {
            Anchor studentName = new Anchor(userList.get(rowWidgetCount).getUserName()); //
            studentName.setStyleName("myclasses-mastery-unit-cell-style");
            studentName.addClickHandler(new StudentUnitView(userList.get(rowWidgetCount).getUserName(),
                    userList.get(rowWidgetCount).getUserUId()));
            assessmentTableWidget.setWidget(rowWidgetCount + 2, columnWidgetCount, studentName);
            assessmentTableWidget.getWidget(rowWidgetCount + 2, columnWidgetCount).getElement()
                    .getParentElement().getStyle().setBackgroundColor(color);

            if (rowWidgetCount == 0) {
                HTML studentNameTitle = new HTML("Student");
                assessmentTableWidget.setWidget(rowWidgetCount + 1, columnWidgetCount, studentNameTitle);
                assessmentTableWidget.getWidget(rowWidgetCount + 1, columnWidgetCount).getElement()
                        .getParentElement().getStyle().setBackgroundColor("#f8fafb");
                assessmentTableWidget.getWidget(rowWidgetCount + 1, columnWidgetCount).getElement()
                        .getParentElement().getStyle().setFontWeight(FontWeight.BOLD);
            }
            columnWidgetCount++;
        }
        ArrayList<PlanProgressDo> lessonList = userList.get(rowWidgetCount).getUsageData();
        int lessonCount = lessonList.size();
        for (int lessonWidgetCount = 0; lessonWidgetCount < lessonCount; lessonWidgetCount++) {
            ArrayList<PlanProgressDo> collectionList = lessonList.get(lessonWidgetCount).getUsageData();
            int collectionCount = collectionList.size();
            for (int collectionWidgetCount = 0; collectionWidgetCount < collectionCount; collectionWidgetCount++) {
                if (rowWidgetCount == 0) {
                    String A_STRING = "A";
                    if (isCollection) {
                        A_STRING = "C";
                    }
                    Label scoreLblTitle = new Label(A_STRING + (collectionWidgetCount + 1));
                    scoreLblTitle.setWidth("80px");
                    String type = collectionList.get(collectionWidgetCount).getType();
                    if (type != null && type.equalsIgnoreCase("assessment/url")) {
                        scoreLblTitle
                                .addMouseOverHandler(new MouseOverShowClassCodeToolTip("External Assessment"));
                        scoreLblTitle.addMouseOutHandler(new MouseOutHideToolTip());
                    } else {
                        scoreLblTitle.addStyleName("myclasses-mastery-collection-cell-style");
                        scoreLblTitle.addClickHandler(
                                new CollectionAssessmentView(lessonList.get(lessonWidgetCount).getGooruOId(),
                                        collectionList.get(collectionWidgetCount).getGooruOId(), contentView,
                                        A_STRING + " " + (collectionWidgetCount + 1) + " "
                                                + collectionList.get(collectionWidgetCount).getTitle()));
                    }
                    assessmentTableWidget.setWidget(rowWidgetCount + 1, columnWidgetCount, scoreLblTitle);
                    assessmentTableWidget.getWidget(rowWidgetCount + 1, columnWidgetCount).getElement()
                            .getParentElement().getStyle().setBackgroundColor("#f8fafb");
                    assessmentTableWidget.getWidget(rowWidgetCount + 1, columnWidgetCount).getElement()
                            .getParentElement().getStyle().setFontWeight(FontWeight.BOLD);
                }
                final Label contentLabel = new Label("");
                if (isCollection) {
                    contentLabel.setText(StringUtil
                            .getFormattedDate(collectionList.get(collectionWidgetCount).getTimeSpent(), ""));
                    assessmentTableWidget.setWidget(rowWidgetCount + 2, columnWidgetCount, contentLabel);
                    assessmentTableWidget.getWidget(rowWidgetCount + 2, columnWidgetCount).getElement()
                            .getParentElement().getStyle().setBackgroundColor(color);
                } else {
                    int score = collectionList.get(collectionWidgetCount).getScoreInPercentage();
                    int views = collectionList.get(collectionWidgetCount).getViews();
                    String scoreStr = "--";
                    if (views > 0 && score >= 0) {
                        scoreStr = score + "%";
                    }
                    contentLabel.setText(scoreStr);
                    contentLabel.setWidth("80px");
                    if (!scoreStr.equalsIgnoreCase("--")) {
                        contentLabel.setStyleName("cursorPointer");
                        contentLabel.addClickHandler(
                                new StudentPlaySummary(userList.get(rowWidgetCount).getUserName(),
                                        userList.get(rowWidgetCount).getUserUId(),
                                        lessonList.get(lessonWidgetCount).getGooruOId(),
                                        collectionList.get(collectionWidgetCount).getGooruOId(),
                                        collectionList.get(collectionWidgetCount).getType()));
                    }
                    assessmentTableWidget.setWidget(rowWidgetCount + 2, columnWidgetCount, contentLabel);
                    if (score >= 0 && score <= 100) {
                        if (views > 0) {
                            assessmentTableWidget.getWidget(rowWidgetCount + 2, columnWidgetCount).getElement()
                                    .getParentElement().setClassName(StringUtil.getHighlightStyle(score));
                        } else {
                            assessmentTableWidget.getWidget(rowWidgetCount + 2, columnWidgetCount).getElement()
                                    .getParentElement().getStyle().setBackgroundColor(color);
                        }
                    } else {
                        assessmentTableWidget.getWidget(rowWidgetCount + 2, columnWidgetCount).getElement()
                                .getParentElement().getStyle().setBackgroundColor(color);
                    }
                }
                columnWidgetCount++;
            }
        }
    }
    if (userList != null && userList.size() > 0 && userList.get(0) != null) {
        int lessonSize = userList.get(0).getUsageData().size();

        for (int headerColumnCount = 0; headerColumnCount < lessonSize; headerColumnCount++) {
            int colSpan = 0;
            PlanProgressDo lessonDo = userList.get(0).getUsageData().get(headerColumnCount);
            if (lessonDo.getUsageData().size() > 0) {
                HTML unitName = new HTML("L" + (headerColumnCount + 1) + "&nbsp;" + lessonDo.getTitle());
                unitName.setStyleName("");
                assessmentTableWidget.setWidget(0, headerColumnCount + 1, unitName);
                assessmentTableWidget.getWidget(0, headerColumnCount + 1).getElement().getParentElement()
                        .getStyle().setBackgroundColor("#f8fafb");
                assessmentTableWidget.getWidget(0, headerColumnCount + 1).getElement().getParentElement()
                        .getStyle().setFontWeight(FontWeight.BOLD);
                colSpan = colSpan + lessonDo.getUsageData().size();
                assessmentTableWidget.getFlexCellFormatter().setColSpan(0, (headerColumnCount + 1), colSpan);
            }
        }
    }
}

From source file:org.ednovo.gooru.client.mvp.play.collection.info.ResourceInfoView.java

License:Open Source License

public void setResourceAttribution(String attribution, Set<CodeDo> taxonomoyList) {
    List<String> coursesList = new ArrayList<String>();
    if (taxonomoyList != null) {
        Iterator<CodeDo> taxonomyIterator = taxonomoyList.iterator();
        while (taxonomyIterator.hasNext()) {
            CodeDo codeDo = taxonomyIterator.next();
            if (codeDo.getDepth() == 2) {
                coursesList.add(codeDo.getLabel());
            }/*from w  w  w  .ja  va2s . c om*/
        }

    }
    courseInfo.clear();
    if (coursesList.size() > 0) {
        final Label courseInfoLabel = new Label(coursesList.get(0));
        courseInfoLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseLabel());
        courseInfo.add(courseInfoLabel);
        coursePanel.setVisible(true);
    }
    if (coursesList.size() > 1) {
        final Label courseCountLabel = new Label("+" + (coursesList.size() - 1));
        courseCountLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
        courseInfo.add(courseCountLabel);
        Widget Coursewidget = getToolTipwidgets(coursesList);
        courseCountLabel.addMouseOverHandler(new MouseOverShowToolTip(Coursewidget));
        courseCountLabel.addMouseOutHandler(new MouseOutHideToolTip());
        coursePanel.setVisible(true);

    }
    if (coursesList.size() == 0) {
        /*Label courseInfoLabel=new Label();
        courseInfoLabel.setText(GL0977);
        courseInfo.clear();
        courseInfo.add(courseInfoLabel);*/
        coursePanel.setVisible(false);
    }

}

From source file:org.ednovo.gooru.client.mvp.play.collection.preview.home.ResourceCurosal.java

License:Open Source License

public ResourceCurosal(Label nextButton, Label previousButton, FlowPanel widgetsPanel, int widgetsCount,
        int widgetWidth) {
    WIDGET_WIDTH = widgetWidth;/*w w w. j  a  v a 2 s  .c o m*/
    this.nextButton = nextButton;
    this.previousButton = previousButton;
    this.widgetsPanel = widgetsPanel;
    this.widgetsCount = widgetsCount;
    setTotalWidth();
    nextButton.addClickHandler(new ShowNextWidgetEvent());
    previousButton.addClickHandler(new ShowPreviousWidgetEvent());
    nextButton.addMouseOverHandler(new ButtonMouseOverEvent(true));
    nextButton.addMouseOutHandler(new ButtonMouseOutEvent(true));
    previousButton.addMouseOverHandler(new ButtonMouseOverEvent(false));
    previousButton.addMouseOutHandler(new ButtonMouseOutEvent(false));
    activateNextButton(true);
    activatePreviousButton(false);
}

From source file:org.ednovo.gooru.client.mvp.search.SearchInfoWidget.java

/**
 * //w  ww . j a  v  a 2s  . com
 * @param attribution
 * @param taxonomoyList
 */
public void setResourceAttribution(String attribution, Set<CodeDo> taxonomoyList) {

    coursesList = new ArrayList<String>();
    if (taxonomoyList != null) {
        Iterator<CodeDo> taxonomyIterator = taxonomoyList.iterator();
        while (taxonomyIterator.hasNext()) {
            CodeDo codeDo = taxonomyIterator.next();
            if (codeDo.getDepth() == 2) {
                coursesList.add(codeDo.getLabel());
            }
        }

    }
    courseInfo.clear();
    if (coursesList.size() > 0) {
        isGeneralInfo = true;
        final Label courseInfoLabel = new Label(" " + coursesList.get(0));
        courseInfoLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseLabel());
        courseInfo.add(courseInfoLabel);
        coursePanel.setVisible(true);
    }
    if (coursesList.size() > 1) {
        isGeneralInfo = true;
        final Label courseCountLabel = new Label("+" + (coursesList.size() - 1));
        courseCountLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
        courseInfo.add(courseCountLabel);
        Widget Coursewidget = getToolTipwidgets(coursesList);
        courseCountLabel.addMouseOverHandler(new MouseOverShowToolTip(Coursewidget));
        courseCountLabel.addMouseOutHandler(new MouseOutHideToolTip());
        coursePanel.setVisible(true);

    }
    if (coursesList.size() == 0) {
        coursePanel.setVisible(false);
    }

}

From source file:org.ednovo.gooru.client.mvp.search.SearchInfoWidget.java

private void seteducationaluseDetails(List<String> eduUsedetails) {
    eduUseType.clear();//from   www. j av  a 2  s.co  m
    if (eduUsedetails == null || eduUsedetails.size() == 0 || eduUsedetails.contains(null)
            || eduUsedetails.contains("")) {
        eduUsePanel.setVisible(false);
    } else {
        educationallLbl.setText(i18n.GL1720());
        if (eduUsedetails.size() > 0) {
            isEducationalInfo = true;
            final Label eduUseLabel = new Label(" " + eduUsedetails.get(0));
            eduUseLabel.getElement().setAttribute("style", "float: left;");
            eduUseType.add(eduUseLabel);
            eduUsePanel.setVisible(true);
            educationallLbl.setText(i18n.GL1720());
            educationallLbl.getElement().setAttribute("alt", i18n.GL1720());
            educationallLbl.getElement().setAttribute("title", i18n.GL1720());

            eduUseLbl.setText(i18n.GL1664().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            eduUseLbl.getElement().setAttribute("alt", i18n.GL1664() + " " + i18n.GL_SPL_SEMICOLON() + " ");
            eduUseLbl.getElement().setAttribute("title", i18n.GL1664() + " " + i18n.GL_SPL_SEMICOLON() + " ");
            educationallLbl.setVisible(true);
        }
        if (eduUsedetails.size() > 2) {
            isEducationalInfo = true;
            final Label eduUseLabel = new Label("+" + (eduUsedetails.size() - 2));
            eduUseLabel.setStyleName(PlayerBundle.INSTANCE.getPlayerStyle().resourceCourseNum());
            eduUseType.add(eduUseLabel);
            Widget eduusewidget = getCommonwidget(eduUsedetails);
            eduUseLabel.addMouseOverHandler(new MouseOverShowToolTip(eduusewidget));
            eduUseLabel.addMouseOutHandler(new MouseOutHideToolTip());
            eduUsePanel.setVisible(true);
            educationallLbl.setText(i18n.GL1720());
            educationallLbl.getElement().setAttribute("alt", i18n.GL1720());
            educationallLbl.getElement().setAttribute("title", i18n.GL1720());

            eduUseLbl.setText(i18n.GL1664().trim() + i18n.GL_SPL_SEMICOLON() + " ");
            eduUseLbl.getElement().setAttribute("alt", i18n.GL1664() + " " + i18n.GL_SPL_SEMICOLON() + " ");
            eduUseLbl.getElement().setAttribute("title", i18n.GL1664() + " " + i18n.GL_SPL_SEMICOLON() + " ");
            educationallLbl.setVisible(true);
        }
    }
}