parameters: (self, view, activate=True, deleting=False)
docstring: Sets the current view.
docstring_summary: Sets the current view.
docstring_tokens: Sets the current view .
function: def ActivateView(self, view, activate=True, deleting=False):
          """
          Sets the current view.
          """
          if activate:
              self._currentView = view
              self._lastActiveView = view
          else:
              self._currentView = None
function_tokens: def ActivateView ( self , view , activate = True , deleting = False ) : if activate : self . _currentView = view self . _lastActiveView = view else : self . _currentView = None