Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "STP/Policy Component/XEF Reference"
< STP | Policy Component
(→Display Name) |
(→Category) |
||
Line 3: | Line 3: | ||
== Category == | == Category == | ||
− | {| border="1" cellspacing="0" | + | {| border="1" cellspacing="0" cellpadding="4" |
− | | | + | |- valign="top" |
− | ! | + | ! Annotation |
− | |- | + | | <xef:category> - String |
− | | Applies to || Before After | + | |- valign="top" |
+ | ! Description | ||
+ | | Provides categorization for the element or attribute. For elements the category is used in the Schema Selection Dialog, for attributes the category is used to put the attribute in a collapsible section in the editor. | ||
+ | |- valign="top" | ||
+ | ! Applies to | ||
+ | | <xs:element> and <xs:attribute> | ||
+ | |- valign="top" | ||
+ | ! Before | ||
+ | | | ||
+ | attributes: [[Image:XEFCategoryBefore.jpg]] | ||
+ | |||
+ | |||
+ | |||
+ | elements: [[Image:XEFCategoryElementBefore.jpg]] | ||
+ | |- valign="top" | ||
+ | ! After | ||
+ | | | ||
+ | attributes: [[Image:XEFCategoryAfter.jpg]] | ||
+ | |||
+ | |||
+ | |||
+ | elements: [[Image:XEFCategoryElementAfter.jpg]] | ||
+ | |- valign="top" | ||
+ | ! Example | ||
+ | | | ||
+ | <pre><xs:element name="security"> | ||
+ | <xs:annotation> | ||
+ | <xs:appinfo> | ||
+ | <xef:category>Security</xef:category> | ||
+ | </xs:appinfo> | ||
+ | </xs:annotation> | ||
+ | </xs:element></pre> | ||
|} | |} | ||
Revision as of 13:17, 11 December 2007
XEF Reference
Contents
Category
Annotation | <xef:category> - String |
---|---|
Description | Provides categorization for the element or attribute. For elements the category is used in the Schema Selection Dialog, for attributes the category is used to put the attribute in a collapsible section in the editor. |
Applies to | <xs:element> and <xs:attribute> |
Before |
|
After |
attributes: File:XEFCategoryAfter.jpg
|
Example |
<xs:element name="security"> <xs:annotation> <xs:appinfo> <xef:category>Security</xef:category> </xs:appinfo> </xs:annotation> </xs:element> |
Display Name
Annotation | <xef:displayName> |
---|---|
Description | Provides a human readable name for the attribute or element. |
Applies to | <xs:element> and <xs:attribute> |
Before |
|
After |
|
Example |
<xs:attribute name="every_client" type="xs:boolean"> <xs:annotation> <xs:appinfo> <xef:displayName>Every Client</xef:displayName> </xs:appinfo> </xs:annotation> </xs:attribute> |