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( ) ) ) ); } }
	public void widgetSelected( SelectionEvent e )	{		// Detach popup dialog if there's selected popup button.		if ( detachPopup( e.widget ) )		{			return;		}		if ( isRegistered( e.widget ) )		{			attachPopup( ( (Button) e.widget ).getText( ) );		}		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( ) );			}		}	}