Revision 24759 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/SingleSymbol.java
SingleSymbol.java | ||
---|---|---|
58 | 58 |
import javax.swing.JTextField; |
59 | 59 |
import javax.swing.border.TitledBorder; |
60 | 60 |
|
61 |
import org.gvsig.fmap.data.ReadException;
|
|
61 |
import org.gvsig.fmap.dal.exception.ReadException;
|
|
62 | 62 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
63 | 63 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
64 | 64 |
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend; |
... | ... | |
227 | 227 |
legend.setDefaultSymbol(symbol); |
228 | 228 |
} |
229 | 229 |
txtLabel.setText(symbol.getDescription()); |
230 |
if(symbol.getDescription() != null) |
|
230 |
if(symbol.getDescription() != null) {
|
|
231 | 231 |
txtLabel.setText(symbol.getDescription()); |
232 |
} |
|
232 | 233 |
} |
233 | 234 |
|
234 | 235 |
public ISymbol getSymbol() { |
Also available in: Unified diff