royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] 02/10: Untangled classes
Date Sun, 02 Sep 2018 21:31:30 GMT
This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch feature/new_merge
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit a86a7f6064e2322782c4aa92790cceee63196a3b
Author: Harbs <harbs@in-tools.com>
AuthorDate: Sun Sep 2 19:47:04 2018 +0300

    Untangled classes
    
    View was duplicated.
---
 .../Basic/src/main/resources/basic-manifest.xml    |   8 ++
 .../projects/Basic/src/main/royale/BasicClasses.as |  38 ++++++-
 .../royale/org/apache/royale/core/ContainerBase.as |   0
 .../org/apache/royale/core/DataContainerBase.as    |   0
 .../royale/org/apache/royale/core/GroupBase.as     |   0
 .../apache/royale/core/StyledMXMLItemRenderer.as   |   0
 .../royale/org/apache/royale/core/StyledUIBase.as  |   0
 .../main/royale/org/apache/royale/core/ViewBase.as |   0
 .../royale/core/supportClasses/StyledImageBase.as  |   0
 .../Core/src/main/resources/basic-manifest.xml     |  12 --
 .../projects/Core/src/main/royale/CoreClasses.as   |  25 +----
 .../src/main/royale/org/apache/royale/core/View.as | 125 ---------------------
 12 files changed, 43 insertions(+), 165 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index 316e74b..e658641 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -25,6 +25,7 @@
     <component id="AirApplication" class="org.apache.royale.core.AirApplication"/>
     <component id="View" class="org.apache.royale.core.View"/>
     <component id="Container" class="org.apache.royale.html.Container"/>
+    <component id="Border" class="org.apache.royale.html.supportClasses.Border"/>
     <component id="Button" class="org.apache.royale.html.Button"/>
     <component id="CloseButton" class="org.apache.royale.html.CloseButton"/>
     <component id="ButtonBar" class="org.apache.royale.html.ButtonBar"/>
@@ -52,6 +53,7 @@
     <component id="RadioButton" class="org.apache.royale.html.RadioButton"/>
     <component id="ComboBox" class="org.apache.royale.html.ComboBox"/>
     <component id="ComboBoxList" class="org.apache.royale.html.supportClasses.ComboBoxList"/>
+    <component id="Group" class="org.apache.royale.html.Group"/>
     <component id="HGroup" class="org.apache.royale.html.HGroup"/>
     <component id="VGroup" class="org.apache.royale.html.VGroup"/>
     <component id="Accordion" class="org.apache.royale.html.Accordion"/>
@@ -70,11 +72,13 @@
     <component id="TitleBar" class="org.apache.royale.html.TitleBar"/>
     <component id="TitleBarTitle" class="org.apache.royale.html.beads.TitleBarTitle"/>
     <component id="ImageModel" class="org.apache.royale.html.beads.models.ImageModel"/>
+    <component id="ArraySelectionModel" class="org.apache.royale.html.beads.models.ArraySelectionModel"/>
     <component id="TitleBarModel" class="org.apache.royale.html.beads.models.TitleBarModel"/>
     <component id="ToolTip" class="org.apache.royale.html.ToolTip"/>
     <component id="Tree" class="org.apache.royale.html.Tree"/>
     <component id="BasicLayout" class="org.apache.royale.html.beads.layouts.BasicLayout"/>
     <component id="RemovableBasicLayout" class="org.apache.royale.html.beads.layouts.RemovableBasicLayout"/>
+    <component id="LayoutChangeNotifier" class="org.apache.royale.html.beads.layouts.LayoutChangeNotifier"/>
     <component id="VerticalLayout" class="org.apache.royale.html.beads.layouts.VerticalLayout"/>
     <component id="VirtualListView" class="org.apache.royale.html.beads.VirtualListView"/>
     <component id="VirtualListVerticalLayout" class="org.apache.royale.html.beads.layouts.VirtualListVerticalLayout"/>
@@ -110,6 +114,9 @@
     <component id="SpinnerButton" class="org.apache.royale.html.supportClasses.SpinnerButton"/>
     <component id="Slider" class="org.apache.royale.html.Slider"/>
     <component id="NumericStepper" class="org.apache.royale.html.NumericStepper" />
