<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to SDK Property Metadata</title><link>https://sourceforge.net/adobe/flexsdk/wiki/SDK%2520Property%2520Metadata/</link><description>Recent changes to SDK Property Metadata</description><atom:link href="https://sourceforge.net/adobe/flexsdk/wiki/SDK%20Property%20Metadata/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 06 Dec 2012 22:08:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/adobe/flexsdk/wiki/SDK%20Property%20Metadata/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage SDK Property Metadata modified by SourceForge Editorial Staff</title><link>https://sourceforge.net/adobe/flexsdk/wiki/SDK%2520Property%2520Metadata/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1,12 +1,11 @@
 
-
-&lt;div class="section"&gt;
+&lt;div class="section" markdown&gt;
 
 
 
 
 
-&lt;div class="column" style="display:inline-block; vertical-align:top; width:80%;"&gt;
+&lt;div class="column" style="display:inline-block; vertical-align:top; width:80%;" markdown&gt;
 
 
 
@@ -77,7 +76,7 @@
 **Numeric range**  
 Recommend syntax A. This has the least "microsyntax"iness to it.
 
-[[ include ref='site:open_commentlogin' ]]
+ 
 
 
 
@@ -85,7 +84,7 @@
 
 
 
-[[ include ref='flexsdk:flexsdk_rightnav' ]]
+[[ include ref='flexsdk_rightnav' ]]
 
 
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SourceForge Editorial Staff</dc:creator><pubDate>Thu, 06 Dec 2012 22:08:04 -0000</pubDate><guid>https://sourceforge.netd66f2a67ea72382332480bced7c634b1a07b8ef0</guid></item><item><title>WikiPage SDK Property Metadata modified by SourceForge Editorial Staff</title><link>https://sourceforge.net/adobe/flexsdk/wiki/SDK%2520Property%2520Metadata/</link><description>

&lt;div class="section"&gt;





&lt;div class="column" style="display:inline-block; vertical-align:top; width:80%;"&gt;



# SDK Property Metadata

## Problem Description

For better tooling support, we would like to make two improvements to the metadata on property &amp; style declarations: 

  * To break up large listings of properties on an item, need to grow the set standardized categories that properties and styles can be bucketed into.
  * To provide validation of numeric input, need new metadata to specify the allowed numeric range of int and Number properties.

## Decision

_Complete this section when a decision has been made and approved_

h3.

## Decision Criteria

_What factors should be accounted for in a reasonable solution to the problem?_

## Proposed Solution(s):

**Categories**

  * Add two new values for the category="" metadata attribute: 
    * "Text" -- font/paragraph styles, text color, etc.
    * "Layout" -- settings that affect how a component lays out its children (padding/gap/etc.) or how a component is laid out by its parent (constraints, etc.)
  * Start using the category="" attribute as applicable on \[Style\] metadata too, not just \[Inspectable\] as today.

**Numeric range**  
There are three proposals:

Syntax A: 

  * minValue="N" -- value must be &gt;= N
  * minValueExclusive="N" -- value must be &gt; N
  * maxValue="N" -- value must be &lt;= N
  * maxValueExlusive="N" -- value must be &lt; N

Syntax B: 

  * minValue="N" -- value must be &gt;= N
  * minValue="&gt;N" -- value must be &gt; N
  * maxValue="N" -- value must be &lt;= N
  * maxValue="&lt;N" -- value must be &lt; N

Syntax C: 

  * range="\[N,M\]" -- value must be &gt;= N, &lt;= M
  * range="(N,M)" -- value must be &gt; N, &lt; M
  * range="(N,M]" -- value must be &gt; N, &lt;= M
  * range="(N" -- value must be &gt; N
  * etc.

Notes: 

  * N (or M) is any number -- for int properties it must be an int; for Number properties it must be a Number
  * In syntax A or B, if both min or both max attributes are specified, tooling's numeric validation behavior is undefined.
  * If the range is inverted (min &gt; max), tooling's numeric validation behavior is undefined.

## Recommended Solution:

**Categories**  
See above.

**Numeric range**  
Recommend syntax A. This has the least "microsyntax"iness to it.

[[ include ref='site:open_commentlogin' ]]



&lt;/div&gt;



[[ include ref='flexsdk:flexsdk_rightnav' ]]



&lt;/div&gt;


</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SourceForge Editorial Staff</dc:creator><pubDate>Thu, 15 Mar 2012 18:12:28 -0000</pubDate><guid>https://sourceforge.net93511d8282bcd16dddc7afbbdd3ca3d424658d51</guid></item></channel></rss>