source: cows/trunk/cows/service/imps/data_reader_geoplot_backend/rendering_option.py @ 5692

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/service/imps/data_reader_geoplot_backend/rendering_option.py@5697
Revision 5692, 369 bytes checked in by pnorton, 11 years ago (diff)

Made some modifications to the data renderer backend. The display options are now attached to each of the slabs rather than being stored in the shared option parser and the controller.

I've also added some code to generate the display options JSON string.

Line 
1'''
2Created on 7 Sep 2009
3
4@author: pnorton
5'''
6
7class RenderingOption(object):
8    '''
9    classdocs
10    '''
11
12
13    def __init__(self, name, title, type, default, options=None):
14        '''
15        Constructor
16        '''
17       
18        self.name = name
19        self.title = title
20        self.type = type
21        self.default = default
22        self.options = options
Note: See TracBrowser for help on using the repository browser.