Java 类ims.therapies.vo.lookups.LookupHelper 实例源码

项目:AvoinApotti    文件:Logic.java   
private void prePopulateSupportCombo() 
{
    TreeNode[] coll = LookupHelper.getStandingSupportTypeExercise(domain.getLookupService()).getRootNodes();

    form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().clear();
    form.ctnStand().lyrParent().tabDetails().cmbSupport().getValues().clear();

    if(coll != null)
    {
        for(int i=0;i<coll.length;i++)
        {
            StandingSupportTypeExercise item = (StandingSupportTypeExercise)coll[i];
            if(item.isActive())
                form.ctnStand().lyrParent().tabDetails().cmbSupport().newRow(item, item.getText());
        }
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateSupportCombo() 
{
    TreeNode[] coll = LookupHelper.getStandingSupportTypeExercise(domain.getLookupService()).getRootNodes();

    form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().clear();
    form.ctnStand().lyrParent().tabDetails().cmbSupport().getValues().clear();

    if(coll != null)
    {
        for(int i=0;i<coll.length;i++)
        {
            StandingSupportTypeExercise item = (StandingSupportTypeExercise)coll[i];
            if(item.isActive())
                form.ctnStand().lyrParent().tabDetails().cmbSupport().newRow(item, item.getText());
        }
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateSupportCombo() 
{
    TreeNode[] coll = LookupHelper.getStandingSupportTypeExercise(domain.getLookupService()).getRootNodes();

    form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().clear();
    form.ctnStand().lyrParent().tabDetails().cmbSupport().getValues().clear();

    if(coll != null)
    {
        for(int i=0;i<coll.length;i++)
        {
            StandingSupportTypeExercise item = (StandingSupportTypeExercise)coll[i];
            if(item.isActive())
                form.ctnStand().lyrParent().tabDetails().cmbSupport().newRow(item, item.getText());
        }
    }   
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateSupportCombo() 
{
    TreeNode[] coll = LookupHelper.getStandingSupportTypeExercise(domain.getLookupService()).getRootNodes();

    form.ctnStand().lyrParent().tabDetails().grdSelect().getRows().clear();
    form.ctnStand().lyrParent().tabDetails().cmbSupport().getValues().clear();

    if(coll != null)
    {
        for(int i=0;i<coll.length;i++)
        {
            StandingSupportTypeExercise item = (StandingSupportTypeExercise)coll[i];
            if(item.isActive())
                form.ctnStand().lyrParent().tabDetails().cmbSupport().newRow(item, item.getText());
        }
    }   
}
项目:AvoinApotti    文件:Logic.java   
private void prePopulateAnalysisGrid()
{
    GenForm.grdAnalysisRow row = null;
    form.grdAnalysis().getRows().clear();
    PlinthWorkBalanceAnalysisCollection AnalysisColl = LookupHelper.getPlinthWorkBalanceAnalysis(domain.getLookupService());
    for (int i = 0; i < AnalysisColl.size(); i++)
    {
        PlinthWorkBalanceAnalysis analysis = AnalysisColl.get(i);
        row = form.grdAnalysis().getRows().newRow();
        row.setColBalanceAnalysis(analysis);
    }   
}
项目:AvoinApotti    文件:Logic.java   
private void prePopulateTreatmentGrid()
{
    GenForm.grdTreatmentRow row = null;
    form.grdTreatment().getRows().clear();
    PlinthWorkTreatmentCollection treatColl = LookupHelper.getPlinthWorkTreatment(domain.getLookupService());
    for (int i = 0; i < treatColl.size(); i++)
    {
        PlinthWorkTreatment treatment = treatColl.get(i);
        row = form.grdTreatment().getRows().newRow();
        row.setColTreatment(treatment);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void prePopulatePositionGrid()
{
    GenForm.grdPositionRow row = null;
    form.grdPosition().getRows().clear();
    PlinthWorkActivityCollection activitesColl = LookupHelper.getPlinthWorkActivity(domain.getLookupService());
    for (int i = 0; i < activitesColl.size(); i++)
    {
        PlinthWorkActivity activity = activitesColl.get(i);
        row = form.grdPosition().getRows().newRow();
        row.setColPosition(activity);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateAnalysisGrid()
{
    GenForm.grdAnalysisRow row = null;
    form.grdAnalysis().getRows().clear();
    PlinthWorkBalanceAnalysisCollection AnalysisColl = LookupHelper.getPlinthWorkBalanceAnalysis(domain.getLookupService());
    for (int i = 0; i < AnalysisColl.size(); i++)
    {
        PlinthWorkBalanceAnalysis analysis = AnalysisColl.get(i);
        row = form.grdAnalysis().getRows().newRow();
        row.setColBalanceAnalysis(analysis);
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateTreatmentGrid()
{
    GenForm.grdTreatmentRow row = null;
    form.grdTreatment().getRows().clear();
    PlinthWorkTreatmentCollection treatColl = LookupHelper.getPlinthWorkTreatment(domain.getLookupService());
    for (int i = 0; i < treatColl.size(); i++)
    {
        PlinthWorkTreatment treatment = treatColl.get(i);
        row = form.grdTreatment().getRows().newRow();
        row.setColTreatment(treatment);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulatePositionGrid()
{
    GenForm.grdPositionRow row = null;
    form.grdPosition().getRows().clear();
    PlinthWorkActivityCollection activitesColl = LookupHelper.getPlinthWorkActivity(domain.getLookupService());
    for (int i = 0; i < activitesColl.size(); i++)
    {
        PlinthWorkActivity activity = activitesColl.get(i);
        row = form.grdPosition().getRows().newRow();
        row.setColPosition(activity);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateAnalysisGrid()
{
    GenForm.grdAnalysisRow row = null;
    form.grdAnalysis().getRows().clear();
    PlinthWorkBalanceAnalysisCollection AnalysisColl = LookupHelper.getPlinthWorkBalanceAnalysis(domain.getLookupService());
    for (int i = 0; i < AnalysisColl.size(); i++)
    {
        PlinthWorkBalanceAnalysis analysis = AnalysisColl.get(i);
        row = form.grdAnalysis().getRows().newRow();
        row.setColBalanceAnalysis(analysis);
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateTreatmentGrid()
{
    GenForm.grdTreatmentRow row = null;
    form.grdTreatment().getRows().clear();
    PlinthWorkTreatmentCollection treatColl = LookupHelper.getPlinthWorkTreatment(domain.getLookupService());
    for (int i = 0; i < treatColl.size(); i++)
    {
        PlinthWorkTreatment treatment = treatColl.get(i);
        row = form.grdTreatment().getRows().newRow();
        row.setColTreatment(treatment);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulatePositionGrid()
{
    GenForm.grdPositionRow row = null;
    form.grdPosition().getRows().clear();
    PlinthWorkActivityCollection activitesColl = LookupHelper.getPlinthWorkActivity(domain.getLookupService());
    for (int i = 0; i < activitesColl.size(); i++)
    {
        PlinthWorkActivity activity = activitesColl.get(i);
        row = form.grdPosition().getRows().newRow();
        row.setColPosition(activity);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateAnalysisGrid()
{
    GenForm.grdAnalysisRow row = null;
    form.grdAnalysis().getRows().clear();
    PlinthWorkBalanceAnalysisCollection AnalysisColl = LookupHelper.getPlinthWorkBalanceAnalysis(domain.getLookupService());
    for (int i = 0; i < AnalysisColl.size(); i++)
    {
        PlinthWorkBalanceAnalysis analysis = AnalysisColl.get(i);
        row = form.grdAnalysis().getRows().newRow();
        row.setColBalanceAnalysis(analysis);
    }   
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateTreatmentGrid()
{
    GenForm.grdTreatmentRow row = null;
    form.grdTreatment().getRows().clear();
    PlinthWorkTreatmentCollection treatColl = LookupHelper.getPlinthWorkTreatment(domain.getLookupService());
    for (int i = 0; i < treatColl.size(); i++)
    {
        PlinthWorkTreatment treatment = treatColl.get(i);
        row = form.grdTreatment().getRows().newRow();
        row.setColTreatment(treatment);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulatePositionGrid()
{
    GenForm.grdPositionRow row = null;
    form.grdPosition().getRows().clear();
    PlinthWorkActivityCollection activitesColl = LookupHelper.getPlinthWorkActivity(domain.getLookupService());
    for (int i = 0; i < activitesColl.size(); i++)
    {
        PlinthWorkActivity activity = activitesColl.get(i);
        row = form.grdPosition().getRows().newRow();
        row.setColPosition(activity);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void prePopulateActivities()
{
    form.gridActivities().populateTree(LookupHelper.getBalanceActivities(domain.getLookupService()));
    form.gridActivities().expandAll();
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateActivities()
{
    form.gridActivities().populateTree(LookupHelper.getBalanceActivities(domain.getLookupService()));
    form.gridActivities().expandAll();
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateActivities()
{
    form.gridActivities().populateTree(LookupHelper.getBalanceActivities(domain.getLookupService()));
    form.gridActivities().expandAll();
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateActivities()
{
    form.gridActivities().populateTree(LookupHelper.getBalanceActivities(domain.getLookupService()));
    form.gridActivities().expandAll();
}