Revision 39121 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/SingleSymbol.java
SingleSymbol.java | ||
---|---|---|
137 | 137 |
public ILegend getLegend() { |
138 | 138 |
ISymbol symbol = getSymbolPreviewPanel().getSymbol(); |
139 | 139 |
symbol.setDescription(txtLabel.getText()); |
140 |
AbstractVectorialLegend leg = new SingleSymbolLegend(symbol);
|
|
140 |
AbstractVectorialLegend leg = new SingleSymbolLegend(); |
|
141 | 141 |
leg.setShapeType(shapeType); |
142 |
leg.setDefaultSymbol(symbol); |
|
142 | 143 |
leg.setZSort(zSort); |
143 | 144 |
return leg; |
144 | 145 |
} |
Also available in: Unified diff