else if ( e.widget.equals( btnVisible ) )
else if ( e.widget.equals( btnTitleVisible ) ) { getAxisForProcessing( ).getTitle( ) .setVisible( btnTitleVisible.getSelection( ) ); setStateOfTitle( ); refreshPopupSheet( ); } else if ( e.widget.equals( btnLabelVisible ) )
	public void widgetSelected( SelectionEvent e )	{		// Detach popup dialog if there's selected button.		if ( detachPopup( e.widget ) )		{			return;		}		if ( isRegistered( e.widget ) )		{			attachPopup( ( (Button) e.widget ).getText( ) );		}		if ( e.widget.equals( cmbTypes ) )		{			AxisType axisType = AxisType.getByName( LiteralHelper.axisTypeSet.getNameByDisplayName( cmbTypes.getText( ) ) );			// Update the Sample Data without event fired.			boolean isNotificaionIgnored = ChartAdapter.isNotificationIgnored( );			ChartAdapter.ignoreNotifications( true );			convertSampleData( axisType );			ChartAdapter.ignoreNotifications( isNotificaionIgnored );			// Set type and refresh the preview			getAxisForProcessing( ).setType( axisType );			// Update popup UI			refreshPopupSheet( );		}		else if ( e.widget.equals( cmbOrigin ) )		{			if ( LiteralHelper.intersectionTypeSet.getNameByDisplayName( cmbOrigin.getText( ) )					.equals( IntersectionType.VALUE_LITERAL.getName( ) ) )			{				lblValue.setEnabled( true );				txtValue.setEnabled( true );			}			else			{				lblValue.setEnabled( false );				txtValue.setEnabled( false );			}			getAxisForProcessing( ).getOrigin( )					.setType( IntersectionType.getByName( LiteralHelper.intersectionTypeSet.getNameByDisplayName( cmbOrigin.getText( ) ) ) );		}		else if ( e.widget.equals( btnVisible ) )		{			getAxisForProcessing( ).getLabel( )					.setVisible( btnVisible.getSelection( ) );			refreshPopupSheet( );		}		else if ( e.widget.equals( btnFormatSpecifier ) )		{			String sAxisTitle = Messages.getString( "OrthogonalAxisDataSheetImpl.Lbl.OrthogonalAxis" ); //$NON-NLS-1$			try			{				String sTitleString = getAxisForProcessing( ).getTitle( )						.getCaption( )						.getValue( );				int iSeparatorIndex = sTitleString.indexOf( ExternalizedTextEditorComposite.SEPARATOR );				if ( iSeparatorIndex > 0 )				{					sTitleString = sTitleString.substring( iSeparatorIndex );				}				else if ( iSeparatorIndex == 0 )				{					sTitleString = sTitleString.substring( ExternalizedTextEditorComposite.SEPARATOR.length( ) );				}				sAxisTitle += " (" + sTitleString + ")"; //$NON-NLS-1$ //$NON-NLS-2$			}			catch ( NullPointerException e1 )			{			}			FormatSpecifier formatspecifier = null;			if ( getAxisForProcessing( ).getFormatSpecifier( ) != null )			{				formatspecifier = getAxisForProcessing( ).getFormatSpecifier( );			}			FormatSpecifierDialog editor = new FormatSpecifierDialog( cmpContent.getShell( ),					formatspecifier,					sAxisTitle );			if ( editor.open( ) == Window.OK )			{				if ( editor.getFormatSpecifier( ) == null )				{					getAxisForProcessing( ).eUnset( ComponentPackage.eINSTANCE.getAxis_FormatSpecifier( ) );					return;				}				getAxisForProcessing( ).setFormatSpecifier( editor.getFormatSpecifier( ) );			}		}	}