Ignore:
Timestamp:
20/03/08 16:19:47 (13 years ago)
Author:
cbyrom
Message:

Remove the selectedItems class from stubB and put into its own separate class
+ add additional documentation to viewItems and selectedItems python scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/viewItems.py

    r3647 r3660  
     1# Copyright (C) 2007 STFC & NERC (Science and Technology Facilities Council). 
     2# This software may be distributed under the terms of the 
     3# Q Public License, version 1.0 or later. 
     4# http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt 
    15# 
    2 # Controller for the 'View' tab - allowing the display of WMC map layers 
    3 # 
    4 # $Id$ 
    5 # 
     6""" 
     7 Controller for the 'View' tab - allowing the display of WMC map layers 
     8 
     9 @author C Byrom Feb 08 
     10""" 
     11 
    612from ows_server.lib.base import * 
    713from paste.request import parse_querystring 
    814from ows_server.models import Utilities 
    915from ows_server.lib.wmc_util import * 
    10 from ows_server.models import stubB 
     16from ows_server.models import selectedItem 
    1117import copy 
    1218 
     
    5460    def addViewItem(self,endpoint): 
    5561         
    56         item = stubB.SelectedItem(None, None, None, endpoint) 
     62        item = selectedItem.SelectedItem(None, None, None, endpoint) 
    5763         
    5864        selections = [item,] 
Note: See TracChangeset for help on using the changeset viewer.