Java 类ims.core.vo.VertebrallevelVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void loadCombos()
{
    // Level of Injury
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);
    VertebrallevelVo voVertebralItem = null;

    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        form.cmbLevelofInjury().newRow(voVertebralItem, voVertebralItem.getName());
    }

    // Mode of Injury
    InjuryClassModeofInjuryCollection injuryColl = LookupHelper.getInjuryClassModeofInjury(domain.getLookupService());
    TreeNode[] rootNodes = injuryColl.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            InjuryClassModeofInjury lkParent = (InjuryClassModeofInjury) rootNodes[i];
            if (lkParent.isActive())
                form.cmbModeofInjury().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void initializeCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection listVertebralLevelsCollection = domain.listVertebralLevels();

    for (int i = 0; i < listVertebralLevelsCollection.size(); i++)
    {
        VertebrallevelVo vertebraLlevel = listVertebralLevelsCollection.get(i);

        if (vertebraLlevel == null)
            continue;

        form.cmbMotorLeft().newRow(vertebraLlevel, vertebraLlevel.getName());
        form.cmbMotorRight().newRow(vertebraLlevel, vertebraLlevel.getName());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void listVertebral() 
    {
        form.grdLevel().setValue(null);

        form.grdLevel().getRows().clear();
        VertebrallevelVoCollection voCollVertebral  = domain.listVertebralLevel(new Boolean(form.chkActiveOnly().getValue()));
        VertebrallevelVo voVertebralItem;
        GenForm.grdLevelRow row = null;
        for(int i=0;i<voCollVertebral.size();i++)
        {
            voVertebralItem = voCollVertebral.get(i);
            row = form.grdLevel().getRows().newRow();

            row.setcolActive(voVertebralItem.getIsActive().booleanValue());
            row.setcolDescription(voVertebralItem.getDescription());
            row.setcolLevel(voVertebralItem.getName());
            //WDEV-3158 
            row.setcolLevelReadOnly(true);
            // WDEV - 7007
//          row.setcolLowerLimb(voVertebralItem.getIsLLAsiaScore().booleanValue());
//          row.setcolUpperLimb(voVertebralItem.getIsULAsiaScore().booleanValue());
            row.setValue(voVertebralItem);
        }       
    }
项目:AvoinApotti    文件:Logic.java   
private void loadVertebralGrid() 
{
    VertebrallevelVoCollection vertColl = new VertebrallevelVoCollection();
    //vertColl = form.getLocalContext().getVertebrallevelCollection();
    vertColl = domain.listVertebralLevels();
    form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().clear();
    if (vertColl != null)
    {
        for (int i = 0 ; i < vertColl.size() ; i++)
        {
            GenForm.lyrTabsLayer.tabMuscleEditContainer.grdVertrebralLevelsRow row = form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().newRow();
            row.setValue(vertColl.get(i));
            row.setVertCol(vertColl.get(i).getName());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void loadCombos()
{
    // Level of Injury
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);
    VertebrallevelVo voVertebralItem = null;

    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        form.cmbLevelofInjury().newRow(voVertebralItem, voVertebralItem.getName());
    }

    // Mode of Injury
    InjuryClassModeofInjuryCollection injuryColl = LookupHelper.getInjuryClassModeofInjury(domain.getLookupService());
    TreeNode[] rootNodes = injuryColl.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            InjuryClassModeofInjury lkParent = (InjuryClassModeofInjury) rootNodes[i];
            if (lkParent.isActive())
                form.cmbModeofInjury().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initializeCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection listVertebralLevelsCollection = domain.listVertebralLevels();

    for (int i = 0; i < listVertebralLevelsCollection.size(); i++)
    {
        VertebrallevelVo vertebraLlevel = listVertebralLevelsCollection.get(i);

        if (vertebraLlevel == null)
            continue;

        form.cmbMotorLeft().newRow(vertebraLlevel, vertebraLlevel.getName());
        form.cmbMotorRight().newRow(vertebraLlevel, vertebraLlevel.getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void listVertebral() 
    {
        form.grdLevel().setValue(null);

        form.grdLevel().getRows().clear();
        VertebrallevelVoCollection voCollVertebral  = domain.listVertebralLevel(new Boolean(form.chkActiveOnly().getValue()));
        VertebrallevelVo voVertebralItem;
        GenForm.grdLevelRow row = null;
        for(int i=0;i<voCollVertebral.size();i++)
        {
            voVertebralItem = voCollVertebral.get(i);
            row = form.grdLevel().getRows().newRow();

            row.setcolActive(voVertebralItem.getIsActive().booleanValue());
            row.setcolDescription(voVertebralItem.getDescription());
            row.setcolLevel(voVertebralItem.getName());
            //WDEV-3158 
            row.setcolLevelReadOnly(true);
            // WDEV - 7007
//          row.setcolLowerLimb(voVertebralItem.getIsLLAsiaScore().booleanValue());
//          row.setcolUpperLimb(voVertebralItem.getIsULAsiaScore().booleanValue());
            row.setValue(voVertebralItem);
        }       
    }
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralGrid() 
{
    VertebrallevelVoCollection vertColl = new VertebrallevelVoCollection();
    //vertColl = form.getLocalContext().getVertebrallevelCollection();
    vertColl = domain.listVertebralLevels();
    form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().clear();
    if (vertColl != null)
    {
        for (int i = 0 ; i < vertColl.size() ; i++)
        {
            GenForm.lyrTabsLayer.tabMuscleEditContainer.grdVertrebralLevelsRow row = form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().newRow();
            row.setValue(vertColl.get(i));
            row.setVertCol(vertColl.get(i).getName());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void loadCombos()
{
    // Level of Injury
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);
    VertebrallevelVo voVertebralItem = null;

    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        form.cmbLevelofInjury().newRow(voVertebralItem, voVertebralItem.getName());
    }

    // Mode of Injury
    InjuryClassModeofInjuryCollection injuryColl = LookupHelper.getInjuryClassModeofInjury(domain.getLookupService());
    TreeNode[] rootNodes = injuryColl.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            InjuryClassModeofInjury lkParent = (InjuryClassModeofInjury) rootNodes[i];
            if (lkParent.isActive())
                form.cmbModeofInjury().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void initializeCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection listVertebralLevelsCollection = domain.listVertebralLevels();

    for (int i = 0; i < listVertebralLevelsCollection.size(); i++)
    {
        VertebrallevelVo vertebraLlevel = listVertebralLevelsCollection.get(i);

        if (vertebraLlevel == null)
            continue;

        form.cmbMotorLeft().newRow(vertebraLlevel, vertebraLlevel.getName());
        form.cmbMotorRight().newRow(vertebraLlevel, vertebraLlevel.getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void listVertebral() 
    {
        form.grdLevel().setValue(null);

        form.grdLevel().getRows().clear();
        VertebrallevelVoCollection voCollVertebral  = domain.listVertebralLevel(new Boolean(form.chkActiveOnly().getValue()));
        VertebrallevelVo voVertebralItem;
        GenForm.grdLevelRow row = null;
        for(int i=0;i<voCollVertebral.size();i++)
        {
            voVertebralItem = voCollVertebral.get(i);
            row = form.grdLevel().getRows().newRow();

            row.setcolActive(voVertebralItem.getIsActive().booleanValue());
            row.setcolDescription(voVertebralItem.getDescription());
            row.setcolLevel(voVertebralItem.getName());
            //WDEV-3158 
            row.setcolLevelReadOnly(true);
            // WDEV - 7007
//          row.setcolLowerLimb(voVertebralItem.getIsLLAsiaScore().booleanValue());
//          row.setcolUpperLimb(voVertebralItem.getIsULAsiaScore().booleanValue());
            row.setValue(voVertebralItem);
        }       
    }
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralGrid() 
{
    VertebrallevelVoCollection vertColl = new VertebrallevelVoCollection();
    //vertColl = form.getLocalContext().getVertebrallevelCollection();
    vertColl = domain.listVertebralLevels();
    form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().clear();
    if (vertColl != null)
    {
        for (int i = 0 ; i < vertColl.size() ; i++)
        {
            GenForm.lyrTabsLayer.tabMuscleEditContainer.grdVertrebralLevelsRow row = form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().newRow();
            row.setValue(vertColl.get(i));
            row.setVertCol(vertColl.get(i).getName());
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void loadCombos()
{
    // Level of Injury
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);
    VertebrallevelVo voVertebralItem = null;

    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        form.cmbLevelofInjury().newRow(voVertebralItem, voVertebralItem.getName());
    }

    // Mode of Injury
    InjuryClassModeofInjuryCollection injuryColl = LookupHelper.getInjuryClassModeofInjury(domain.getLookupService());
    TreeNode[] rootNodes = injuryColl.getRootNodes();
    if (rootNodes != null)
    {
        for (int i = 0; i < rootNodes.length; i++)
        {
            InjuryClassModeofInjury lkParent = (InjuryClassModeofInjury) rootNodes[i];
            if (lkParent.isActive())
                form.cmbModeofInjury().newRow(lkParent, lkParent.getText());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void initializeCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection listVertebralLevelsCollection = domain.listVertebralLevels();

    for (int i = 0; i < listVertebralLevelsCollection.size(); i++)
    {
        VertebrallevelVo vertebraLlevel = listVertebralLevelsCollection.get(i);

        if (vertebraLlevel == null)
            continue;

        form.cmbMotorLeft().newRow(vertebraLlevel, vertebraLlevel.getName());
        form.cmbMotorRight().newRow(vertebraLlevel, vertebraLlevel.getName());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void listVertebral() 
    {
        form.grdLevel().setValue(null);

        form.grdLevel().getRows().clear();
        VertebrallevelVoCollection voCollVertebral  = domain.listVertebralLevel(new Boolean(form.chkActiveOnly().getValue()));
        VertebrallevelVo voVertebralItem;
        GenForm.grdLevelRow row = null;
        for(int i=0;i<voCollVertebral.size();i++)
        {
            voVertebralItem = voCollVertebral.get(i);
            row = form.grdLevel().getRows().newRow();

            row.setcolActive(voVertebralItem.getIsActive().booleanValue());
            row.setcolDescription(voVertebralItem.getDescription());
            row.setcolLevel(voVertebralItem.getName());
            //WDEV-3158 
            row.setcolLevelReadOnly(true);
            // WDEV - 7007
//          row.setcolLowerLimb(voVertebralItem.getIsLLAsiaScore().booleanValue());
//          row.setcolUpperLimb(voVertebralItem.getIsULAsiaScore().booleanValue());
            row.setValue(voVertebralItem);
        }       
    }
项目:openmaxims-linux    文件:Logic.java   
private void loadVertebralGrid() 
{
    VertebrallevelVoCollection vertColl = new VertebrallevelVoCollection();
    //vertColl = form.getLocalContext().getVertebrallevelCollection();
    vertColl = domain.listVertebralLevels();
    form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().clear();
    if (vertColl != null)
    {
        for (int i = 0 ; i < vertColl.size() ; i++)
        {
            GenForm.lyrTabsLayer.tabMuscleEditContainer.grdVertrebralLevelsRow row = form.lyrTabs().tabMuscleEdit().grdVertrebralLevels().getRows().newRow();
            row.setValue(vertColl.get(i));
            row.setVertCol(vertColl.get(i).getName());
        }
    }

}
项目:AvoinApotti    文件:Logic.java   
private void loadFindingsGrid()
{
    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdMotorRow row = null;
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        // WDEV-4411
        if ((voVertebralItem.getIsLLAsiaScore() == null || voVertebralItem.getIsLLAsiaScore().equals(false)) && (voVertebralItem.getIsULAsiaScore() == null || voVertebralItem.getIsULAsiaScore().equals(false)))
            continue;

        row = form.grdMotor().getRows().newRow();
        row.setcolDescription(voVertebralItem.getDescription());
        row.setcoolRootVal(voVertebralItem.getName());
        row.setValue(voVertebralItem);
        row.setIdentifier(null);
    }

    if (voCollVertebral.size() > 0)
    {
        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Upper Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);

        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Lower Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);
    }
}
项目:AvoinApotti    文件:Logic.java   
private VertebrallevelVoCollection listVertebralLevels()
{
    VertebrallevelVoCollection voCollVertebral = form.getLocalContext().getVertebralLevels();
    if (voCollVertebral == null)
    {
        voCollVertebral = domain.listActiveVertebralLevel();
        form.getLocalContext().setVertebralLevels(voCollVertebral);
    }

    return voCollVertebral;
}
项目:AvoinApotti    文件:Logic.java   
private void loadVertebralCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        // 14/03/2005 - Populate vertebral description with the name
        form.cmbMotorLeft().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.cmbMotorRight().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.cmbOverallNeuro().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.cmbOverallNeuro().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadFindingsGrids() 
{
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdLightTouchRow lRow = null;
    GenForm.grdPinPrickRow pRow = null;
    for(int i=0; i<voCollVertebral.size();i++)
    {
        voVertebralItem = voCollVertebral.get(i);

        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal(voVertebralItem.getName());
        lRow.setValue(voVertebralItem);
        lRow.setIdentifier(null);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal(voVertebralItem.getName());
        pRow.setValue(voVertebralItem);
        pRow.setIdentifier(null);   
    }

    if(voCollVertebral.size() > 0)
    {
        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal("Total");    
        lRow.setSelectable(false);
        lRow.setReadOnly(true);
        lRow.setBackColor(Color.Beige);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal("Total");    
        pRow.setSelectable(false);
        pRow.setReadOnly(true);
        pRow.setBackColor(Color.Beige);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.lyr1().tabDetails().cmbLeftSensLevel().clear();
    form.lyr1().tabDetails().cmbRightSensLevel().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.lyr1().tabDetails().cmbLeftSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.lyr1().tabDetails().cmbRightSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void loadFindingsGrid()
{
    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdMotorRow row = null;
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        // WDEV-4411
        if ((voVertebralItem.getIsLLAsiaScore() == null || voVertebralItem.getIsLLAsiaScore().equals(false)) && (voVertebralItem.getIsULAsiaScore() == null || voVertebralItem.getIsULAsiaScore().equals(false)))
            continue;

        row = form.grdMotor().getRows().newRow();
        row.setcolDescription(voVertebralItem.getDescription());
        row.setcoolRootVal(voVertebralItem.getName());
        row.setValue(voVertebralItem);
        row.setIdentifier(null);
    }

    if (voCollVertebral.size() > 0)
    {
        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Upper Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);

        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Lower Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);
    }
}
项目:openMAXIMS    文件:Logic.java   
private VertebrallevelVoCollection listVertebralLevels()
{
    VertebrallevelVoCollection voCollVertebral = form.getLocalContext().getVertebralLevels();
    if (voCollVertebral == null)
    {
        voCollVertebral = domain.listActiveVertebralLevel();
        form.getLocalContext().setVertebralLevels(voCollVertebral);
    }

    return voCollVertebral;
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        // 14/03/2005 - Populate vertebral description with the name
        form.cmbMotorLeft().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.cmbMotorRight().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.cmbOverallNeuro().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.cmbOverallNeuro().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadFindingsGrids() 
{
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdLightTouchRow lRow = null;
    GenForm.grdPinPrickRow pRow = null;
    for(int i=0; i<voCollVertebral.size();i++)
    {
        voVertebralItem = voCollVertebral.get(i);

        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal(voVertebralItem.getName());
        lRow.setValue(voVertebralItem);
        lRow.setIdentifier(null);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal(voVertebralItem.getName());
        pRow.setValue(voVertebralItem);
        pRow.setIdentifier(null);   
    }

    if(voCollVertebral.size() > 0)
    {
        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal("Total");    
        lRow.setSelectable(false);
        lRow.setReadOnly(true);
        lRow.setBackColor(Color.Beige);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal("Total");    
        pRow.setSelectable(false);
        pRow.setReadOnly(true);
        pRow.setBackColor(Color.Beige);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.lyr1().tabDetails().cmbLeftSensLevel().clear();
    form.lyr1().tabDetails().cmbRightSensLevel().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.lyr1().tabDetails().cmbLeftSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.lyr1().tabDetails().cmbRightSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void loadFindingsGrid()
{
    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdMotorRow row = null;
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        // WDEV-4411
        if ((voVertebralItem.getIsLLAsiaScore() == null || voVertebralItem.getIsLLAsiaScore().equals(false)) && (voVertebralItem.getIsULAsiaScore() == null || voVertebralItem.getIsULAsiaScore().equals(false)))
            continue;

        row = form.grdMotor().getRows().newRow();
        row.setcolDescription(voVertebralItem.getDescription());
        row.setcoolRootVal(voVertebralItem.getName());
        row.setValue(voVertebralItem);
        row.setIdentifier(null);
    }

    if (voCollVertebral.size() > 0)
    {
        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Upper Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);

        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Lower Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);
    }
}
项目:openMAXIMS    文件:Logic.java   
private VertebrallevelVoCollection listVertebralLevels()
{
    VertebrallevelVoCollection voCollVertebral = form.getLocalContext().getVertebralLevels();
    if (voCollVertebral == null)
    {
        voCollVertebral = domain.listActiveVertebralLevel();
        form.getLocalContext().setVertebralLevels(voCollVertebral);
    }

    return voCollVertebral;
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        // 14/03/2005 - Populate vertebral description with the name
        form.cmbMotorLeft().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.cmbMotorRight().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.cmbOverallNeuro().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.cmbOverallNeuro().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadFindingsGrids() 
{
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdLightTouchRow lRow = null;
    GenForm.grdPinPrickRow pRow = null;
    for(int i=0; i<voCollVertebral.size();i++)
    {
        voVertebralItem = voCollVertebral.get(i);

        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal(voVertebralItem.getName());
        lRow.setValue(voVertebralItem);
        lRow.setIdentifier(null);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal(voVertebralItem.getName());
        pRow.setValue(voVertebralItem);
        pRow.setIdentifier(null);   
    }

    if(voCollVertebral.size() > 0)
    {
        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal("Total");    
        lRow.setSelectable(false);
        lRow.setReadOnly(true);
        lRow.setBackColor(Color.Beige);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal("Total");    
        pRow.setSelectable(false);
        pRow.setReadOnly(true);
        pRow.setBackColor(Color.Beige);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.lyr1().tabDetails().cmbLeftSensLevel().clear();
    form.lyr1().tabDetails().cmbRightSensLevel().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.lyr1().tabDetails().cmbLeftSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.lyr1().tabDetails().cmbRightSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }       
}
项目:openmaxims-linux    文件:Logic.java   
private void loadFindingsGrid()
{
    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdMotorRow row = null;
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        voVertebralItem = voCollVertebral.get(i);
        // WDEV-4411
        if ((voVertebralItem.getIsLLAsiaScore() == null || voVertebralItem.getIsLLAsiaScore().equals(false)) && (voVertebralItem.getIsULAsiaScore() == null || voVertebralItem.getIsULAsiaScore().equals(false)))
            continue;

        row = form.grdMotor().getRows().newRow();
        row.setcolDescription(voVertebralItem.getDescription());
        row.setcoolRootVal(voVertebralItem.getName());
        row.setValue(voVertebralItem);
        row.setIdentifier(null);
    }

    if (voCollVertebral.size() > 0)
    {
        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Upper Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);

        row = form.grdMotor().getRows().newRow();
        row.setcoolRootVal("Total Lower Limb");
        row.setSelectable(false);
        row.setReadOnly(true);
        row.setBackColor(Color.Beige);
        row.setBold(true);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private VertebrallevelVoCollection listVertebralLevels()
{
    VertebrallevelVoCollection voCollVertebral = form.getLocalContext().getVertebralLevels();
    if (voCollVertebral == null)
    {
        voCollVertebral = domain.listActiveVertebralLevel();
        form.getLocalContext().setVertebralLevels(voCollVertebral);
    }

    return voCollVertebral;
}
项目:openmaxims-linux    文件:Logic.java   
private void loadVertebralCombos()
{
    form.cmbMotorRight().clear();
    form.cmbMotorLeft().clear();

    VertebrallevelVoCollection voCollVertebral = listVertebralLevels();
    for (int i = 0; i < voCollVertebral.size(); i++)
    {
        // 14/03/2005 - Populate vertebral description with the name
        form.cmbMotorLeft().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.cmbMotorRight().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.cmbOverallNeuro().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.cmbOverallNeuro().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadFindingsGrids() 
{
    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    VertebrallevelVo voVertebralItem = null;
    GenForm.grdLightTouchRow lRow = null;
    GenForm.grdPinPrickRow pRow = null;
    for(int i=0; i<voCollVertebral.size();i++)
    {
        voVertebralItem = voCollVertebral.get(i);

        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal(voVertebralItem.getName());
        lRow.setValue(voVertebralItem);
        lRow.setIdentifier(null);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal(voVertebralItem.getName());
        pRow.setValue(voVertebralItem);
        pRow.setIdentifier(null);   
    }

    if(voCollVertebral.size() > 0)
    {
        lRow = form.grdLightTouch().getRows().newRow();
        lRow.setcolRootVal("Total");    
        lRow.setSelectable(false);
        lRow.setReadOnly(true);
        lRow.setBackColor(Color.Beige);

        pRow = form.grdPinPrick().getRows().newRow();
        pRow.setcolRootVal("Total");    
        pRow.setSelectable(false);
        pRow.setReadOnly(true);
        pRow.setBackColor(Color.Beige);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadVertebralCombos() 
{
    form.lyr1().tabDetails().cmbLeftSensLevel().clear();
    form.lyr1().tabDetails().cmbRightSensLevel().clear();

    VertebrallevelVoCollection voCollVertebral = domain.listVertebralLevel(Boolean.TRUE);   
    for(int i=0;i<voCollVertebral.size();i++)
    {
        form.lyr1().tabDetails().cmbLeftSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
        form.lyr1().tabDetails().cmbRightSensLevel().newRow(voCollVertebral.get(i), voCollVertebral.get(i).getName());
    }       
}