if ( event.widget.equals( lacLabel ) ) { if ( this.lstMarkers.getSelection( ).length != 0 ) { switch ( event.type ) { case LabelAttributesComposite.FONT_CHANGED_EVENT : getSelectedMarkerLabel( ).getCaption( ) .setFont( (FontDefinition) ( (Object[]) event.data )[0] ); getSelectedMarkerLabel( ).getCaption( ) .setColor( (ColorDefinition) ( (Object[]) event.data )[1] ); break; case LabelAttributesComposite.BACKGROUND_CHANGED_EVENT : getSelectedMarkerLabel( ).setBackground( (Fill) event.data ); break; case LabelAttributesComposite.OUTLINE_STYLE_CHANGED_EVENT : getSelectedMarkerLabel( ).getOutline( ) .setStyle( (LineStyle) event.data ); break; case LabelAttributesComposite.OUTLINE_WIDTH_CHANGED_EVENT : getSelectedMarkerLabel( ).getOutline( ) .setThickness( ( (Integer) event.data ).intValue( ) ); break; case LabelAttributesComposite.OUTLINE_COLOR_CHANGED_EVENT : getSelectedMarkerLabel( ).getOutline( ) .setColor( (ColorDefinition) event.data ); break; case LabelAttributesComposite.OUTLINE_VISIBILITY_CHANGED_EVENT : getSelectedMarkerLabel( ).getOutline( ) .setVisible( ( (Boolean) event.data ).booleanValue( ) ); break; } } } else if ( event.widget.equals( fccRange ) )
if ( event.widget.equals( fccRange ) )
	public void handleEvent( Event event )	{		if ( event.widget.equals( lacLabel ) )		{			if ( this.lstMarkers.getSelection( ).length != 0 )			{				switch ( event.type )				{					case LabelAttributesComposite.FONT_CHANGED_EVENT :						getSelectedMarkerLabel( ).getCaption( )								.setFont( (FontDefinition) ( (Object[]) event.data )[0] );						getSelectedMarkerLabel( ).getCaption( )								.setColor( (ColorDefinition) ( (Object[]) event.data )[1] );						break;					case LabelAttributesComposite.BACKGROUND_CHANGED_EVENT :						getSelectedMarkerLabel( ).setBackground( (Fill) event.data );						break;					case LabelAttributesComposite.OUTLINE_STYLE_CHANGED_EVENT :						getSelectedMarkerLabel( ).getOutline( )								.setStyle( (LineStyle) event.data );						break;					case LabelAttributesComposite.OUTLINE_WIDTH_CHANGED_EVENT :						getSelectedMarkerLabel( ).getOutline( )								.setThickness( ( (Integer) event.data ).intValue( ) );						break;					case LabelAttributesComposite.OUTLINE_COLOR_CHANGED_EVENT :						getSelectedMarkerLabel( ).getOutline( )								.setColor( (ColorDefinition) event.data );						break;					case LabelAttributesComposite.OUTLINE_VISIBILITY_CHANGED_EVENT :						getSelectedMarkerLabel( ).getOutline( )								.setVisible( ( (Boolean) event.data ).booleanValue( ) );						break;				}			}		}		else if ( event.widget.equals( fccRange ) )		{			( (DialRegion) ( getDialForProcessing( ).getDialRegions( ) ).get( getMarkerIndex( ) ) ).setFill( (Fill) event.data );		}		else if ( event.widget.equals( txtStartValue ) )		{			int iMarkerIndex = getMarkerIndex( );			( (DialRegion) ( getDialForProcessing( ).getDialRegions( ) ).get( iMarkerIndex ) ).setStartValue( this.getTypedDataElement( txtStartValue.getText( ) ) );		}		else if ( event.widget.equals( txtEndValue ) )		{			int iMarkerIndex = getMarkerIndex( );			( (DialRegion) ( getDialForProcessing( ).getDialRegions( ) ).get( iMarkerIndex ) ).setEndValue( this.getTypedDataElement( txtEndValue.getText( ) ) );		}		else if ( event.widget.equals( txtInnerRadius ) )		{			( (DialRegion) ( getDialForProcessing( ).getDialRegions( ) ).get( getMarkerIndex( ) ) ).setInnerRadius( Double.parseDouble( trimString( txtInnerRadius.getText( ) ) ) );		}		else if ( event.widget.equals( txtOuterRadius ) )		{			( (DialRegion) ( getDialForProcessing( ).getDialRegions( ) ).get( getMarkerIndex( ) ) ).setOuterRadius( Double.parseDouble( trimString( txtOuterRadius.getText( ) ) ) );		}		else if ( event.widget.equals( liacMarkerRange ) )		{			if ( event.type == LineAttributesComposite.STYLE_CHANGED_EVENT )			{				( (DialRegion) getDialForProcessing( ).getDialRegions( )						.get( getMarkerIndex( ) ) ).getOutline( )						.setStyle( (LineStyle) event.data );			}			else if ( event.type == LineAttributesComposite.WIDTH_CHANGED_EVENT )			{				( (DialRegion) getDialForProcessing( ).getDialRegions( )						.get( getMarkerIndex( ) ) ).getOutline( )						.setThickness( ( (Integer) event.data ).intValue( ) );			}			else if ( event.type == LineAttributesComposite.COLOR_CHANGED_EVENT )			{				( (DialRegion) getDialForProcessing( ).getDialRegions( )						.get( getMarkerIndex( ) ) ).getOutline( )						.setColor( (ColorDefinition) event.data );			}			else			{				( (DialRegion) getDialForProcessing( ).getDialRegions( )						.get( getMarkerIndex( ) ) ).getOutline( )						.setVisible( ( (Boolean) event.data ).booleanValue( ) );			}		}	}