public void setActivePage(IEditorPart activeEditor) {
        IActionBars bars = getActionBars();
        if ( activeEditor instanceof ITextEditor ) {
            if ( bars != null ) {
                contributor.setActiveEditor( activeEditor );
            }
        }
    }
public void setActivePage(IEditorPart activeEditor) {
        IActionBars bars = getActionBars();
        if ( activeEditor instanceof ITextEditor ) {
            if ( bars != null ) {
                contributor.setActiveEditor( activeEditor );
            }
        }
    }
public void setActivePage ( IEditorPart activeEditor ) { IActionBars bars = getActionBars ( ) ; if ( activeEditor instanceof ITextEditor ) { if ( bars != null ) { contributor . setActiveEditor ( activeEditor ) ; } } }
/* (non-Javadoc)
@see org.eclipse.ui.part.MultiPageEditorActionBarContributor#setActivePage(org.eclipse.ui.IEditorPart)
/ * ( non - Javadoc )