public ColorSelectionCanvas( Composite parent, int iStyle, Color[] colorMap ) { super( parent, iStyle ); this.addPaintListener( this ); this.colorMap = colorMap; }
public ColorSelectionCanvas( Composite parent, int iStyle, final Color[] colorMap ) { super( parent, iStyle ); this.colorMap = colorMap; this.addListener( SWT.Paint, this ); this.addListener( SWT.KeyDown, this ); this.addListener( SWT.MouseDown, this ); this.addListener( SWT.FocusIn, this ); }
	public ColorSelectionCanvas( Composite parent, int iStyle, Color[] colorMap )	{		super( parent, iStyle );		this.addPaintListener( this );		this.colorMap = colorMap;	}