Java 类ims.admin.vo.AppTopButtonSectionVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
public void populateInstanceControls() 
{
    clearInstanceControls();

    AppTopButtonConfigVo configuration = form.grdList().getValue();
    form.getLocalContext().setRecord(configuration);        

    if(configuration != null)
    {           
        form.txtName().setValue(configuration.getName());
        form.intNoColumns().setValue(configuration.getNoColumns());
        form.chkIncludePatientSelectionHistory().setValue(configuration.getIncludePatientHistory());

        addDefaultItemNodes();

        AppTopButtonVoCollection buttons = configuration.getButtons();
        if(buttons != null)
        {
            for(int x = 0; x < buttons.size(); x++)
            {
                AppTopButtonVo button = buttons.get(x);                 
                if(button != null)
                {
                    addButton(getButtonsNode(), button, false);                     
                }
            }
        }

        AppTopButtonSectionVoCollection sections = configuration.getSections();
        if(sections != null)
        {
            for(int x = 0; x < sections.size(); x++)
            {
                AppTopButtonSectionVo section = sections.get(x);                    
                if(section != null)
                {
                    addSection(getSectionsNode(), section, false);                      
                }
            }               
        }
    }

    form.treItems().expandAll();

    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
public void populateInstanceControls() 
{
    clearInstanceControls();

    AppTopButtonConfigVo configuration = form.grdList().getValue();
    form.getLocalContext().setRecord(configuration);        

    if(configuration != null)
    {           
        form.txtName().setValue(configuration.getName());
        form.intNoColumns().setValue(configuration.getNoColumns());
        form.chkIncludePatientSelectionHistory().setValue(configuration.getIncludePatientHistory());

        addDefaultItemNodes();

        AppTopButtonVoCollection buttons = configuration.getButtons();
        if(buttons != null)
        {
            for(int x = 0; x < buttons.size(); x++)
            {
                AppTopButtonVo button = buttons.get(x);                 
                if(button != null)
                {
                    addButton(getButtonsNode(), button, false);                     
                }
            }
        }

        AppTopButtonSectionVoCollection sections = configuration.getSections();
        if(sections != null)
        {
            for(int x = 0; x < sections.size(); x++)
            {
                AppTopButtonSectionVo section = sections.get(x);                    
                if(section != null)
                {
                    addSection(getSectionsNode(), section, false);                      
                }
            }               
        }
    }

    form.treItems().expandAll();

    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
public void populateInstanceControls() 
{
    clearInstanceControls();

    AppTopButtonConfigVo configuration = form.grdList().getValue();
    form.getLocalContext().setRecord(configuration);        

    if(configuration != null)
    {           
        form.txtName().setValue(configuration.getName());
        form.intNoColumns().setValue(configuration.getNoColumns());
        form.chkIncludePatientSelectionHistory().setValue(configuration.getIncludePatientHistory());

        addDefaultItemNodes();

        AppTopButtonVoCollection buttons = configuration.getButtons();
        if(buttons != null)
        {
            for(int x = 0; x < buttons.size(); x++)
            {
                AppTopButtonVo button = buttons.get(x);                 
                if(button != null)
                {
                    addButton(getButtonsNode(), button, false);                     
                }
            }
        }

        AppTopButtonSectionVoCollection sections = configuration.getSections();
        if(sections != null)
        {
            for(int x = 0; x < sections.size(); x++)
            {
                AppTopButtonSectionVo section = sections.get(x);                    
                if(section != null)
                {
                    addSection(getSectionsNode(), section, false);                      
                }
            }               
        }
    }

    form.treItems().expandAll();

    updateControlsState();
}
项目:openmaxims-linux    文件:Logic.java   
public void populateInstanceControls() 
{
    clearInstanceControls();

    AppTopButtonConfigVo configuration = form.grdList().getValue();
    form.getLocalContext().setRecord(configuration);        

    if(configuration != null)
    {           
        form.txtName().setValue(configuration.getName());
        form.intNoColumns().setValue(configuration.getNoColumns());
        form.chkIncludePatientSelectionHistory().setValue(configuration.getIncludePatientHistory());

        addDefaultItemNodes();

        AppTopButtonVoCollection buttons = configuration.getButtons();
        if(buttons != null)
        {
            for(int x = 0; x < buttons.size(); x++)
            {
                AppTopButtonVo button = buttons.get(x);                 
                if(button != null)
                {
                    addButton(getButtonsNode(), button, false);                     
                }
            }
        }

        AppTopButtonSectionVoCollection sections = configuration.getSections();
        if(sections != null)
        {
            for(int x = 0; x < sections.size(); x++)
            {
                AppTopButtonSectionVo section = sections.get(x);                    
                if(section != null)
                {
                    addSection(getSectionsNode(), section, false);                      
                }
            }               
        }
    }

    form.treItems().expandAll();

    updateControlsState();
}