cmbStyle.setLineStyle(getSWTLineStyle(attributes.getStyle()));
if (laCurrent == null) { cmbStyle.setLineStyle(getSWTLineStyle(LineStyle.SOLID_LITERAL)); } else { cmbStyle.setLineStyle(getSWTLineStyle(attributes.getStyle())); }
    public void setLineAttributes(LineAttributes attributes)    {        if (attributes == null)        {            return;        }        laCurrent = attributes;        if (bEnableVisibility)        {            cbVisible.setSelection(attributes.isVisible());        }        if (bEnableStyles)        {            cmbStyle.setLineStyle(getSWTLineStyle(attributes.getStyle()));        }        if (this.bEnableWidths)        {            cmbWidth.setLineWidth(attributes.getThickness());        }        cmbColor.setFill(attributes.getColor());        cmbColor.redraw();        redraw();    }