Java 类ims.emergency.vo.UserAssessmentForWhiteboardConfigVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateAssessmentQueryCombo(String value)
{
    form.qmbAssessment().clear();

    UserAssessmentForWhiteboardConfigVoCollection coll = domain.listAssessments(value);

    for (int i = 0; i < coll.size(); i++)
    {
        UserAssessmentForWhiteboardConfigVo userAssess = coll.get(i);
        form.qmbAssessment().newRow(userAssess, userAssess.getName().toString());
    }
    if (coll.size() == 1)
    {
        form.qmbAssessment().setValue(coll.get(0));
    }
    else if (coll.size() > 1)
    {
        form.qmbAssessment().showOpened();
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateAssessmentQueryCombo(String value)
{
    form.qmbAssessment().clear();

    UserAssessmentForWhiteboardConfigVoCollection coll = domain.listAssessments(value);

    for (int i = 0; i < coll.size(); i++)
    {
        UserAssessmentForWhiteboardConfigVo userAssess = coll.get(i);
        form.qmbAssessment().newRow(userAssess, userAssess.getName().toString());
    }
    if (coll.size() == 1)
    {
        form.qmbAssessment().setValue(coll.get(0));
    }
    else if (coll.size() > 1)
    {
        form.qmbAssessment().showOpened();
    }

    form.txtName().setValue(form.qmbAssessment().getValue()!=null ? form.qmbAssessment().getValue().getName() : null);
}
项目:openMAXIMS    文件:Logic.java   
private void populateAssessmentQueryCombo(String value)
{
    form.qmbAssessment().clear();

    UserAssessmentForWhiteboardConfigVoCollection coll = domain.listAssessments(value);

    for (int i = 0; i < coll.size(); i++)
    {
        UserAssessmentForWhiteboardConfigVo userAssess = coll.get(i);
        form.qmbAssessment().newRow(userAssess, userAssess.getName().toString());
    }
    if (coll.size() == 1)
    {
        form.qmbAssessment().setValue(coll.get(0));
    }
    else if (coll.size() > 1)
    {
        form.qmbAssessment().showOpened();
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populateAssessmentQueryCombo(String value)
{
    form.qmbAssessment().clear();

    UserAssessmentForWhiteboardConfigVoCollection coll = domain.listAssessments(value);

    for (int i = 0; i < coll.size(); i++)
    {
        UserAssessmentForWhiteboardConfigVo userAssess = coll.get(i);
        form.qmbAssessment().newRow(userAssess, userAssess.getName().toString());
    }
    if (coll.size() == 1)
    {
        form.qmbAssessment().setValue(coll.get(0));
    }
    else if (coll.size() > 1)
    {
        form.qmbAssessment().showOpened();
    }

}