This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push: new a4698b7 Make ApplicationResponsiveView implements IPopUpHost a4698b7 is described below commit a4698b7557ecae2190261edbabcae3b3e0bfdf1c Author: Carlos Rovira <carlosrov...@apache.org> AuthorDate: Thu Jul 26 00:28:40 2018 +0200 Make ApplicationResponsiveView implements IPopUpHost --- .../apache/royale/jewel/ApplicationResponsiveView.as | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/ApplicationResponsiveView.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/ApplicationResponsiveView.as index b4a0130..5c8f2f6 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/ApplicationResponsiveView.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/ApplicationResponsiveView.as @@ -19,8 +19,10 @@ package org.apache.royale.jewel { import org.apache.royale.core.IApplicationView; + import org.apache.royale.core.IParent; + import org.apache.royale.core.IPopUpHost; import org.apache.royale.events.Event; - import org.apache.royale.jewel.beads.layouts.VerticalLayout; + // import org.apache.royale.jewel.beads.layouts.VerticalLayout; COMPILE::JS { @@ -38,7 +40,7 @@ package org.apache.royale.jewel * @playerversion AIR 2.6 * @productversion Royale 0.9.3 */ - public class ApplicationResponsiveView extends Group implements IApplicationView + public class ApplicationResponsiveView extends Group implements IPopUpHost, IApplicationView { /** * constructor. @@ -81,5 +83,18 @@ package org.apache.royale.jewel _applicationModel = value; dispatchEvent(new Event("modelChanged")); } + + /** + * ViewBase can host popups but they will be in the layout, if any + * + * @langversion 3.0 + * @playerversion Flash 10.2 + * @playerversion AIR 2.6 + * @productversion Royale 0.0 + */ + public function get popUpParent():IParent + { + return this; + } } }