<?xml version="1.0" encoding="Windows-1255" ?><Rule name="definePalette" modifier="additive" declarative="Yes" scope="public" sortGroup="true" id="core.gml2:definePalette" sort="27" urn="core.gml2:rules.palette.definePalette.xml" toc="\Rules\Palette rules"><Summary>Defines the palette for a specific unit/board.</Summary><Parameters signature="additive rule::&lt;div style=&quot;padding:6 0 0 16&quot;&gt;&lt;b&gt;definePalette&lt;/b&gt;(&lt;i&gt;unit&lt;/i&gt;, &lt;i&gt;board&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.env:KitEditors!EDITOR_DEF&quot;&gt;EDITOR_DEF&lt;/q&gt;&lt;/div&gt;"><Param name="unit" type="core.gml2:Unit!" typeRef="&lt;q ref=&quot;core.gml2:Unit&quot;&gt;Unit&lt;/q&gt;">The unit classifier. This is the unit class or instance for which the palette is defined.</Param><Param name="board" type="core.dev:IBoard!" typeRef="&lt;q ref=&quot;core.dev:IBoard&quot;&gt;IBoard&lt;/q&gt;">The board classifier. This is the board aspect for which the palette is defined.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier></Classifiers><Return type="env:KitEditors!EDITOR_DEF" typeRef="&lt;q ref=&quot;core.env:KitEditors!EDITOR_DEF&quot;&gt;EDITOR_DEF&lt;/q&gt;">Returns the palette for the specified unit/board.</Return><Remarks>&lt;h2&gt;Dependencies&lt;/h2&gt;&lt;table class=&quot;WHITE&quot; style=&quot;width:auto; margin-top:0&quot; cellspacing=&quot;1&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;&lt;i&gt;post-action:&lt;/i&gt; &lt;/td&gt;&lt;td class=H&gt;&lt;q ref=&quot;core.gml2:dropPaletteItem&quot;&gt;dropPaletteItem&lt;/q&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		&lt;h2&gt;Behavior&lt;/h2&gt;
		The behavior defines the palette for a specified unit/board.
		The palette is defined declaratively using the standard &lt;q ref=&quot;core.gml2:EditorRulesSyntax&quot;&gt;editors syntax&lt;/q&gt;.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Rule>