Java 类ims.clinical.vo.lookups.GoalPlanningOutcome 实例源码

项目:AvoinApotti    文件:Logic.java   
private void setScreenToEdit(boolean bEnabled) 
{
    form.setMode(FormMode.EDIT);
    form.getContextMenus().hideAllGenericGridMenuItems();
    form.getContextMenus().getGoalPlanningMeetingInviteesADDFAMILYMEMBERItem().setVisible(true);
    form.getContextMenus().getGoalPlanningMeetingInviteesADDHCPItem().setVisible(true);
    enableClinTeamMemberMenu();
    if(bEnabled)
        form.getLocalContext().setGoalPlanningVo(null);
    else{
        if(form.ctnDetails().cmbOutcome().getValue()!=null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED))  
            form.ctnDetails().cmbCancReason().setEnabled(true);

        if(form.getLocalContext().getGoalPlanningVo().getMinutesIsNotNull())
        {
            StringBuffer path = new StringBuffer();
            path.append("Minutes: ");
            path.append(form.getLocalContext().getGoalPlanningVo().getMinutes());
            form.ctnDetails().lblMinutes().setValue(path.toString());
            form.ctnDetails().lblMinutes().setTooltip(path.toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void setScreenToEdit(boolean bEnabled) 
{
    form.setMode(FormMode.EDIT);
    form.getContextMenus().hideAllGenericGridMenuItems();
    form.getContextMenus().getGoalPlanningMeetingInviteesADDFAMILYMEMBERItem().setVisible(true);
    form.getContextMenus().getGoalPlanningMeetingInviteesADDHCPItem().setVisible(true);
    enableClinTeamMemberMenu();
    if(bEnabled)
        form.getLocalContext().setGoalPlanningVo(null);
    else{
        if(form.ctnDetails().cmbOutcome().getValue()!=null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED))  
            form.ctnDetails().cmbCancReason().setEnabled(true);

        if(form.getLocalContext().getGoalPlanningVo().getMinutesIsNotNull())
        {
            StringBuffer path = new StringBuffer();
            path.append("Minutes: ");
            path.append(form.getLocalContext().getGoalPlanningVo().getMinutes());
            form.ctnDetails().lblMinutes().setValue(path.toString());
            form.ctnDetails().lblMinutes().setTooltip(path.toString());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void setScreenToEdit(boolean bEnabled) 
{
    form.setMode(FormMode.EDIT);
    form.getContextMenus().hideAllGenericGridMenuItems();
    form.getContextMenus().getGoalPlanningMeetingInviteesADDFAMILYMEMBERItem().setVisible(true);
    form.getContextMenus().getGoalPlanningMeetingInviteesADDHCPItem().setVisible(true);
    enableClinTeamMemberMenu();
    if(bEnabled)
        form.getLocalContext().setGoalPlanningVo(null);
    else{
        if(form.ctnDetails().cmbOutcome().getValue()!=null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED))  
            form.ctnDetails().cmbCancReason().setEnabled(true);

        if(form.getLocalContext().getGoalPlanningVo().getMinutesIsNotNull())
        {
            StringBuffer path = new StringBuffer();
            path.append("Minutes: ");
            path.append(form.getLocalContext().getGoalPlanningVo().getMinutes());
            form.ctnDetails().lblMinutes().setValue(path.toString());
            form.ctnDetails().lblMinutes().setTooltip(path.toString());
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void setScreenToEdit(boolean bEnabled) 
{
    form.setMode(FormMode.EDIT);
    form.getContextMenus().hideAllGenericGridMenuItems();
    form.getContextMenus().getGoalPlanningMeetingInviteesADDFAMILYMEMBERItem().setVisible(true);
    form.getContextMenus().getGoalPlanningMeetingInviteesADDHCPItem().setVisible(true);
    enableClinTeamMemberMenu();
    if(bEnabled)
        form.getLocalContext().setGoalPlanningVo(null);
    else{
        if(form.ctnDetails().cmbOutcome().getValue()!=null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED))  
            form.ctnDetails().cmbCancReason().setEnabled(true);

        if(form.getLocalContext().getGoalPlanningVo().getMinutesIsNotNull())
        {
            StringBuffer path = new StringBuffer();
            path.append("Minutes: ");
            path.append(form.getLocalContext().getGoalPlanningVo().getMinutes());
            form.ctnDetails().lblMinutes().setValue(path.toString());
            form.ctnDetails().lblMinutes().setTooltip(path.toString());
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
protected void onCmbOutcomeValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if(form.ctnDetails().cmbOutcome().getValue()!= null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED)) 
        form.ctnDetails().cmbCancReason().setEnabled(true);
    else
    {
        form.ctnDetails().cmbCancReason().setValue(null);
        form.ctnDetails().cmbCancReason().setEnabled(false);
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onCmbOutcomeValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if(form.ctnDetails().cmbOutcome().getValue()!= null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED)) 
        form.ctnDetails().cmbCancReason().setEnabled(true);
    else
    {
        form.ctnDetails().cmbCancReason().setValue(null);
        form.ctnDetails().cmbCancReason().setEnabled(false);
    }
}
项目:openMAXIMS    文件:Logic.java   
protected void onCmbOutcomeValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if(form.ctnDetails().cmbOutcome().getValue()!= null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED)) 
        form.ctnDetails().cmbCancReason().setEnabled(true);
    else
    {
        form.ctnDetails().cmbCancReason().setValue(null);
        form.ctnDetails().cmbCancReason().setEnabled(false);
    }
}
项目:openmaxims-linux    文件:Logic.java   
protected void onCmbOutcomeValueChanged() throws ims.framework.exceptions.PresentationLogicException
{
    if(form.ctnDetails().cmbOutcome().getValue()!= null && form.ctnDetails().cmbOutcome().getValue().equals(GoalPlanningOutcome.CANCELLED)) 
        form.ctnDetails().cmbCancReason().setEnabled(true);
    else
    {
        form.ctnDetails().cmbCancReason().setValue(null);
        form.ctnDetails().cmbCancReason().setEnabled(false);
    }
}