*/
public void apply() {
LineSymbolizer symbolizer = (LineSymbolizer) getContent();
StyleBuilder styleBuilder = getStyleBuilder();
Stroke stroke = symbolizer.getStroke();
if (stroke == null) {
stroke = getStyleBuilder().createStroke();
symbolizer.setStroke(stroke);
}
Color c = lineColourEditor.getColor();
stroke.setWidth(styleBuilder.literalExpression(lineWidth.getSelection()));
stroke.setColor(styleBuilder.colorExpression(c));
stroke.setOpacity(styleBuilder.literalExpression(lineOpacity.getSelection()
/ opacityMaxValueFloat));
stroke.setLineJoin(styleBuilder.literalExpression(linejoinCombo.getText()));
stroke.setLineCap(styleBuilder.literalExpression(linecapCombo.getText()));
// TODO: This functionality to be added later with a better UI...goes with other task
// if (!lineDashText.getText().equalsIgnoreCase("")
// && !lineSpaceText.getText().equalsIgnoreCase("")) {
// float dash = Float.parseFloat(lineDashText.getText());