1 | |
package org.kuali.student.lum.program.client.credential.edit; |
2 | |
|
3 | |
import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView; |
4 | |
import org.kuali.student.common.ui.client.widgets.field.layout.element.MessageKeyInfo; |
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.ProgramSections; |
8 | |
import org.kuali.student.lum.program.client.properties.ProgramProperties; |
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
public class CredentialCatalogDetailsEditConfiguration extends AbstractSectionConfiguration { |
14 | |
|
15 | 0 | public CredentialCatalogDetailsEditConfiguration() { |
16 | 0 | rootSection = new VerticalSectionView(ProgramSections.CATALOG_INFO_EDIT, ProgramProperties.get().program_menu_sections_catalogInfo(), ProgramConstants.PROGRAM_MODEL_ID); |
17 | 0 | } |
18 | |
|
19 | |
@Override |
20 | |
protected void buildLayout() { |
21 | 0 | configurer.addField(rootSection, ProgramConstants.DESCRIPTION + "/plain", new MessageKeyInfo(ProgramProperties.get().catalogInformation_descr())); |
22 | 0 | configurer.addField(rootSection, ProgramConstants.MORE_INFORMATION, new MessageKeyInfo(ProgramProperties.get().catalogInformation_referenceUrl())); |
23 | 0 | } |
24 | |
} |