Java 类ims.clinical.vo.SECSConfigurationVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void removeConfigRecord()
{
    SECSConfigurationVo voConfig = (SECSConfigurationVo) form.dyngrdSecs().getSelectedRow().getValue();
    form.getLocalContext().getSelectedInstance().getConfiguration().remove(voConfig);

    form.dyngrdSecs().getRows().remove(form.dyngrdSecs().getSelectedRow());
    form.dyngrdSecs().setValue(null);

    form.getLocalContext().getSelectedInstance().validate();
    doSave(form.getLocalContext().getSelectedInstance());
    open();
}
项目:AvoinApotti    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:openMAXIMS    文件:Logic.java   
private void removeConfigRecord()
{
    SECSConfigurationVo voConfig = (SECSConfigurationVo) form.dyngrdSecs().getSelectedRow().getValue();
    form.getLocalContext().getSelectedInstance().getConfiguration().remove(voConfig);

    form.dyngrdSecs().getRows().remove(form.dyngrdSecs().getSelectedRow());
    form.dyngrdSecs().setValue(null);

    form.getLocalContext().getSelectedInstance().validate();
    doSave(form.getLocalContext().getSelectedInstance());
    open();
}
项目:openMAXIMS    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, OBSType type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:openMAXIMS    文件:Logic.java   
private void removeConfigRecord()
{
    SECSConfigurationVo voConfig = (SECSConfigurationVo) form.dyngrdSecs().getSelectedRow().getValue();
    form.getLocalContext().getSelectedInstance().getConfiguration().remove(voConfig);

    form.dyngrdSecs().getRows().remove(form.dyngrdSecs().getSelectedRow());
    form.dyngrdSecs().setValue(null);

    form.getLocalContext().getSelectedInstance().validate();
    doSave(form.getLocalContext().getSelectedInstance());
    open();
}
项目:openMAXIMS    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:openmaxims-linux    文件:Logic.java   
private void removeConfigRecord()
{
    SECSConfigurationVo voConfig = (SECSConfigurationVo) form.dyngrdSecs().getSelectedRow().getValue();
    form.getLocalContext().getSelectedInstance().getConfiguration().remove(voConfig);

    form.dyngrdSecs().getRows().remove(form.dyngrdSecs().getSelectedRow());
    form.dyngrdSecs().setValue(null);

    form.getLocalContext().getSelectedInstance().validate();
    doSave(form.getLocalContext().getSelectedInstance());
    open();
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:AvoinApotti    文件:Logic.java   
private void dyngrdSecsSelectionChanged()
{
    populateConfigInstanceControls((SECSConfigurationVo)form.dyngrdSecs().getValue());
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
private void dyngrdSecsSelectionChanged()
{
    populateConfigInstanceControls((SECSConfigurationVo)form.dyngrdSecs().getValue());
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
private void dyngrdSecsSelectionChanged()
{
    populateConfigInstanceControls((SECSConfigurationVo)form.dyngrdSecs().getValue());
    updateControlsState();
}
项目:openmaxims-linux    文件:Logic.java   
private void dyngrdSecsSelectionChanged()
{
    populateConfigInstanceControls((SECSConfigurationVo)form.dyngrdSecs().getValue());
    updateControlsState();
}