Clover Coverage Report - KS LUM 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:51:40 EDT
../../../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
12   40   3   6
2   32   0.25   2
2     1.5  
1    
 
  VariationSummaryConfiguration       Line # 17 12 0% 3 16 0% 0.0
 
No Tests
 
1    package org.kuali.student.lum.program.client.variation.edit;
2   
3    import org.kuali.student.common.ui.client.configurable.mvc.sections.Section;
4    import org.kuali.student.common.ui.client.configurable.mvc.views.VerticalSectionView;
5    import org.kuali.student.lum.common.client.configuration.AbstractControllerConfiguration;
6    import org.kuali.student.lum.common.client.configuration.Configuration;
7    import org.kuali.student.lum.common.client.configuration.ConfigurationManager;
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.major.view.*;
11    import org.kuali.student.lum.program.client.properties.ProgramProperties;
12    import org.kuali.student.lum.program.client.variation.view.VariationInformationViewConfiguration;
13   
14    /**
15    * @author Igor
16    */
 
17    public class VariationSummaryConfiguration extends AbstractControllerConfiguration {
18   
 
19  0 toggle public VariationSummaryConfiguration() {
20  0 rootSection = new VerticalSectionView(ProgramSections.SUMMARY, ProgramProperties.get().variation_summary(), ProgramConstants.PROGRAM_MODEL_ID, true);
21    }
22   
 
23  0 toggle @Override
24    protected void buildLayout() {
25  0 ConfigurationManager configurationManager = new ConfigurationManager(configurer);
26  0 configurationManager.registerConfiguration(VariationInformationViewConfiguration.createSpecial());
27  0 configurationManager.registerConfiguration(ManagingBodiesViewConfiguration.createSpecial());
28  0 configurationManager.registerConfiguration(CatalogInformationViewConfiguration.createSpecial());
29  0 configurationManager.registerConfiguration(new ProgramRequirementsViewConfiguration(true));
30  0 configurationManager.registerConfiguration(LearningObjectivesViewConfiguration.createSpecial());
31  0 configurationManager.registerConfiguration(SupportingDocsViewConfiguration.createSpecial());
32  0 for (Configuration configuration : configurationManager.getConfigurations()) {
33  0 if (configuration instanceof AbstractControllerConfiguration) {
34  0 ((AbstractControllerConfiguration) configuration).setController(controller);
35    }
36  0 rootSection.addSection((Section) configuration.getView());
37    }
38    }
39    }
40