Java 类ims.core.vo.lookups.CauseofDeathCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void loadCauseOfDeathGridLookups() 
{
    form.grdCauseofDeath().getRows().clear();

    CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService());
    for (int i = 0; coll != null && i < coll.size(); i++)
    {
        grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow();
        row.setColCause(coll.get(i));
        row.setColCauseReadOnly(true);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCauseOfDeathGridLookups() 
{
    form.grdCauseofDeath().getRows().clear();

    CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService());
    for (int i = 0; coll != null && i < coll.size(); i++)
    {
        grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow();
        row.setColCause(coll.get(i));
        row.setCellColCauseTooltip(coll.get(i) != null ? coll.get(i).getText() : "");
        row.setColCauseReadOnly(true);

        row.setCellColConditionTooltip("Right click for available actions to add Condition");
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCauseOfDeathGridLookups() 
{
    form.grdCauseofDeath().getRows().clear();

    CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService());
    for (int i = 0; coll != null && i < coll.size(); i++)
    {
        grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow();
        row.setColCause(coll.get(i));
        row.setColCauseReadOnly(true);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadCauseOfDeathGridLookups() 
{
    form.grdCauseofDeath().getRows().clear();

    CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService());
    for (int i = 0; coll != null && i < coll.size(); i++)
    {
        grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow();
        row.setColCause(coll.get(i));
        row.setColCauseReadOnly(true);
    }
}