&& editor.getEditorInput( ) instanceof ReportEditorInput )
&& editor.getEditorInput( ) instanceof IReportEditorInput )
	private void changeEnabled( IAction action )	{		IWorkbenchWindow window = PlatformUI.getWorkbench( )				.getActiveWorkbenchWindow( );		IWorkbenchPage[] pages = window.getPages( );		boolean isEnabled = false;		for ( int i = 0; i < pages.length; i++ )		{			IEditorReference[] refs = pages[i].getEditorReferences( );			for ( int j = 0; j < refs.length; j++ )			{				IEditorPart editor = refs[j].getEditor( false );				if ( editor != null						&& editor.getEditorInput( ) instanceof ReportEditorInput )				{					if ( editor instanceof ReportEditor )					{						isEnabled = canDo( );						break;					}				}			}		}		setAction( action, isEnabled );	}