selectAllButtons( false ); ( (Button) e.widget ).setSelection( true ); }  if ( e.widget.equals( btnSeriesPal ) ) { popupShell = createPopupShell( ); popupSheet = new SeriesPaletteSheet( popupShell, getContext( ), getSeriesDefinitionForProcessing( ) ); getWizard( ).attachPopup( btnSeriesPal.getText( ), -1, -1 );
attachPopup( ( (Button) e.widget ).getText( ) );
	public void widgetSelected( SelectionEvent e )	{		// detach popup dialogue		if ( detachPopup( e.widget ) )		{			return;		}		if ( e.widget instanceof Button				&& ( ( (Button) e.widget ).getStyle( ) & SWT.TOGGLE ) == SWT.TOGGLE				&& ( (Button) e.widget ).getSelection( ) )		{			selectAllButtons( false );			( (Button) e.widget ).setSelection( true );		}		if ( e.widget.equals( btnSeriesPal ) )		{			popupShell = createPopupShell( );			popupSheet = new SeriesPaletteSheet( popupShell,					getContext( ),					getSeriesDefinitionForProcessing( ) );			getWizard( ).attachPopup( btnSeriesPal.getText( ), -1, -1 );		}		if ( e.getSource( ).equals( cmbSorting ) )		{			if ( cmbSorting.getText( ).equals( UNSORTED_OPTION ) )			{				getSeriesDefinitionForProcessing( ).eUnset( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) );			}			else			{				getSeriesDefinitionForProcessing( ).setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) );			}		}		if ( getChart( ) instanceof ChartWithoutAxes )		{			if ( e.widget.equals( cmbMinSlice ) )			{				( (ChartWithoutAxes) getChart( ) ).setMinSlicePercent( cmbMinSlice.getSelectionIndex( ) == 0 );				lblBottomPercent.setVisible( ( (ChartWithoutAxes) getChart( ) ).isMinSlicePercent( ) );			}		}	}