Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "STP/Policy Component/XEF Reference"

(Display Name)
(Display Name)
Line 69: Line 69:
  
 
elements: [[Image:DisplayNameElementAfter.jpg]]
 
elements: [[Image:DisplayNameElementAfter.jpg]]
 +
|- valign="top"
 +
! Example
 +
|
 +
<pre><xs:attribute name="every_client" type="xs:boolean">
 +
  <xs:annotation>
 +
    <xs:appinfo>
 +
      <xef:displayName>Every Client</xef:displayName>
 +
    </xs:appinfo>
 +
  </xs:annotation>
 +
</xs:attribute></pre>
 +
|}
 +
 +
== Tool Tips ==
 +
{| border="1" cellspacing="0" cellpadding="4"
 +
|- valign="top"
 +
! Annotation
 +
| <xef:docShort> - String
 +
|- valign="top"
 +
! Description
 +
| Provides tooltips on the controls that displays the element.
 +
|- valign="top"
 +
! Applies to
 +
| <xs:element> and <xs:attribute>
 +
|- valign="top"
 +
! Before
 +
| [[Image:XEFToolTipBefore.jpg]]
 +
|- valign="top"
 +
! After
 +
| [[Image:XEFToolTipAfter.jpg]]
 
|- valign="top"
 
|- valign="top"
 
! Example
 
! Example

Revision as of 13:42, 11 December 2007

XEF Reference

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

attributes: XEFCategoryBefore.jpg


elements: XEFCategoryElementBefore.jpg

After

attributes: XEFCategoryAfter1.jpg and XEFCategoryAfter2.jpg


elements: XEFCategoryElementAfter.jpg

Example
<xs:element name="audit">
  <xs:annotation>
    <xs:appinfo>
      <xef:category>Logging</xef:category>
    </xs:appinfo>
  </xs:annotation>
</xs:element>

Display Name

Annotation <xef:displayName> - String
Description Provides a human readable name for the attribute or element.
Applies to <xs:element> and <xs:attribute>
Before

attributes: DisplayNameBefore.jpg


elements: DisplayNameElementBefore.jpg

After

attributes: DisplayNameAfter.jpg


elements: DisplayNameElementAfter.jpg

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>

Tool Tips

Annotation <xef:docShort> - String
Description Provides tooltips on the controls that displays the element.
Applies to <xs:element> and <xs:attribute>
Before XEFToolTipBefore.jpg
After XEFToolTipAfter.jpg
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>

Back to the top