Revision 23377
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/SingleSymbol.java | ||
---|---|---|
226 | 226 |
if (legend != null){ |
227 | 227 |
legend.setDefaultSymbol(symbol); |
228 | 228 |
} |
229 |
txtLabel.setText(symbol.getDescription()); |
|
229 |
if(symbol.getDescription() != null) |
|
230 |
txtLabel.setText(symbol.getDescription()); |
|
231 |
else |
|
232 |
txtLabel.setText(" ("+PluginServices.getText(this, "current")+")"); |
|
230 | 233 |
} |
231 | 234 |
|
232 | 235 |
public ISymbol getSymbol() { |
Also available in: Unified diff