You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/06/02 20:38:37 UTC

[royale-asjs] branch develop updated: Type selector for DynamicList

This is an automated email from the ASF dual-hosted git repository.

harbs 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 0b7e502  Type selector for DynamicList
0b7e502 is described below

commit 0b7e5021589e271539ae32815ff819f46cbec5ef
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sat Jun 2 23:38:12 2018 +0300

    Type selector for DynamicList
---
 .../Basic/src/main/resources/basic-manifest.xml    |  1 +
 .../projects/Basic/src/main/resources/defaults.css |  2 +-
 .../royale/org/apache/royale/html/DynamicList.as   | 30 ++++++++++++++++++++++
 3 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
index ecbbdba..32e0923 100644
--- a/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Basic/src/main/resources/basic-manifest.xml
@@ -44,6 +44,7 @@
     <component id="HTMLText" class="org.apache.royale.html.HTMLText"/>
     <component id="DataContainer" class="org.apache.royale.html.DataContainer"/>
     <component id="List" class="org.apache.royale.html.List"/>
+    <component id="DynamicList" class="org.apache.royale.html.DynamicList"/>
     <component id="PopUpList" class="org.apache.royale.html.PopUpList"/>
     <component id="SimpleList" class="org.apache.royale.html.SimpleList"/>
     <component id="CheckBox" class="org.apache.royale.html.CheckBox"/>
diff --git a/frameworks/projects/Basic/src/main/resources/defaults.css b/frameworks/projects/Basic/src/main/resources/defaults.css
index 0b3c41e..ea02120 100644
--- a/frameworks/projects/Basic/src/main/resources/defaults.css
+++ b/frameworks/projects/Basic/src/main/resources/defaults.css
@@ -398,7 +398,7 @@ List
 	IViewportModel: ClassReference("org.apache.royale.core.beads.models.ViewportModel");
 }
 
-.DynamicList
+DynamicList
 {
 	IBeadModel: ClassReference("org.apache.royale.html.beads.models.SingleSelectionCollectionViewModel");
 	IBeadView:  ClassReference("org.apache.royale.html.beads.ListView");			
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DynamicList.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DynamicList.as
new file mode 100644
index 0000000..dcac4cd
--- /dev/null
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/DynamicList.as
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.html
+{
+    public class DynamicList extends List
+    {
+        public function DynamicList()
+        {
+            super();
+            typeNames = "DataContainer List DynamicList";
+            
+        }
+    }
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.