Java 类ims.clinical.vo.lookups.TableDevicesCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private boolean populateTableGrid()
{
    TableDevicesCollection tableDevicesColl = (ims.clinical.vo.lookups.LookupHelper.getTableDevices(domain.getLookupService()));

    if (tableDevicesColl == null || tableDevicesColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdTable().getRows().clear();
    for (int i = 0; i < tableDevicesColl.size(); i++)
    {
        grdTableRow newRow = form.lyr1().tabDetails().ctn1().grdTable().getRows().newRow();
        newRow.setcolTable(tableDevicesColl.get(i).getIItemText());
        newRow.setcolOtherReadOnly(true);
        newRow.setValue(tableDevicesColl.get(i));
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private boolean populateTableGrid()
{
    TableDevicesCollection tableDevicesColl = (ims.clinical.vo.lookups.LookupHelper.getTableDevices(domain.getLookupService()));

    if (tableDevicesColl == null || tableDevicesColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdTable().getRows().clear();
    for (int i = 0; i < tableDevicesColl.size(); i++)
    {
        grdTableRow newRow = form.lyr1().tabDetails().ctn1().grdTable().getRows().newRow();
        newRow.setcolTable(tableDevicesColl.get(i).getIItemText());
        newRow.setcolOtherReadOnly(true);
        newRow.setValue(tableDevicesColl.get(i));
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private boolean populateTableGrid()
{
    TableDevicesCollection tableDevicesColl = (ims.clinical.vo.lookups.LookupHelper.getTableDevices(domain.getLookupService()));

    if (tableDevicesColl == null || tableDevicesColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdTable().getRows().clear();
    for (int i = 0; i < tableDevicesColl.size(); i++)
    {
        grdTableRow newRow = form.lyr1().tabDetails().ctn1().grdTable().getRows().newRow();
        newRow.setcolTable(tableDevicesColl.get(i).getIItemText());
        newRow.setcolOtherReadOnly(true);
        newRow.setValue(tableDevicesColl.get(i));
    }

    return true;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean populateTableGrid()
{
    TableDevicesCollection tableDevicesColl = (ims.clinical.vo.lookups.LookupHelper.getTableDevices(domain.getLookupService()));

    if (tableDevicesColl == null || tableDevicesColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdTable().getRows().clear();
    for (int i = 0; i < tableDevicesColl.size(); i++)
    {
        grdTableRow newRow = form.lyr1().tabDetails().ctn1().grdTable().getRows().newRow();
        newRow.setcolTable(tableDevicesColl.get(i).getIItemText());
        newRow.setcolOtherReadOnly(true);
        newRow.setValue(tableDevicesColl.get(i));
    }

    return true;
}