if ( iSelectedIndex < elPaletteEntries.size( ) - 1 )
if ( iSelectedIndex < elPaletteEntries1.size( ) - 1 )
	public void widgetSelected( SelectionEvent sev )	{		if ( sev.getSource( ) == sb )		{			int iSelection = sb.getSelection( );			iViewY = iSelection;			coPaletteEntries.redraw( );		}		else		{			final Button btn = (Button) sev.getSource( );			if ( btn == btnAdd )			{				if ( fccNewEntry.getFill( ) != null )				{					append( (Fill) EcoreUtil.copy( fccNewEntry.getFill( ) ) );				}				else				{					append( ColorDefinitionImpl.TRANSPARENT( ) );				}			}			else if ( btn == btnRemove )			{				remove( iSelectedIndex );			}			else if ( ( btn.getStyle( ) & SWT.UP ) == SWT.UP )			{				if ( iSelectedIndex > 0 )				{					swap( iSelectedIndex, iSelectedIndex - 1 );				}			}			else if ( ( btn.getStyle( ) & SWT.DOWN ) == SWT.DOWN )			{				if ( iSelectedIndex < elPaletteEntries.size( ) - 1 )				{					swap( iSelectedIndex, iSelectedIndex + 1 );				}			}		}	}