<?xml version="1.0" encoding="UTF-8"?>
<plugin
  name="Alloy Look and Feel"
  id="com.incors.plaf.alloy"
  version="1.4.4"
  provider-name="INCORS GmbH">
  
  <runtime>
    <library name="alloy.jar">
      <export name="*"/>
    </library>
  </runtime>

  <extension id="com.incors.plaf.alloy" point="ru.biosoft.workbench.lookAndFeel"> 
    <lookAndFeel name="Alloy" class="com.incors.plaf.alloy.AlloyLookAndFeel" defaultTheme="Default"> 

      <theme name="Default"   class="com.incors.plaf.alloy.DefaultAlloyTheme"/>
      <theme name="Bedouin"   class="com.incors.plaf.alloy.themes.bedouin.BedouinTheme"/>
      <theme name="Glass"     class="com.incors.plaf.alloy.themes.glass.GlassTheme"/>
      <theme name="Acid"      class="com.incors.plaf.alloy.themes.acid.AcidTheme"/>

      <script name="init">
          args = java.lang.reflect.Array.newInstance(java.lang.Class, 2);
          args[0] = (new java.lang.String()).getClass();
          args[1] = args[0];
          m = lookAndFeelClass.getMethod("setProperty", args);

          objs = java.lang.reflect.Array.newInstance(java.lang.Object, 2);
          objs[0] = "alloy.licenseCode";
          objs[1] = "2005/02/22#fedor@dote.ru#1lvs8q4#17cfci";
          m.invoke(null, objs);
      </script>

      <script name="setTheme"> lookAndFeel.setTheme(theme, false); </script>

    </lookAndFeel>
  </extension> 

</plugin>
