Java 类ims.admin.vo.lookups.NavigationStyle 实例源码

项目:AvoinApotti    文件:Logic.java   
public void newInstance() throws ims.framework.exceptions.PresentationLogicException
{
    clearInstanceControls();
    form.getLocalContext().setAllForms(null);
    form.cmbStyle().setValue(NavigationStyle.IMAGE);
    form.getLocalContext().setSelectedNav(null);
    form.setMode(FormMode.EDIT);

}
项目:AvoinApotti    文件:Logic.java   
protected void populateScreenFromData(AppNavigationVo value)
{
    clearInstanceControls();
    super.populateScreenFromData(value);

    if (value == null)
        return;

    if (!value.getStyleIsNotNull())
    {
        form.cmbStyle().setValue(NavigationStyle.IMAGE);
    }
    if (value.getPatientSearchFormIsNotNull())
    {
        AppFormVo patientSearchForm = value.getPatientSearchForm();
        form.qmbNavSearchForm().newRow(patientSearchForm, patientSearchForm.isAlias() ? patientSearchForm.getAliasName() : patientSearchForm.getName());
        form.qmbNavSearchForm().setValue(patientSearchForm);
    }
    if (value.getStartFormIsNotNull())
    {
        AppFormVo startForm = value.getStartForm();
        form.qmbNavStartForm().newRow(startForm, startForm.isAlias() ? startForm.getAliasName() : startForm.getName());
        form.qmbNavStartForm().setValue(startForm);
    }

    populateTree(value);

}
项目:openMAXIMS    文件:Logic.java   
public void newInstance() throws ims.framework.exceptions.PresentationLogicException
{
    clearInstanceControls();
    form.getLocalContext().setAllForms(null);
    form.cmbStyle().setValue(NavigationStyle.IMAGE);
    form.getLocalContext().setSelectedNav(null);
    form.getLocalContext().setNavigationHasAssociatedRole(false); //WDEV-22749
    form.chkIsActive().setValue(false); //WDEV-22792
    form.setMode(FormMode.EDIT);

}
项目:openMAXIMS    文件:Logic.java   
protected void populateScreenFromData(AppNavigationVo value)
{
    clearInstanceControls();
    super.populateScreenFromData(value);

    if (value == null)
        return;

    if (!value.getStyleIsNotNull())
    {
        form.cmbStyle().setValue(NavigationStyle.IMAGE);
    }
    if (value.getPatientSearchFormIsNotNull())
    {
        AppFormVo patientSearchForm = value.getPatientSearchForm();
        form.qmbNavSearchForm().newRow(patientSearchForm, patientSearchForm.isAlias() ? patientSearchForm.getAliasName() : patientSearchForm.getName());
        form.qmbNavSearchForm().setValue(patientSearchForm);
    }
    if (value.getStartFormIsNotNull())
    {
        AppFormVo startForm = value.getStartForm();
        form.qmbNavStartForm().newRow(startForm, startForm.isAlias() ? startForm.getAliasName() : startForm.getName());
        form.qmbNavStartForm().setValue(startForm);
    }

    populateTree(value);

}
项目:openMAXIMS    文件:Logic.java   
public void newInstance() throws ims.framework.exceptions.PresentationLogicException
{
    clearInstanceControls();
    form.getLocalContext().setAllForms(null);
    form.cmbStyle().setValue(NavigationStyle.IMAGE);
    form.getLocalContext().setSelectedNav(null);
    form.setMode(FormMode.EDIT);

}
项目:openMAXIMS    文件:Logic.java   
protected void populateScreenFromData(AppNavigationVo value)
{
    clearInstanceControls();
    super.populateScreenFromData(value);

    if (value == null)
        return;

    if (!value.getStyleIsNotNull())
    {
        form.cmbStyle().setValue(NavigationStyle.IMAGE);
    }
    if (value.getPatientSearchFormIsNotNull())
    {
        AppFormVo patientSearchForm = value.getPatientSearchForm();
        form.qmbNavSearchForm().newRow(patientSearchForm, patientSearchForm.isAlias() ? patientSearchForm.getAliasName() : patientSearchForm.getName());
        form.qmbNavSearchForm().setValue(patientSearchForm);
    }
    if (value.getStartFormIsNotNull())
    {
        AppFormVo startForm = value.getStartForm();
        form.qmbNavStartForm().newRow(startForm, startForm.isAlias() ? startForm.getAliasName() : startForm.getName());
        form.qmbNavStartForm().setValue(startForm);
    }

    populateTree(value);

}
项目:openmaxims-linux    文件:Logic.java   
public void newInstance() throws ims.framework.exceptions.PresentationLogicException
{
    clearInstanceControls();
    form.getLocalContext().setAllForms(null);
    form.cmbStyle().setValue(NavigationStyle.IMAGE);
    form.getLocalContext().setSelectedNav(null);
    form.setMode(FormMode.EDIT);

}
项目:openmaxims-linux    文件:Logic.java   
protected void populateScreenFromData(AppNavigationVo value)
{
    clearInstanceControls();
    super.populateScreenFromData(value);

    if (value == null)
        return;

    if (!value.getStyleIsNotNull())
    {
        form.cmbStyle().setValue(NavigationStyle.IMAGE);
    }
    if (value.getPatientSearchFormIsNotNull())
    {
        AppFormVo patientSearchForm = value.getPatientSearchForm();
        form.qmbNavSearchForm().newRow(patientSearchForm, patientSearchForm.isAlias() ? patientSearchForm.getAliasName() : patientSearchForm.getName());
        form.qmbNavSearchForm().setValue(patientSearchForm);
    }
    if (value.getStartFormIsNotNull())
    {
        AppFormVo startForm = value.getStartForm();
        form.qmbNavStartForm().newRow(startForm, startForm.isAlias() ? startForm.getAliasName() : startForm.getName());
        form.qmbNavStartForm().setValue(startForm);
    }

    populateTree(value);

}