IEditorPart editor = UIUtil.getActiveEditor( true ); if ( editor != null ) { return ( editor.getEditorInput( ).getName( ).endsWith( ".rptlibrary" ) ); } return false;
return ( selectLibrary( ) || editLibrary( ) );
	private boolean isEnable( )	{		IEditorPart editor = UIUtil.getActiveEditor( true );		if ( editor != null )		{			return ( editor.getEditorInput( ).getName( ).endsWith( ".rptlibrary" ) ); //$NON-NLS-1$		}		return false;	}