Extension point for defining kit design tabs.(c) SAP AG 2003-2006. All rights reserved.
Defines a new design Tab.The new Tab definition.The newly defined Tab.<h2>Xml definition of a Tab in a configuration file</h2>
<pre>
<CONFIGURE type="TABS">
? <HEADER>
? <PRAGMA># Pragmas section</PRAGMA>
? <SCRIPT># Code section. Place here functions\variables
which you want to address from within the Tab tags
</SCRIPT>
</HEADER>
<TABS>
+ <TAB id="com.sap.mypackage:TabId">
# For complete description of Tab
definition see <q ref="core.env:KitTabs!TAB_DEF">TAB_DEF</q>
? <PROPERTIES>
* <propertyName type="[function | ]"/>
# Represents a property of the Tab
You can assign the 'type' attribute for
evaluating the value of the property
as a function
</PROPERTIES>
</TAB>
</TABS>
</CONFIGURE>
</pre>
<h2>Example</h2>
<pre>
<CONFIGURE type="TABS">
<TABS>
<TAB id="core.svg:DRAWING_TAB">
<PROPERTIES>
<aspect>core.svg:GmlDrawing</aspect>
<name>Drawing Tab</name>
<type>SVG</type>
<impl>#URL[core.svg:boards.DrawingBoard.htm]</impl>
</PROPERTIES>
</TAB>
</TABS>
</CONFIGURE>
</pre>
Returns the Tab definitions that belong to a given category, sorted by priority.The requested editors category.Array of selected Tab definitions.
Returns a specified Tab definition.Tab Id.The requested Tab definition.
Returns the complete Tabs definitions table.Table of Tabs definitions, indexed by id.Tab id's are stored in uppercase. Use <q ref="core.lib:Basic!UPPER">UPPER</q> macro to convert the Tab name to uppercase
before using it as the index in this table.
Removes a specified Tab definition.The id of the Tab to remove.
Represents a Storyboard Tab definition.The TAB_DEF structure is made of:
<table class="BOTH"><tr><td class="H V">Name </td><td class=H>Type </td><td class=H>Description </td></tr><tr><td class=V>id </td><td>QName </td><td>Unique Tab Id - must be prefixed with namespace e.g. com.sap.mypackage:uniqId </td></tr><tr><td class=V>aspect </td><td>QName </td><td>Associated aspect role </td></tr><tr><td class=V>name </td><td>String </td><td>Tab name </td></tr><tr><td class=V>type </td><td><q ref="core.env:KitTabs!TAB_TYPE">TAB_TYPE</q> </td><td>Tab implementation type </td></tr><tr><td class=V>impl </td><td>String </td><td>Tab implementation url </td></tr><tr><td class=V>tag </td><td>String </td><td>Tab implementation tag name (for HTC Tabs) </td></tr><tr><td class=V>visible </td><td>Function </td><td>Tab's dynamic visibility state. Can be <code>true,</code> <code>false</code> or a function: <p style="margin:10"><code>flag = visible(<i>definition</i>)</code></p> Where <code>definition</code> is this Tab's definition. If the function returns <code>true</code> the Tab will be visible; otherwise, it will be hidden. If this parameter is omitted, the Tab will be visible by default. </td></tr><tr><td class=V>priority </td><td>Number </td><td>Tab's priority </td></tr><tr><td class=V>category </td><td>String </td><td>Tab category </td></tr></table>
An enumeration of the possible Tab implementation types.<table class="BOTH"><tr><td class="H V">Name </td><td class=H>Description </td></tr><tr><td class=V>SVG </td><td>A graphical Tab implemented using SVG (e.g., design Tab) </td></tr><tr><td class=V>HTM </td><td>A visual Tab implemented using HTML (e.g., layout Tab, simulator Tab) </td></tr><tr><td class=V>HTC </td><td>A visual Tab implemented using HTC component </td></tr><tr><td class=V>CODE </td><td>A non-visual Tab implemented in code (e.g., code generator, model validator, usability analyzer, etc.) </td></tr></table>