setState( cmbTypes.getText( ) );
setState( LiteralHelper.axisTypeSet.getNameByDisplayName( cmbTypes.getText( ) ) );
	public void widgetSelected( SelectionEvent e )	{		Object oSource = e.getSource( );		if ( oSource.equals( cmbTypes ) )		{			getAxisForProcessing( ).setType( AxisType.get( LiteralHelper.axisTypeSet.getNameByDisplayName( cmbTypes.getText( ) ) ) );			convertSampleData( );			setState( cmbTypes.getText( ) );		}		else if ( oSource.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.get( LiteralHelper.intersectionTypeSet.getNameByDisplayName( cmbOrigin.getText( ) ) ) );		}		else if ( oSource.equals( cmbScaleUnit ) )		{			getAxisForProcessing( ).getScale( )					.setUnit( ScaleUnitType.get( LiteralHelper.scaleUnitTypeSet.getNameByDisplayName( cmbScaleUnit.getText( ) ) ) );		}		else if ( oSource.equals( btnFormatSpecifier ) )		{			String sAxisTitle = Messages.getString( "BaseAxisDataSheetImpl.Lbl.BaseAxis" ); //$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 = new MessageFormat( Messages.getString( "BaseAxisDataSheetImpl.Lbl.BaseAxis2" ) ).format( new Object[]{sTitleString} ); //$NON-NLS-1$			}			catch ( NullPointerException e1 )			{			}			FormatSpecifier formatspecifier = null;			if ( getAxisForProcessing( ).getFormatSpecifier( ) != null )			{				formatspecifier = getAxisForProcessing( ).getFormatSpecifier( );			}			FormatSpecifierDialog editor = new FormatSpecifierDialog( cmpContent.getShell( ),					formatspecifier,					sAxisTitle );			if ( !editor.wasCancelled( ) )			{				if ( editor.getFormatSpecifier( ) == null )				{					getAxisForProcessing( ).eUnset( ComponentPackage.eINSTANCE.getAxis_FormatSpecifier( ) );					return;				}				getAxisForProcessing( ).setFormatSpecifier( editor.getFormatSpecifier( ) );			}		}	}