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); |