| 1 | |
package org.kuali.student.lum.program.client.major.proposal; |
| 2 | |
|
| 3 | |
import org.kuali.student.common.ui.client.configurable.mvc.Configurer; |
| 4 | |
import org.kuali.student.common.ui.client.configurable.mvc.SectionTitle; |
| 5 | |
import org.kuali.student.common.ui.client.configurable.mvc.sections.VerticalSection; |
| 6 | |
import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView; |
| 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.ProgramMsgConstants; |
| 10 | |
import org.kuali.student.lum.program.client.ProgramSections; |
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
public class MajorProposalChangeImpactEditConfiguration extends AbstractSectionConfiguration { |
| 16 | |
|
| 17 | |
|
| 18 | 0 | public MajorProposalChangeImpactEditConfiguration(Configurer configurer) { |
| 19 | 0 | this.setConfigurer(configurer); |
| 20 | 0 | rootSection = new VerticalSectionView(ProgramSections.PROGRAM_PROPOSAL_CHANGE_IMPACT_EDIT, getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_PROPOSALCHANGEIMPACT), ProgramConstants.PROGRAM_MODEL_ID); |
| 21 | 0 | } |
| 22 | |
|
| 23 | |
@Override |
| 24 | |
protected void buildLayout() { |
| 25 | 0 | VerticalSection section = new VerticalSection(SectionTitle.generateH3Title(getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_PROPOSALCHANGEIMPACT))); |
| 26 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_RELATED_COURSE_CHANGES_PATH, generateMessageInfo(ProgramMsgConstants.PROPOSALINFORMATION_CLURELATEDCOURSECHANGESTYPE)); |
| 27 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_IMPACTED_UNITS_PATH, generateMessageInfo(ProgramMsgConstants.PROPOSALINFORMATION_CLUIMPACTEDUNITSTYPE)); |
| 28 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_IMPACTED_ARTICULATION_TRANSFER_PATH, generateMessageInfo(ProgramMsgConstants.PROPOSALINFORMATION_CLUIMPACTEDARTICULATIONTRANSFERPROGRAMSTYPE)); |
| 29 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_STUDENT_TRANSITION_PLANS_PATH, generateMessageInfo(ProgramMsgConstants.PROPOSALINFORMATION_CLUSTUDENTTRANSITIONPLANSTYPE)); |
| 30 | 0 | rootSection.addSection(section); |
| 31 | 0 | } |
| 32 | |
|
| 33 | |
} |