btnUp.setText( Messages.getString( "PaletteEditorComposite.Lbl.Up" ) );
btnUp.setToolTipText( Messages.getString( "PaletteEditorComposite.Lbl.Up" ) );
	public PaletteEditorComposite( Composite coParent,			ChartWizardContext wizardContext, Palette pa )	{		super( coParent, SWT.NONE );		this.wizardContext = wizardContext;		GridLayout gl = new GridLayout( );		gl.numColumns = 1;		gl.makeColumnsEqualWidth = true;		setLayout( gl );		coPaletteEntries = new Composite( this, SWT.V_SCROLL );		GridData gd = new GridData( GridData.FILL_BOTH );		coPaletteEntries.setLayoutData( gd );		elPaletteEntries = pa.getEntries( );		sb = coPaletteEntries.getVerticalBar( );		sb.addSelectionListener( this );		Composite coControlPanel = new Composite( this, SWT.NONE );		gd = new GridData( GridData.FILL_HORIZONTAL );		coControlPanel.setLayoutData( gd );		gl = new GridLayout( );		gl.numColumns = 5;		coControlPanel.setLayout( gl );		btnAdd = new Button( coControlPanel, SWT.PUSH );		gd = new GridData( );		btnAdd.setLayoutData( gd );		btnAdd.setText( Messages.getString( "PaletteEditorComposite.Lbl.Add" ) ); //$NON-NLS-1$		btnAdd.addSelectionListener( this );		fccNewEntry = new FillChooserComposite( coControlPanel,				SWT.NONE,				wizardContext,				ColorDefinitionImpl.WHITE( ),				true,				true );		gd = new GridData( GridData.FILL_HORIZONTAL );		fccNewEntry.setLayoutData( gd );		btnRemove = new Button( coControlPanel, SWT.PUSH );		gd = new GridData( );		btnRemove.setLayoutData( gd );		btnRemove.setText( Messages.getString( "PaletteEditorComposite.Lbl.Remove" ) ); //$NON-NLS-1$		btnRemove.addSelectionListener( this );		btnUp = new Button( coControlPanel, SWT.ARROW | SWT.UP );		gd = new GridData( );		btnUp.setLayoutData( gd );		btnUp.setText( Messages.getString( "PaletteEditorComposite.Lbl.Up" ) ); //$NON-NLS-1$		btnUp.addSelectionListener( this );		btnDown = new Button( coControlPanel, SWT.ARROW | SWT.DOWN );		gd = new GridData( );		btnDown.setLayoutData( gd );		btnDown.setText( Messages.getString( "PaletteEditorComposite.Lbl.Down" ) ); //$NON-NLS-1$		btnDown.addSelectionListener( this );		addControlListener( this );		addDisposeListener( this );		coPaletteEntries.addPaintListener( this );		coPaletteEntries.addMouseListener( this );		final PluginSettings ps = PluginSettings.instance( );		try		{			idrSWT = ps.getDevice( "dv.SWT" ); //$NON-NLS-1$			idrSWT.getDisplayServer( );		}		catch ( ChartException pex )		{			logger.log( pex );			return;		}	}