protected IAction getAction(ITextEditor editor, String actionID) {
    """
	Returns the action registed with the given text editor.
	@return IAction or null if editor is null.
    """
		return (editor == null ? null : editor.getAction(actionID));
	}
protected IAction getAction(ITextEditor editor, String actionID) {
		return (editor == null ? null : editor.getAction(actionID));
	}
protected IAction getAction ( ITextEditor editor , String actionID ) { return ( editor == null ? null : editor . getAction ( actionID ) ) ; }
Returns the action registed with the given text editor.
@return IAction or null if editor is null.
Returns the action registed with the given text editor .