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
super.createPartControl( child );
		getViewer( ).addTextListener( new ITextListener( ) {
			public void textChanged( TextEvent event )
			{
				if ( !settingText
						&& !isModified
						&& event.getOffset( )!=0 )
				{
					markDirty( );
				}
			}
		} );
		this.getSourceViewer( )
				.getTextWidget( )
				.addModifyListener( new ModifyListener( ) {
					public void modifyText( ModifyEvent e )
					{
						markDirty( );
					}
				} );
		
		SessionHandleAdapter.getInstance( ).getMediator( ).addColleague( this );
		disableEditor( );
	}
	/**
	 * Get current edit element, not report design model.
	 * @return
	 */
	public Object getModel( )
	{