This section describes the declarative syntax used by rules that define taskpanels.<h2>Syntax</h2>
<pre>
<i>taskpanels-rule:</i>
<i>taskpanel-clause</i>
<i>taskpanel-clause</i> <i>taskpanels-rule</i>
<i>taskpanel-clause:</i>
<i>append-tag</i>
<i>appendToGroup-tag</i>
<i>remove-tag</i>
<i>clear-tag</i>
</pre>
<h2><append> tag</h2>
Appends one or more taskpanel groups.
<pre>
<i>append-tag</i>:
<append>
<i>group-tag</i><sub>many</sub>
</append>
</pre>
<div class="INSET">
<b><group> inner tag</b><br/>
Defines a taskpanels group. Use the 'priority' attribute to control the order of taskpanel groups.
</div>
<pre>
<i>group-tag</i>:
<group <i>id="" title="" icon="" priority=""</i>>
<i>panel-tag</i><sub>many</sub>
</group>
</pre>
<div class="INSET">
<b><item> inner tag</b><br/>
Defines a taskpanel. Use the 'priority' attribute to control the order of taskpanels in a taskpanels group.
</div>
<pre>
<i>panel-tag</i>:
<panel <i>id="" urn="" title="" priority=""</i>/>
</pre>
<h2><appendToGroup> tag</h2>
Appends one or more taskpanels to an existing taskpanels group.
<pre>
<i>appendToGroup-tag</i>:
<appendToGroup id="<i>groupId</i>">
<i>panel-tag</i><sub>many</sub>
</appendToGroup>
<i>panel-tag</i>:
<panel <i>id="" urn="" title="" priority=""</i>/>
</pre>
<h2><remove> tag</h2>
Removes a specified taskpanel / taskpanels group.
<pre>
<i>remove-tag</i>:<sub>one of</sub>
<remove panel="<i>panelId</i>"/>
<remove group="<i>groupId</i>"/>
</pre>
<h2><clear> tag</h2>
Clears a specified taskpanels group. If the group identifier is omitted, then the entire taskpanels table is cleared.
<pre>
<i>clear-tag</i>:<sub>one of</sub>
<clear group="<i>groupId</i>"/>
<clear/>
</pre>
<h2>Example</h2>
<pre>
<extend rule="definePalette">
<constraint>(unit isa gml2:Module) and (board isa svg:ZDrawing)</constraint>
<comments>[Components]</comments>
<append>
<group id="COMPOSE_TASKGRP" title="Compose" icon="">
<panel id="ELEMENTS" title="Compose Diagram" urn="URL[core.gml2:tools.panels.PalettePanel.htm]" isDefault="true"/>
</group>
<group id="ORGANIZE_TASKGRP" title="Organize" icon="">
<panel id="MODEL_ORGANIZER" title="Organize Model" urn="URL[core.gml2:tools.panels.ExplorerPanel.htm]"/>
<panel id="SEARCH" title="Search Library" urn="URL[core.dev:common.SearchPanel.htm]"/>
</group>
</append>
</extend>
</pre>(c) SAP AG 2003-2006. All rights reserved.