home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / AIMP2 / aimp_2.61.583.exe / $TEMP / YandexPackSetup.msi / filC7FDA237DEC80A3B69FEA442F78CC93E < prev    next >
Extensible Markup Language  |  2010-07-12  |  2KB  |  44 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE bindings [
  3.     <!ENTITY % locale SYSTEM "chrome://yasearch/locale/package-management/package-management.dtd">
  4.     %locale;
  5. ]>
  6.  
  7. <bindings xmlns="http://www.mozilla.org/xbl"
  8.           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.           xmlns:xbl="http://www.mozilla.org/xbl"
  10.           xmlns:html="http://www.w3.org/1999/xhtml">
  11.     
  12.     <binding id="placement"
  13.              inheritstyle="false">
  14.         <resources>
  15.             <stylesheet src="placement.css"/>
  16.             <image src="images/after.png"/>
  17.             <image src="images/before.png"/>
  18.             <image src="images/replace.png"/>
  19.         </resources>
  20.         
  21.         <content>
  22.             <xul:radiogroup class="radiogroup">
  23.                 <xul:image class="preview"/>
  24.                 <xul:hbox>
  25.                     <xul:radio value="before" label="&placement.before;" checked="true"/>
  26.                     <xul:radio value="after" label="&placement.after;"/>
  27.                     <xul:radio value="replace" label="&placement.replace;"/>
  28.                 </xul:hbox>
  29.             </xul:radiogroup>
  30.         </content>
  31.         
  32.         <implementation>
  33.             <field name="_nodeRadiogroup">document.getAnonymousElementByAttribute(this, "class", "radiogroup")</field>
  34.             <property name="mode">
  35.                 <getter><![CDATA[
  36.                     return this._nodeRadiogroup.selectedItem.value;
  37.                 ]]></getter>
  38.                 <setter><![CDATA[
  39.                 ]]></setter>
  40.             </property>
  41.         </implementation>
  42.     </binding>
  43. </bindings>
  44.