1 | |
package org.kuali.student.lum.program.client.major.proposal; |
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 | |
|
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(ProgramProperties.get().program_menu_sections_proposalChangeImpact())); |
25 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_RELATED_COURSE_CHANGES_PATH, new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluRelatedCourseChangesType())); |
26 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_IMPACTED_UNITS_PATH, new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluImpactedUnitsType())); |
27 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_IMPACTED_ARTICULATION_TRANSFER_PATH, new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluImpactedArticulationTransferProgramsType())); |
28 | 0 | configurer.addField(section, ProgramConstants.PROPOSAL_STUDENT_TRANSITION_PLANS_PATH, new MessageKeyInfo(ProgramProperties.get().proposalInformation_cluStudentTransitionPlansType())); |
29 | 0 | rootSection.addSection(section); |
30 | 0 | } |
31 | |
|
32 | |
} |