if ( cmbSorting.getText( ) .equals( UNSORTED_OPTION ) ) { sdf.eUnset( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) ); } else { sdf.setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) ); }
sdf.setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) );
							public Object run( )							{								List sds = ChartUIUtil.getAllOrthogonalSeriesDefinitions( context.getModel( ) );								for ( int i = 0; i < sds.size( ); i++ )								{									if ( i != 0 )									{										// Except for the first, which should be										// changed manually.										SeriesDefinition sdf = (SeriesDefinition) sds.get( i );										if ( cmbSorting.getText( )												.equals( UNSORTED_OPTION ) )										{											sdf.eUnset( DataPackage.eINSTANCE.getSeriesDefinition_Sorting( ) );										}										else										{											sdf.setSorting( SortOption.getByName( LiteralHelper.sortOptionSet.getNameByDisplayName( cmbSorting.getText( ) ) ) );										}									}								}								return null;							}