+    <component id="DataItemRenderer" class="org.apache.royale.html.supportClasses.DataItemRenderer"/>
+    <component id="MXMLBeadView" class="org.apache.royale.html.MXMLBeadView"/>
+    <component id="MXMLItemRenderer" class="org.apache.royale.html.supportClasses.MXMLItemRenderer"/>
     <component id="AlternatingBackgroundColorStringItemRenderer" class="org.apache.royale.html.supportClasses.AlternatingBackgroundColorStringItemRenderer"/>
     <component id="StringItemRenderer" class="org.apache.royale.html.supportClasses.StringItemRenderer"/>
     <component id="AccordionItemRenderer" class="org.apache.royale.html.supportClasses.AccordionItemRenderer"/>
@@ -149,6 +156,7 @@
     <!--
      <component id="ImageAndTextButtonView" class="org.apache.royale.html.beads.ImageAndTextButtonView"
/>
      -->
+    <component id="Viewport" class="org.apache.royale.html.supportClasses.Viewport" />
     <component id="ScrollingViewport" class="org.apache.royale.html.supportClasses.ScrollingViewport"
/>
     <component id="HScrollViewport" class="org.apache.royale.html.supportClasses.HScrollViewport"
/>
     <component id="VScrollViewport" class="org.apache.royale.html.supportClasses.VScrollViewport"
/>
diff --git a/frameworks/projects/Basic/src/main/royale/BasicClasses.as b/frameworks/projects/Basic/src/main/royale/BasicClasses.as
index 200ed73..603a0e6 100644
--- a/frameworks/projects/Basic/src/main/royale/BasicClasses.as
+++ b/frameworks/projects/Basic/src/main/royale/BasicClasses.as
@@ -67,10 +67,11 @@ internal class BasicClasses
 	import org.apache.royale.html.beads.controllers.CascadingMenuSelectionMouseController; CascadingMenuSelectionMouseController;
 	import org.apache.royale.html.supportClasses.CascadingMenuItemRenderer; CascadingMenuItemRenderer;
 	
-	
 	COMPILE::SWF
 	{
 		import org.apache.royale.html.beads.BackgroundImageBead; BackgroundImageBead;
+		import org.apache.royale.html.supportClasses.ContainerContentArea; ContainerContentArea;
+		import org.apache.royale.html.beads.TextFieldViewBase; TextFieldViewBase;
 	}
 	import org.apache.royale.html.beads.ButtonBarView; ButtonBarView;
 	COMPILE::SWF
@@ -78,7 +79,12 @@ internal class BasicClasses
 		import org.apache.royale.html.beads.CheckBoxView; CheckBoxView;
 	}
     import org.apache.royale.html.beads.ComboBoxView; ComboBoxView;
