/[schmitzm]/trunk/src/skrueger/geotools/StyledLayerUtil.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledLayerUtil.java

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

revision 406 by alfonx, Mon Sep 14 18:06:27 2009 UTC revision 409 by alfonx, Fri Sep 18 15:00:29 2009 UTC
# Line 980  public class StyledLayerUtil { Line 980  public class StyledLayerUtil {
980                                  hbox.add(iconLabel);                                  hbox.add(iconLabel);
981                                  hbox.add(Box.createHorizontalStrut(3));                                  hbox.add(Box.createHorizontalStrut(3));
982    
                                 // ****************************************************************************  
                                 // The labeltext is read from the SLD. Its either the title  
                                 // directly, or interpreted as OneLine Code  
                                 // ****************************************************************************  
                                 // final String rawText =  
                                 // rule.getDescription().getTitle().toString();  
                                 final String rawText = rule.getDescription().getTitle()  
                                                 .toString();  
   
983                                  Translation labelT = new Translation();                                  Translation labelT = new Translation();
984                                  labelT.fromOneLine(rawText);                                  labelT.fromOneLine(rule.getDescription().getTitle());
985    
986                                  final JLabel classTitleLabel = new JLabel(labelT.toString());                                  final JLabel classTitleLabel = new JLabel(labelT.toString());
987                                  hbox.add(classTitleLabel);                                  hbox.add(classTitleLabel);

Legend:
Removed from v.406  
changed lines
  Added in v.409

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26