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

项目:AvoinApotti    文件:Logic.java   
private void loadNewSelectedLayout()
{
    form.bedPlanner().setPlan("");

    FloorLayoutLiteVo id = form.cmbFloorLayout().getValue();
    if (id != null)
    {
        FloorLayoutVo layout = domain.getLayout(form.cmbFloorLayout().getValue());
        form.bedPlanner().setPlan(layout.getVml());
        form.getLocalContext().setCurentLayout(layout);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addFloorLayout(FloorLayoutLiteVo layout)
{
    if (layout != null && !floorLayoutAdded(layout))
    {
        form.cmbFloorLayout().newRow(layout, layout.getName());
    }
}
项目:AvoinApotti    文件:Logic.java   
private boolean floorLayoutAdded(FloorLayoutLiteVo layout)
{
    for (int x = 0; x < form.cmbFloorLayout().getValues().size(); x++)
    {
        if (((FloorLayoutLiteVo) form.cmbFloorLayout().getValues().get(x)).equals(layout))
            return true;
    }

    return false;
}
项目:AvoinApotti    文件:Logic.java   
private void add(FloorLayoutLiteVo value) 
{
    if(value == null)
        return;

    ims.core.forms.floorlayoutlist.GenForm.grdDetailsRow row = form.grdDetails().getRows().newRow(value.equals(form.getGlobalContext().Core.FloorLayout.getSelection()));

    row.setcolName(value.getName());
    row.setcolStatus(value.getStatus());

    row.setValue(value);
}
项目:openMAXIMS    文件:Logic.java   
private void loadNewSelectedLayout()
{
    form.bedPlanner().setPlan("");

    FloorLayoutLiteVo id = form.cmbFloorLayout().getValue();
    if (id != null)
    {
        FloorLayoutVo layout = domain.getLayout(form.cmbFloorLayout().getValue());
        form.bedPlanner().setPlan(layout.getVml());
        form.getLocalContext().setCurentLayout(layout);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addFloorLayout(FloorLayoutLiteVo layout)
{
    if (layout != null && !floorLayoutAdded(layout))
    {
        form.cmbFloorLayout().newRow(layout, layout.getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private boolean floorLayoutAdded(FloorLayoutLiteVo layout)
{
    for (int x = 0; x < form.cmbFloorLayout().getValues().size(); x++)
    {
        if (((FloorLayoutLiteVo) form.cmbFloorLayout().getValues().get(x)).equals(layout))
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void add(FloorLayoutLiteVo value) 
{
    if(value == null)
        return;

    ims.core.forms.floorlayoutlist.GenForm.grdDetailsRow row = form.grdDetails().getRows().newRow(value.equals(form.getGlobalContext().Core.FloorLayout.getSelection()));

    row.setcolName(value.getName());
    row.setcolStatus(value.getStatus());

    row.setValue(value);
}
项目:openMAXIMS    文件:Logic.java   
private void loadNewSelectedLayout()
{
    form.bedPlanner().setPlan("");

    FloorLayoutLiteVo id = form.cmbFloorLayout().getValue();
    if (id != null)
    {
        FloorLayoutVo layout = domain.getLayout(form.cmbFloorLayout().getValue());
        form.bedPlanner().setPlan(layout.getVml());
        form.getLocalContext().setCurentLayout(layout);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addFloorLayout(FloorLayoutLiteVo layout)
{
    if (layout != null && !floorLayoutAdded(layout))
    {
        form.cmbFloorLayout().newRow(layout, layout.getName());
    }
}
项目:openMAXIMS    文件:Logic.java   
private boolean floorLayoutAdded(FloorLayoutLiteVo layout)
{
    for (int x = 0; x < form.cmbFloorLayout().getValues().size(); x++)
    {
        if (((FloorLayoutLiteVo) form.cmbFloorLayout().getValues().get(x)).equals(layout))
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void add(FloorLayoutLiteVo value) 
{
    if(value == null)
        return;

    ims.core.forms.floorlayoutlist.GenForm.grdDetailsRow row = form.grdDetails().getRows().newRow(value.equals(form.getGlobalContext().Core.FloorLayout.getSelection()));

    row.setcolName(value.getName());
    row.setcolStatus(value.getStatus());

    row.setValue(value);
}
项目:openmaxims-linux    文件:Logic.java   
private void loadNewSelectedLayout()
{
    form.bedPlanner().setPlan("");

    FloorLayoutLiteVo id = form.cmbFloorLayout().getValue();
    if (id != null)
    {
        FloorLayoutVo layout = domain.getLayout(form.cmbFloorLayout().getValue());
        form.bedPlanner().setPlan(layout.getVml());
        form.getLocalContext().setCurentLayout(layout);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addFloorLayout(FloorLayoutLiteVo layout)
{
    if (layout != null && !floorLayoutAdded(layout))
    {
        form.cmbFloorLayout().newRow(layout, layout.getName());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private boolean floorLayoutAdded(FloorLayoutLiteVo layout)
{
    for (int x = 0; x < form.cmbFloorLayout().getValues().size(); x++)
    {
        if (((FloorLayoutLiteVo) form.cmbFloorLayout().getValues().get(x)).equals(layout))
            return true;
    }

    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private void add(FloorLayoutLiteVo value) 
{
    if(value == null)
        return;

    ims.core.forms.floorlayoutlist.GenForm.grdDetailsRow row = form.grdDetails().getRows().newRow(value.equals(form.getGlobalContext().Core.FloorLayout.getSelection()));

    row.setcolName(value.getName());
    row.setcolStatus(value.getStatus());

    row.setValue(value);
}