/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1432 by jonathan, Wed Jul 16 13:24:03 2003 UTC revision 1526 by jonathan, Wed Jul 30 15:43:06 2003 UTC
# Line 24  import classifier, resource Line 24  import classifier, resource
24    
25  from Thuban.Model.classgen import \  from Thuban.Model.classgen import \
26      generate_uniform_distribution, generate_singletons, generate_quantiles, \      generate_uniform_distribution, generate_singletons, generate_quantiles, \
27      CustomRamp, GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp, \      CustomRamp, grey_ramp, red_ramp, green_ramp, blue_ramp, green_to_red_ramp, \
28      HotToColdRamp, FixedRamp      HotToColdRamp, FixedRamp
29    
30    
# Line 136  class ClassGenDialog(wxDialog): Line 136  class ClassGenDialog(wxDialog):
136          self.propPanel = None          self.propPanel = None
137          custom_ramp_panel = CustomRampPanel(self, layer.ShapeType())          custom_ramp_panel = CustomRampPanel(self, layer.ShapeType())
138    
139          self.propCombo.Append(PROPCOMBOSTR_GREY,  GreyRamp)          self.propCombo.Append(PROPCOMBOSTR_GREY,  grey_ramp)
140          self.propCombo.Append(PROPCOMBOSTR_RED,   RedRamp)          self.propCombo.Append(PROPCOMBOSTR_RED,   red_ramp)
141          self.propCombo.Append(PROPCOMBOSTR_GREEN, GreenRamp)          self.propCombo.Append(PROPCOMBOSTR_GREEN, green_ramp)
142          self.propCombo.Append(PROPCOMBOSTR_BLUE,  BlueRamp)          self.propCombo.Append(PROPCOMBOSTR_BLUE,  blue_ramp)
143          self.propCombo.Append(PROPCOMBOSTR_GREEN2RED, GreenToRedRamp)          self.propCombo.Append(PROPCOMBOSTR_GREEN2RED, green_to_red_ramp)
144          self.propCombo.Append(PROPCOMBOSTR_HOT2COLD,  HotToColdRamp())          self.propCombo.Append(PROPCOMBOSTR_HOT2COLD,  HotToColdRamp())
145          self.propCombo.Append(PROPCOMBOSTR_CUSTOM, custom_ramp_panel)          self.propCombo.Append(PROPCOMBOSTR_CUSTOM, custom_ramp_panel)
146    

Legend:
Removed from v.1432  
changed lines
  Added in v.1526

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26