1 | |
package org.kuali.student.lum.program.client.credential.edit; |
2 | |
|
3 | |
import org.kuali.student.common.ui.client.configurable.mvc.Configurer; |
4 | |
import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView; |
5 | |
import org.kuali.student.lum.common.client.configuration.AbstractSectionConfiguration; |
6 | |
import org.kuali.student.lum.program.client.ProgramConstants; |
7 | |
import org.kuali.student.lum.program.client.ProgramMsgConstants; |
8 | |
import org.kuali.student.lum.program.client.ProgramSections; |
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
public class CredentialCatalogDetailsEditConfiguration extends AbstractSectionConfiguration { |
14 | |
|
15 | 0 | public CredentialCatalogDetailsEditConfiguration(Configurer configurer) { |
16 | 0 | this.setConfigurer(configurer); |
17 | 0 | rootSection = new VerticalSectionView(ProgramSections.CATALOG_INFO_EDIT, getLabel(ProgramMsgConstants.PROGRAM_MENU_SECTIONS_CATALOGINFO), |
18 | |
ProgramConstants.PROGRAM_MODEL_ID); |
19 | 0 | } |
20 | |
|
21 | |
@Override |
22 | |
protected void buildLayout() { |
23 | 0 | configurer.addField(rootSection, ProgramConstants.DESCRIPTION + "/plain", generateMessageInfo(ProgramMsgConstants.CATALOGINFORMATION_DESCR)); |
24 | 0 | configurer.addField(rootSection, ProgramConstants.MORE_INFORMATION, generateMessageInfo(ProgramMsgConstants.CATALOGINFORMATION_REFERENCEURL)); |
25 | 0 | } |
26 | |
} |