Coverage Report - org.kuali.student.lum.program.client.major.edit.MajorProposalChangeImpactEditConfiguration
 
Classes in this File Line Coverage Branch Coverage Complexity
MajorProposalChangeImpactEditConfiguration
0%
0/11
N/A
1
 
 1  
 package org.kuali.student.lum.program.client.major.edit;
 2  
 
 3  
 import org.kuali.student.common.ui.client.configurable.mvc.SectionTitle;
 4  
 import org.kuali.student.common.ui.client.configurable.mvc.sections.VerticalSection;
 5  
 import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView;
 6  
 import org.kuali.student.common.ui.client.widgets.field.layout.element.MessageKeyInfo;
 7  
 import org.kuali.student.lum.common.client.configuration.AbstractSectionConfiguration;
 8  
 import org.kuali.student.lum.program.client.ProgramConstants;
 9  
 import org.kuali.student.lum.program.client.ProgramSections;
 10  
 import org.kuali.student.lum.program.client.properties.ProgramProperties;
 11  
 
 12  
 /**
 13  
  * @author Igor
 14  
  */
 15  
 public class MajorProposalChangeImpactEditConfiguration extends AbstractSectionConfiguration {
 16  
 
 17  
    
 18  0
     public MajorProposalChangeImpactEditConfiguration() {
 19  0
         rootSection = new VerticalSectionView(ProgramSections.PROGRAM_PROPOSAL_CHANGE_IMPACT_EDIT, ProgramProperties.get().program_menu_sections_proposalChangeImpact(), ProgramConstants.PROGRAM_MODEL_ID);
 20  0
     }
 21  
 
 22  
     @Override
 23  
     protected void buildLayout() {
 24  0
         VerticalSection section = new VerticalSection(SectionTitle.generateH3Title("Change Impact"));  //TODO: get title from ProgramProperties
 25  
   
 26  
         // TODO: Move keys to ProgramConstants
 27  0
         section = new VerticalSection(SectionTitle.generateH3Title("Change Impact"));  //TODO: get title from ProgramProperties
 28  0
         configurer.addField(section, "proposal/relatedCourseChanges", new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluRelatedCourseChangesType()));        
 29  
         //configurer.addField(section, ProgramConstants.PROPOSAL_TYPE_OF_MODIFICATON_PATH, new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluModificationType()));
 30  0
         configurer.addField(section, "proposal/impactedUnits", new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluImpactedUnitsType()));        
 31  0
         configurer.addField(section, "proposal/impactedArticulationTransferPrograms", new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluImpactedArticulationTransferProgramsType()));
 32  0
         configurer.addField(section, "proposal/studentTransitionPlans", new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluStudentTransitionPlansType()));
 33  0
         rootSection.addSection(section);     
 34  
          
 35  0
      }
 36  
  
 37  
 }