0 Replies Latest reply on Aug 1, 2008 1:59 PM by (Darrell_Loverin)

    [svn] 2713: Show Alerts using existing modal window code instead of using ShowAlertRequest .

    Level 1
      Revision: 2713
      Author: dloverin@adobe.com
      Date: 2008-08-01 14:59:17 -0700 (Fri, 01 Aug 2008)

      Log Message:
      -----------
      Show Alerts using existing modal window code instead of using ShowAlertRequest.

      QE:YES. Test alerts from all application nodes types. Alerts should be centered in the

      visible portion of the sandbox root. Test showing alerts where the parent argument is a

      sandbox root, a UIComponent, and a display object that is not a UIComponent.
      Doc:
      Checkintests: Standard plus PopUpManager.
      Reviewer: Alex
      Bugs:

      WindowedSystemManager:
      Implement getVisibleApplicationRect().

      Alert.as
      Remove ShowAlertRequest. Modifiy centerPopUp() to send within the visible

      portion of the sandbox root.

      SWFLoader.as
      Implement IApplicationLoader.

      UIComponent.as
      getVisibleRect() returns the rectangle in global coordinates.

      SandboxBridgeRequest.as
      Add GET_VISIBLE_RECT request.

      FocusManager.as
      Remove request handling for the showAlertRequest. Replace IFocusManagerBridge

      is IApplicationLoader. IFocusManagerBridge will be removed.

      ISystemManager2.as
      add new method:

      function getVisibleApplicationRect(bounds:Rectangle = null):Rectangle;

      PopUpManagerImpl:
      Modify centerPopUp() to center within the visible portion of the parent.
      Allow the parent of a dialog to be the sandbox root.
      Move preProcessModalWindowRequest to SystemManager so PopUpManager only need to be

      in the sandbox root.

      SystemChildrenList.as
      Fix RTE when owner == child.

      SystemManager.as
      Implement getVisibleApplicationRect().
      Handle requests for SandboxBridgeRequest.GET_VISIBLE_RECT.
      Add sandboxRoot requests: "isTopLevelRoot" and "getVisibleApplicationRect".

      SystemManagerProxy.as
      override getVisibleApplicationRect().

      Modified Paths:
      --------------
      flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemMa nager.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Alert.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/UIComponent.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest. as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager2.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemChildrenList. as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy. as

      Added Paths:
      -----------
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/IApplicationLoader.as

      Removed Paths:
      -------------
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/ShowAlertRequest.as
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/IFocusManagerBridge .as