-	
+    import org.apache.royale.html.MXMLBeadView; MXMLBeadView;
+    import org.apache.royale.html.beads.GroupView; GroupView;
+	import org.apache.royale.html.beads.ContainerView; ContainerView;
+	import org.apache.royale.core.supportClasses.StyledImageBase; StyledImageBase;
+
+
 	COMPILE::SWF
 	{
 	    import org.apache.royale.html.beads.ControlBarMeasurementBead; ControlBarMeasurementBead;
@@ -94,6 +100,7 @@ internal class BasicClasses
 	import org.apache.royale.html.beads.ImageButtonView; ImageButtonView;
 	import org.apache.royale.html.beads.BinaryImageLoader; BinaryImageLoader;
 	import org.apache.royale.html.beads.models.BinaryImageModel; BinaryImageModel;
+
 	import org.apache.royale.html.beads.ListView; ListView;
 	import org.apache.royale.html.beads.NumericStepperView; NumericStepperView;
     import org.apache.royale.html.beads.PanelView; PanelView;
@@ -103,6 +110,9 @@ internal class BasicClasses
 	import org.apache.royale.html.beads.layouts.VerticalSliderLayout; VerticalSliderLayout;
     import org.apache.royale.html.beads.PanelWithControlBarView; PanelWithControlBarView;
     import org.apache.royale.html.beads.AccordionItemRendererView; AccordionItemRendererView;
+	import org.apache.royale.html.supportClasses.MXMLItemRenderer; MXMLItemRenderer;
+	import org.apache.royale.core.StyledMXMLItemRenderer; StyledMXMLItemRenderer;
+
 	COMPILE::SWF
 	{
 		import org.apache.royale.html.beads.RadioButtonView; RadioButtonView;
@@ -115,6 +125,7 @@ internal class BasicClasses
         import org.apache.royale.html.beads.SliderTrackView; SliderTrackView;
 		import org.apache.royale.html.beads.SingleLineBorderWithChangeListenerBead; SingleLineBorderWithChangeListenerBead;
 	}
+
 	import org.apache.royale.html.beads.SpinnerView; SpinnerView;
 	COMPILE::SWF
 	{
@@ -129,6 +140,7 @@ internal class BasicClasses
 	    import org.apache.royale.html.beads.TextInputWithBorderView; TextInputWithBorderView;
 	}
 	import org.apache.royale.html.beads.models.AlertModel; AlertModel;
+	import org.apache.royale.html.beads.models.ArraySelectionModel; ArraySelectionModel;
 	import org.apache.royale.html.beads.models.ArrayListSelectionModel; ArrayListSelectionModel;
 	import org.apache.royale.html.beads.models.SingleSelectionCollectionViewModel; SingleSelectionCollectionViewModel;
 	import org.apache.royale.html.beads.models.TreeModel; TreeModel;
@@ -136,6 +148,8 @@ internal class BasicClasses
     import org.apache.royale.html.beads.models.RangeModel; RangeModel;
     import org.apache.royale.html.beads.models.RangeModelExtended; RangeModelExtended;
 	import org.apache.royale.html.beads.models.ComboBoxModel; ComboBoxModel;
+	import org.apache.royale.html.beads.models.ViewportModel; ViewportModel;
+
 	COMPILE::SWF
 	{
 		import org.apache.royale.html.beads.models.ImageModel; ImageModel;
@@ -154,6 +168,7 @@ internal class BasicClasses
 	{
 		import org.apache.royale.html.beads.models.ValueToggleButtonModel; ValueToggleButtonModel;
 	}
+	import org.apache.royale.html.beads.models.ViewportModel; ViewportModel;
 	COMPILE::SWF
 	{
     	import org.apache.royale.html.beads.controllers.DropDownListController; DropDownListController;
@@ -161,6 +176,7 @@ internal class BasicClasses
 	}
     import org.apache.royale.html.beads.controllers.ComboBoxController; ComboBoxController;
     import org.apache.royale.html.beads.controllers.AccordionItemRendererMouseController;
AccordionItemRendererMouseController;
+    import org.apache.royale.html.beads.controllers.ItemRendererMouseController; ItemRendererMouseController;
     import org.apache.royale.html.beads.controllers.ListSingleSelectionMouseController; ListSingleSelectionMouseController;
 	import org.apache.royale.html.beads.controllers.TreeSingleSelectionMouseController; TreeSingleSelectionMouseController;
 	import org.apache.royale.html.beads.controllers.MenuSelectionMouseController; MenuSelectionMouseController;
@@ -184,10 +200,13 @@ internal class BasicClasses
 	import org.apache.royale.html.beads.layouts.OneFlexibleChildHorizontalLayout; OneFlexibleChildHorizontalLayout;
 	import org.apache.royale.html.beads.layouts.OneFlexibleChildVerticalLayout; OneFlexibleChildVerticalLayout;
 
+
+
 	COMPILE::SWF
 	{
 		import org.apache.royale.html.beads.layouts.HScrollBarLayout; HScrollBarLayout;
     	import org.apache.royale.html.beads.layouts.VScrollBarLayout; VScrollBarLayout;
+		import org.apache.royale.html.supportClasses.ContainerContentArea; ContainerContentArea;
 	}
 	import org.apache.royale.html.beads.layouts.TileLayout; TileLayout;
     import org.apache.royale.html.beads.TextItemRendererFactoryForArrayData; TextItemRendererFactoryForArrayData;
@@ -195,9 +214,13 @@ internal class BasicClasses
     import org.apache.royale.html.beads.DynamicItemsRendererFactoryForArrayListData; DynamicItemsRendererFactoryForArrayListData;
 	import org.apache.royale.html.beads.DataItemRendererFactoryForArrayList; DataItemRendererFactoryForArrayList;
 	import org.apache.royale.html.beads.DataItemRendererFactoryForHierarchicalData; DataItemRendererFactoryForHierarchicalData;
+	import org.apache.royale.html.beads.DataItemRendererFactoryForCollectionView; DataItemRendererFactoryForCollectionView;
+	import org.apache.royale.html.supportClasses.DataGroup; DataGroup;
+	import org.apache.royale.html.supportClasses.Border; Border;
+	import org.apache.royale.html.supportClasses.Viewport; Viewport;
 	import org.apache.royale.html.supportClasses.ScrollingViewport; ScrollingViewport;
 	import org.apache.royale.html.supportClasses.TextButtonItemRenderer; TextButtonItemRenderer;
-
+	import org.apache.royale.html.supportClasses.UIItemRendererBase; UIItemRendererBase;
 	import org.apache.royale.html.DataGridButtonBarTextButton; DataGridButtonBarTextButton;
 	import org.apache.royale.html.DataGridButtonBar; DataGridButtonBar;
 	import org.apache.royale.html.beads.DataGridColumnView; DataGridColumnView;
@@ -206,6 +229,7 @@ internal class BasicClasses
 	import org.apache.royale.html.beads.DataGridPercentageView; DataGridPercentageView;
 	import org.apache.royale.html.beads.layouts.DataGridLayout; DataGridLayout;
 	import org.apache.royale.html.beads.layouts.DataGridPercentageLayout; DataGridPercentageLayout;
+	import org.apache.royale.html.beads.layouts.LayoutChangeNotifier; LayoutChangeNotifier;
 	import org.apache.royale.html.beads.DateChooserView; DateChooserView;
 	import org.apache.royale.html.beads.DateFieldView; DateFieldView;
 	import org.apache.royale.html.beads.DecrementButtonView; DecrementButtonView;
@@ -235,7 +259,12 @@ internal class BasicClasses
 
 	import org.apache.royale.core.Lookalike; Lookalike;
 	import org.apache.royale.core.FilledRectangle; FilledRectangle;
-    
+    import org.apache.royale.core.UIBase; UIBase;
+	import org.apache.royale.core.StyledUIBase; StyledUIBase;
+	import org.apache.royale.core.GroupBase; GroupBase;
+	import org.apache.royale.core.ContainerBase; ContainerBase;
+	import org.apache.royale.core.ViewBase; ViewBase;
+
 	COMPILE::JS
 	{
 		import org.apache.royale.core.UIElement; UIElement;
@@ -256,6 +285,7 @@ internal class BasicClasses
 	import org.apache.royale.svg.CompoundGraphic; CompoundGraphic;
 
     import org.apache.royale.html.beads.models.DataProviderModel; DataProviderModel;
+	import org.apache.royale.html.beads.DataContainerView; DataContainerView;
 
 	COMPILE::SWF
 	{
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ContainerBase.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ContainerBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/ContainerBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ContainerBase.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/DataContainerBase.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/DataContainerBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/DataContainerBase.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/GroupBase.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/GroupBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledMXMLItemRenderer.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/StyledMXMLItemRenderer.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledMXMLItemRenderer.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/StyledMXMLItemRenderer.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/StyledUIBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/StyledUIBase.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ViewBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ViewBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/ViewBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/ViewBase.as
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/supportClasses/StyledImageBase.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/supportClasses/StyledImageBase.as
similarity index 100%
rename from frameworks/projects/Core/src/main/royale/org/apache/royale/core/supportClasses/StyledImageBase.as
rename to frameworks/projects/Basic/src/main/royale/org/apache/royale/core/supportClasses/StyledImageBase.as
diff --git a/frameworks/projects/Core/src/main/resources/basic-manifest.xml b/frameworks/projects/Core/src/main/resources/basic-manifest.xml
index 2243cea..5556ce8 100644
--- a/frameworks/projects/Core/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Core/src/main/resources/basic-manifest.xml
@@ -50,17 +50,5 @@
     
     <component id="StyleChangeNotifier" class="org.apache.royale.core.StyleChangeNotifier"/>
     
-    <component id="DataItemRenderer" class="org.apache.royale.html.supportClasses.DataItemRenderer"/>
-    <component id="MXMLItemRenderer" class="org.apache.royale.html.supportClasses.MXMLItemRenderer"/>
-
-    <component id="MXMLBeadView" class="org.apache.royale.html.MXMLBeadView"/>
-    <component id="LayoutChangeNotifier" class="org.apache.royale.html.beads.layouts.LayoutChangeNotifier"/>
-    
-    <component id="Group" class="org.apache.royale.html.Group"/>
-    <component id="Viewport" class="org.apache.royale.html.supportClasses.Viewport" />
-    <component id="Border" class="org.apache.royale.html.supportClasses.Border"/>
-
-    <component id="ArraySelectionModel" class="org.apache.royale.html.beads.models.ArraySelectionModel"
/>
-    
     <component id="State" class="org.apache.royale.states.State"/>
 </componentPackage>
diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as b/frameworks/projects/Core/src/main/royale/CoreClasses.as
index 3b95f7f..524237b 100644
--- a/frameworks/projects/Core/src/main/royale/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as
@@ -29,25 +29,15 @@ internal class CoreClasses
 	import org.apache.royale.core.IId; IId;
 	import org.apache.royale.core.UIBase; UIBase;
 	import org.apache.royale.utils.IClassSelectorListSupport; IClassSelectorListSupport;
-	import org.apache.royale.core.StyledUIBase; StyledUIBase;
-	import org.apache.royale.core.supportClasses.StyledImageBase; StyledImageBase;
-	import org.apache.royale.core.StyledMXMLItemRenderer; StyledMXMLItemRenderer;
 	import org.apache.royale.core.LayoutBase; LayoutBase;
-	import org.apache.royale.core.ViewBase; ViewBase;
-	import org.apache.royale.core.GroupBase; GroupBase;
-	import org.apache.royale.core.ContainerBase; ContainerBase;
 	import org.apache.royale.core.ContainerBaseStrandChildren; ContainerBaseStrandChildren;
 	import org.apache.royale.core.ApplicationBase; ApplicationBase;
-	import org.apache.royale.core.DataContainerBase; DataContainerBase;
-	import org.apache.royale.html.supportClasses.UIItemRendererBase; UIItemRendererBase;
-	import org.apache.royale.html.supportClasses.DataItemRenderer; DataItemRenderer;
-	import org.apache.royale.html.supportClasses.MXMLItemRenderer; MXMLItemRenderer;
 	import org.apache.royale.core.IList; IList;
 	import org.apache.royale.core.IIcon; IIcon;
 	import org.apache.royale.core.IIconSupport; IIconSupport;
 	import org.apache.royale.html.beads.IListView; IListView;
 	import org.apache.royale.events.ItemAddedEvent; ItemAddedEvent;
-	import org.apache.royale.events.ItemRemovedEvent; ItemRemovedEvent;
+import org.apache.royale.events.ItemRemovedEvent; ItemRemovedEvent;
 	import org.apache.royale.html.beads.IDropDownListView; IDropDownListView;
 
 	import org.apache.royale.events.ItemAddedEvent; ItemAddedEvent;
@@ -55,19 +45,9 @@ internal class CoreClasses
 	import org.apache.royale.events.ItemRemovedEvent; ItemRemovedEvent;
 	import org.apache.royale.events.ItemRendererEvent; ItemRendererEvent;
 
-    import org.apache.royale.html.MXMLBeadView; MXMLBeadView;
-    import org.apache.royale.html.beads.GroupView; GroupView;
-	import org.apache.royale.html.beads.ContainerView; ContainerView;
-	import org.apache.royale.html.beads.DataContainerView; DataContainerView;
 	import org.apache.royale.html.beads.IBackgroundBead; IBackgroundBead;
 	import org.apache.royale.html.beads.IBorderBead; IBorderBead;
 
-	import org.apache.royale.html.supportClasses.DataGroup; DataGroup;
-	import org.apache.royale.html.supportClasses.Border; Border;
-	import org.apache.royale.html.supportClasses.Viewport; Viewport;
-
-	import org.apache.royale.html.beads.models.ViewportModel; ViewportModel;
-
     import org.apache.royale.core.BeadViewBase; BeadViewBase;
     import org.apache.royale.core.ImageViewBase; ImageViewBase;
     import org.apache.royale.core.BrowserWindow; BrowserWindow;
@@ -77,10 +57,8 @@ internal class CoreClasses
 	COMPILE::SWF
 	{
 		import org.apache.royale.core.UIButtonBase; UIButtonBase;
-		import org.apache.royale.html.supportClasses.ContainerContentArea; ContainerContentArea;
 		import org.apache.royale.core.CSSTextField; CSSTextField;
 		import org.apache.royale.html.beads.ITextFieldView; ITextFieldView;
-		import org.apache.royale.html.beads.TextFieldViewBase; TextFieldViewBase;
 		// import Promise; Promise;
 		import org.apache.royale.core.ApplicationFactory; ApplicationFactory;
 		import org.apache.royale.core.CSSShape; CSSShape;
@@ -164,7 +142,6 @@ internal class CoreClasses
 	import org.apache.royale.core.IViewportModel; IViewportModel;
 
 	import org.apache.royale.core.IApplicationView; IApplicationView;
-	import org.apache.royale.html.beads.models.ArraySelectionModel; ArraySelectionModel;
 
 	COMPILE::SWF
 	{
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/View.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/View.as
deleted file mode 100644
index 88632e0..0000000
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/View.as
+++ /dev/null
@@ -1,125 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.core
-{    	
-	import org.apache.royale.core.IMXMLDocument;
-	import org.apache.royale.core.ValuesManager;
-	import org.apache.royale.events.Event;
-	import org.apache.royale.utils.MXMLDataInterpreter;
-	
-	/**
-	 * The default property uses when additional MXML content appears within an element's
-	 * definition in an MXML file.
-	 */
-	[DefaultProperty("mxmlContent")]
-	
-    /**
-     *  The View class is the class for most views in a Royale
-     *  application.  It is generally used as the root tag of MXML
-     *  documents and UI controls and containers are added to it.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 10.2
-     *  @playerversion AIR 2.6
-     *  @productversion Royale 0.0
-     */
-	public class View extends ViewBase implements IMXMLDocument
-	{		
-		public function View()
-		{
-			super();
-		}
-		
-		private var _mxmlDescriptor:Array;
-		private var _mxmlDocument:Object = this;
-		private var _initialized:Boolean;
-		
-		/**
-		 * @private
-		 */
-		override public function addedToParent():void
-		{
-			if (!_initialized)
-			{
-				// each MXML file can also have styles in fx:Style block
-				ValuesManager.valuesImpl.init(this);
-			}
-			
-			super.addedToParent();
-			
-			if (!_initialized)
-			{
-				MXMLDataInterpreter.generateMXMLInstances(_mxmlDocument, this, MXMLDescriptor);
-				
-				dispatchEvent(new Event("initBindings"));
-				dispatchEvent(new Event("initComplete"));
-				_initialized = true;
-				
-				// - why was this added here? childrenAdded(); //?? Is this necessary since MXMLDataInterpreter
will already have called it
-			}
-		}
-		
-		/**
-		 *  @copy org.apache.royale.core.Application#MXMLDescriptor
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion Royale 0.8
-		 */
-		public function get MXMLDescriptor():Array
-		{
-			return _mxmlDescriptor;
-		}
-		
-		/**
-		 *  @private
-		 */
-		public function setMXMLDescriptor(document:Object, value:Array):void
-		{
-			_mxmlDocument = document;
-			_mxmlDescriptor = value;
-		}
-		
-		/**
-		 *  @copy org.apache.royale.core.Application#generateMXMLAttributes()
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion Royale 0.8
-		 */
-		public function generateMXMLAttributes(data:Array):void
-		{
-			MXMLDataInterpreter.generateMXMLProperties(this, data);
-		}
-		
-		/**
-		 *  @copy org.apache.royale.core.ItemRendererClassFactory#mxmlContent
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10.2
-		 *  @playerversion AIR 2.6
-		 *  @productversion Royale 0.8
-         * 
-         *  @royalesuppresspublicvarwarning
-		 */
-		public var mxmlContent:Array;
-    }
-}


Mime
View raw message