else if ( e.widget.equals( btnTVisible ) ) { getChart( ).getTitle( ) .setVisible( btnTVisible.getSelection( ) ); txtTitle.setEnabled( btnTVisible.getSelection( ) ); btnTitleProp.setEnabled( btnTVisible.getSelection( ) );  if( btnTitleProp.getSelection( ) ) { detachPopup( ); } }
	public void widgetSelected( SelectionEvent e )	{		// detach popup dialogue		if ( detachPopup( e.widget ) )		{			return;		}		if ( e.widget instanceof Button				&& ( ( (Button) e.widget ).getStyle( ) & SWT.TOGGLE ) == SWT.TOGGLE				&& ( (Button) e.widget ).getSelection( ) )		{			selectAllButtons( false );			( (Button) e.widget ).setSelection( true );		}		if ( e.widget.equals( btnTitleProp ) )		{			popupShell = createPopupShell( );			popupSheet = new TitlePropertiesSheet( popupShell, getChart( ) );			getWizard( ).attachPopup( btnTitleProp.getText( ), -1, -1 );		}		else if ( e.widget.equals( btnBlockProp ) )		{			popupShell = createPopupShell( );			popupSheet = new BlockPropertiesSheet( popupShell, getChart( ) );			getWizard( ).attachPopup( btnBlockProp.getText( ), -1, -1 );		}		else if ( e.widget.equals( btnGeneralProp ) )		{			popupShell = createPopupShell( );			popupSheet = new MoreOptionsChartSheet( popupShell, getChart( ) );			getWizard( ).attachPopup( btnGeneralProp.getText( ), -1, -1 );		}		if ( e.widget.equals( btnVisible ) )		{			getChart( ).getBlock( )					.getOutline( )					.setVisible( btnVisible.getSelection( ) );			refreshPopupSheet( );		}		else if ( e.widget.equals( cmbColorBy ) )		{			getChart( ).getLegend( )					.setItemType( LegendItemType.get( LiteralHelper.legendItemTypeSet.getNameByDisplayName( cmbColorBy.getText( ) ) ) );		}		else if ( e.widget.equals( cmbStyle ) )		{			String sStyleName = cmbStyle.getText( );			if ( cmbStyle.getSelectionIndex( ) == 0 )			{				sStyleName = null;			}			( (ChartWizardContext) super.getContext( ) ).getDataServiceProvider( )					.setStyle( sStyleName );			refreshPreview( );		}		else if ( e.widget.equals( btnEnablePreview ) )		{			ChartPreviewPainter.enableProcessor( btnEnablePreview.getSelection( ) );			refreshPreview( );		}		else if ( e.widget.equals( btnEnable ) )		{			getChart( ).getInteractivity( ).setEnable( btnEnable.getSelection( ) );			cmbInteractivity.setEnabled( btnEnable.getSelection( ) );		}		else if ( e.widget.equals( cmbInteractivity ) )		{			getChart( ).getInteractivity( )					.setLegendBehavior( LegendBehaviorType.get( LiteralHelper.legendBehaviorTypeSet.getNameByDisplayName( cmbInteractivity.getText( ) ) )  );		}	}