lblStyle.setEnabled(((Boolean) event.data).booleanValue()); cmbTickStyle.setEnabled(((Boolean) event.data).booleanValue());
    public void handleEvent(Event event)    {        Event eGrid = new Event();        eGrid.widget = this;        if (event.widget.equals(liacLines))        {            if (event.type == LineAttributesComposite.STYLE_CHANGED_EVENT)            {                eGrid.type = LINE_STYLE_CHANGED_EVENT;                eGrid.data = event.data;                //				grid.getStyle().setStyle((LineStyle) event.data);            }            else if (event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT)            {                eGrid.type = LINE_WIDTH_CHANGED_EVENT;                eGrid.data = event.data;                //				grid.getStyle().setThickness(((Integer)                // event.data).intValue());            }            else if (event.type == LineAttributesComposite.COLOR_CHANGED_EVENT)            {                eGrid.type = LINE_COLOR_CHANGED_EVENT;                eGrid.data = event.data;                //				grid.getStyle().setColor((ColorDefinition) event.data);            }            else            {                eGrid.type = LINE_VISIBILITY_CHANGED_EVENT;                eGrid.data = event.data;                //				grid.getStyle().setVisible(((Boolean)                // event.data).booleanValue());            }        }        else if (event.widget.equals(liacTicks))        {            if (event.type == LineAttributesComposite.COLOR_CHANGED_EVENT)            {                eGrid.type = TICK_COLOR_CHANGED_EVENT;                eGrid.data = event.data;                grid.getTickAttributes().setColor((ColorDefinition) event.data);            }            else            {                eGrid.type = TICK_VISIBILITY_CHANGED_EVENT;                eGrid.data = event.data;                grid.getTickAttributes().setVisible(((Boolean) event.data).booleanValue());            }        }        else        {            // Unknown event            return;        }        fireEvent(eGrid);    }