if (clrTmp.getRed() == 0)
int iTransparency = 0; if (fCurrent instanceof ColorDefinition)
    public void mouseDown(MouseEvent e)    {        fireHandleEvent(MOUSE_CLICKED_EVENT);        if (e.getSource().equals(cnvSelection))        {            toggleDropDown();        }        else if (e.getSource() instanceof ColorSelectionCanvas)        {            ColorDefinition cTmp = AttributeFactory.eINSTANCE.createColorDefinition();            Color clrTmp = ((ColorSelectionCanvas) e.getSource()).getColorAt(e.x, e.y);            cTmp.set(clrTmp.getRed(), clrTmp.getGreen(), clrTmp.getBlue());            if (clrTmp.getRed() == 0)            {                cTmp.setTransparency(255);            }            setFill(cTmp);            fireHandleEvent(FillChooserComposite.FILL_CHANGED_EVENT);            cmpDropDown.getShell().dispose();        }    }