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
if ( editorUIEnabled == true )
		{
			
			saveModelIfNeeds( );
		}
		if ( selection != null )
		{
			settingText = true;
			Object[] sel = ( (IStructuredSelection) selection ).toArray( );
			if ( sel.length == 1 && sel[0] instanceof DesignElementHandle )
			{
				
				editObject = sel[0];
				palettePage.getSupport( ).setCurrentEditObject( editObject );
				if ( editObject instanceof ExtendedItemHandle )
				{
					disableEditor( );
					cmbExpList.removeAll( );
					cmbItemLastSelected = null;
					getSourceViewer( ).getTextWidget( ).setEnabled( true );
					setEditorText( ( (ExtendedItemHandle) editObject ).getExternalScript( ) );
					context.setVariable( "this", "org.eclipse.birt.report.model.api.ExtendedItemHandle" ); 
				}
				else
				{
					setComboViewerInput( editObject );
					
					cmbItemLastSelected = null;
					setEditorText( "" );