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

项目:AvoinApotti    文件:Logic.java   
private void populateLocalAnaesthetic(LocalAnaestheticCollection localAnaesthetic, DynamicGridCell cell)
{
    if (localAnaesthetic == null || localAnaesthetic.size() == 0 || cell == null)
        return;

    LocalAnaesthetic cellValue = (LocalAnaesthetic) cell.getValue();

    cell.getItems().clear();

    for (int i = 0; i < localAnaesthetic.size(); i++)
    {
        if (!alreadyAdded(localAnaesthetic.get(i), cell))
        {
            cell.getItems().newItem(localAnaesthetic.get(i));
        }
    }

    cell.setValue(cellValue);
}
项目:openMAXIMS    文件:Logic.java   
private void populateLocalAnaesthetic(LocalAnaestheticCollection localAnaesthetic, DynamicGridCell cell)
{
    if (localAnaesthetic == null || localAnaesthetic.size() == 0 || cell == null)
        return;

    LocalAnaesthetic cellValue = (LocalAnaesthetic) cell.getValue();

    cell.getItems().clear();

    for (int i = 0; i < localAnaesthetic.size(); i++)
    {
        if (!alreadyAdded(localAnaesthetic.get(i), cell))
        {
            cell.getItems().newItem(localAnaesthetic.get(i));
        }
    }

    cell.setValue(cellValue);
}
项目:openMAXIMS    文件:Logic.java   
private void populateLocalAnaesthetic(LocalAnaestheticCollection localAnaesthetic, DynamicGridCell cell)
{
    if (localAnaesthetic == null || localAnaesthetic.size() == 0 || cell == null)
        return;

    LocalAnaesthetic cellValue = (LocalAnaesthetic) cell.getValue();

    cell.getItems().clear();

    for (int i = 0; i < localAnaesthetic.size(); i++)
    {
        if (!alreadyAdded(localAnaesthetic.get(i), cell))
        {
            cell.getItems().newItem(localAnaesthetic.get(i));
        }
    }

    cell.setValue(cellValue);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateLocalAnaesthetic(LocalAnaestheticCollection localAnaesthetic, DynamicGridCell cell)
{
    if (localAnaesthetic == null || localAnaesthetic.size() == 0 || cell == null)
        return;

    LocalAnaesthetic cellValue = (LocalAnaesthetic) cell.getValue();

    cell.getItems().clear();

    for (int i = 0; i < localAnaesthetic.size(); i++)
    {
        if (!alreadyAdded(localAnaesthetic.get(i), cell))
        {
            cell.getItems().newItem(localAnaesthetic.get(i));
        }
    }

    cell.setValue(cellValue);
}