use of com.sldeditor.common.output.SLDOutputInterface in project sldeditor by robward-scisys.
the class RenderPanelImpl method renderSymbol.
/**
* Render symbol.
*/
/*
* (non-Javadoc)
*
* @see com.sldeditor.marker.iface.RenderSymbolInterface#renderSymbol()
*/
@Override
public void renderSymbol() {
validSymbol = SelectedSymbol.getInstance().isValid();
if (validSymbol) {
StyledLayerDescriptor sld = SelectedSymbol.getInstance().getSld();
SLDDataInterface sldData = SLDEditorFile.getInstance().getSLDData();
if (sld != null) {
for (SLDOutputInterface sldOutput : sldOutputList) {
sldOutput.updatedSLD(sldData, sld);
}
renderSymbol((Style) renderSymbol.getRenderStyle(SelectedSymbol.getInstance()));
} else {
renderSymbol(null);
}
} else {
repaint();
}
}
Aggregations