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 4a80dad  new IId interface
4a80dad is described below

commit 4a80dad8f2d81c0b55b41b801198c5e46a63c0c5
Author: Carlos Rovira <[email protected]>
AuthorDate: Mon Jul 2 17:52:01 2018 +0200

    new IId interface
---
 .../projects/Core/src/main/royale/CoreClasses.as   |  1 +
 .../src/main/royale/org/apache/royale/core/IId.as  | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as 
b/frameworks/projects/Core/src/main/royale/CoreClasses.as
index 8b43253..3e74bcf 100644
--- a/frameworks/projects/Core/src/main/royale/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as
@@ -26,6 +26,7 @@ package {
  */
 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;
diff --git 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IId.as 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IId.as
new file mode 100644
index 0000000..b54d1a6
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IId.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+    /**
+     *  The IId interface is the basic interface for components that must have
+     *  an id or identifier for a concrete instance.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion Royale 0.9.3
+     */
+       public interface IId
+       {
+        /**
+         *  An id property for MXML documents.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion Royale 0.9.3
+         */
+        function get id():String;
+        function set id(value:String):void;
+       }
+}

Reply via email to