else if ( e.getSource( ).equals( btnMarkerVisible ) ) { ( (Marker) ( (LineSeries) series ).getMarkers( ).get( 0 ) ).setVisible( btnMarkerVisible.getSelection( ) ); cmbMarkerTypes.setEnabled( btnMarkerVisible.getSelection( ) ); iscMarkerSize.setEnabled( btnMarkerVisible.getSelection( ) ); } else if ( e.getSource( ).equals( cmbMarkerTypes ) ) { if ( MarkerType.getByName( getSelectedMarkerName( ) ) == MarkerType.ICON_LITERAL ) { MarkerIconDialog iconDialog = new MarkerIconDialog( this.getShell( ), getSeriesMarker( ).getFill( ) );  if ( iconDialog.applyMarkerIcon( ) ) { Fill resultFill = iconDialog.getFill( ); if ( resultFill.eAdapters( ).isEmpty( ) ) {  resultFill.eAdapters( ) .addAll( getSeriesMarker( ).eAdapters( ) ); } getSeriesMarker( ).setFill( resultFill ); } else { cmbMarkerTypes.setText( LiteralHelper.markerTypeSet.getDisplayNameByName( getSeriesMarker( ).getType( ) .getName( ) ) ); } }  getSeriesMarker( ).setType( MarkerType.getByName( getSelectedMarkerName( ) ) ); }
	public void widgetSelected( SelectionEvent e )	{		if ( e.getSource( ).equals( btnCurve ) )		{			( (LineSeries) series ).setCurve( btnCurve.getSelection( ) );		}		else if ( e.getSource( ).equals( btnPalette ) )		{			( (LineSeries) series ).setPaletteLineColor( btnPalette.getSelection( ) );		}		else if ( e.getSource( ).equals( btnMissingValue ) )		{			( (LineSeries) series ).setConnectMissingValue( btnMissingValue.getSelection( ) );		}		else if ( e.getSource( ).equals( btnMarkerVisible ) )		{			( (Marker) ( (LineSeries) series ).getMarkers( ).get( 0 ) ).setVisible( btnMarkerVisible.getSelection( ) );			cmbMarkerTypes.setEnabled( btnMarkerVisible.getSelection( ) );			iscMarkerSize.setEnabled( btnMarkerVisible.getSelection( ) );		}		else if ( e.getSource( ).equals( cmbMarkerTypes ) )		{			if ( MarkerType.getByName( getSelectedMarkerName( ) ) == MarkerType.ICON_LITERAL )			{				MarkerIconDialog iconDialog = new MarkerIconDialog( this.getShell( ),						getSeriesMarker( ).getFill( ) );				if ( iconDialog.applyMarkerIcon( ) )				{					Fill resultFill = iconDialog.getFill( );					if ( resultFill.eAdapters( ).isEmpty( ) )					{						// Add adapters to new EObject						resultFill.eAdapters( )								.addAll( getSeriesMarker( ).eAdapters( ) );					}					getSeriesMarker( ).setFill( resultFill );				}				else				{					cmbMarkerTypes.setText( LiteralHelper.markerTypeSet.getDisplayNameByName( getSeriesMarker( ).getType( )							.getName( ) ) );				}			}			getSeriesMarker( ).setType( MarkerType.getByName( getSelectedMarkerName( ) ) );		}	}