Changeset 1212


Ignore:
Timestamp:
12/05/11 18:57:28 (9 years ago)
Author:
philsmart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • raptor-web/trunk/src/main/java/uk/ac/cardiff/raptorweb/service/impl/GraphServiceImpl.java

    r1207 r1212  
    8686    } 
    8787 
     88    /** 
     89     * Populates the {@link GraphModel} inside the <code>websesion</code> with the currently set statistical units if they  
     90     * do not already exist. 
     91     */ 
    8892    public void populateStatisticalUnits(WebSession websession) { 
     93        if (websession.getGraphmodel().getStatisticalUnitsForView()!=null){ 
     94            return; 
     95        } 
    8996        ArrayList<StatisticalUnitInformationView> statisticalUnitsForView = new ArrayList<StatisticalUnitInformationView>(); 
    9097        List<StatisticalUnitInformation> units = getStatisticalUnits(); 
Note: See TracChangeset for help on using the changeset viewer.