getSite( ).getWorkbenchWindow( ) .getPartService( ) .addPartListener( this );
	public void init( IEditorSite site, IEditorInput input )			throws PartInitException	{		super.init( site, input );		getSite( ).getWorkbenchWindow( )				.getPartService( )				.addPartListener( this );		site.setSelectionProvider( new FormEditorSelectionProvider( this ) );		IReportProvider provider = EditorUtil.getReportProvider( this, input );		if ( provider != null && provider.getInputPath( input ) != null )		{			setPartName( provider.getInputPath( input ).lastSegment( ) );		}		else		{			setPartName( input.getName( ) );		}	}