incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftho...@apache.org
Subject svn commit: r1418742 - /incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
Date Sat, 08 Dec 2012 19:56:44 GMT
Author: fthomas
Date: Sat Dec  8 19:56:43 2012
New Revision: 1418742

URL: http://svn.apache.org/viewvc?rev=1418742&view=rev
Log:
- Removed the settings window from context when  is closed

Modified:
    incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml

Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml?rev=1418742&r1=1418741&r2=1418742&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
(original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.component-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/presentation/graphic/settings/SettingsWindow.mxml
Sat Dec  8 19:56:43 2012
@@ -75,6 +75,9 @@ limitations under the License.
             return window;
         }
 
+        [Inject]
+        public var context:Context;
+
         [Init]
         public function init():void {
             dispatchEvent(new ModalWindowEvent(ModalWindowEvent.OPENED));
@@ -95,6 +98,7 @@ limitations under the License.
         private function closeWindow():void{
             PopUpManager.removePopUp(this);
             dispatchEvent(new ModalWindowEvent(ModalWindowEvent.CLOSED));
+            context.viewManager.removeViewRoot(this);
         }
         ]]></fx:Script>
 </s:TitleWindow>



Mime
View raw message