Bug 145848 TVT3.2:TCT867: tw : "Reset Method" button is truncated in Report Editor
OS : RHEL 3.1 Must fix or not a must fix: YES Build date: 0605 Component name = BIRT Blocking: NO Language: tw Bitmap Location: V:\defects\cht Tester Name: Ivory Chang Problem Description: "Reset Method" button is truncated in Report Editor and can NOT be resized. Step: Start Eclipse Click Window->Open Perspective->Other On Navigator view, right click the project and select Import Select File System, and select the Test_Report_1.rptdesign and Test_Report_1.properties Click Finish Double click the Test_Report_1.rptdesign on Navigator view Select "Script" tab in Report Editor This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
cmbExprListViewer.setContentProvider( provider );
		cmbExprListViewer.setLabelProvider( provider );
		
		Object model = getModel( );
		if ( model != null )
		{
			cmbExpList.setVisible( true );
			setComboViewerInput( model );
		}
		else
		{
			setComboViewerInput( Messages.getString( "JSEditor.Input.trial" ) ); 
		}
		cmbExprListViewer.addSelectionChangedListener( palettePage.getSupport( ) );
		cmbExprListViewer.addSelectionChangedListener( new ISelectionChangedListener( ) {
			/**
			 * selectionChanged( event) - This listener implementation is
			 * invoked when an item in the combo box is selected, - It saves the
			 * current editor contents. - Updates the editor content with the
			 * expression corresponding to the selected method name or
			 * expression. name.
			 */
			public void selectionChanged( SelectionChangedEvent event )
			{
				ISelection selection = event.getSelection( );
				if ( selection != null )
				{
					settingText = true;
					Object[] sel = ( (IStructuredSelection) selection ).toArray( );
					if ( sel.length == 1 )