<!--
 * Copyright (c) 2001 Oracle
 *
 *      NAME
 *       reorderShuttle.uix
 *
 *      NOTES
 *       (generic) shuttle list for reording selected Patches in the Patch Wizard
 *
 * MODIFIED (MM/DD/YY)  VERSION
 *  kchiasso 11/15/01 - new wizard
 *
 *
 *  @author  kChiasson
 *
-->

<dataScope xmlns="http://bali.us.oracle.com/cabo/marlin"
           xmlns:uix="http://bali.us.oracle.com/cabo/marlin">

  <provider>
    <data name="patchList">
      <method class="oracle.sysman.eml.ecm.patch.ShuttleData"
       method="populateReorderShuttle"/>
    </data>

  </provider>

  <contents>
    <!-- Put up either an error box or the selected patch list
            depending on whether we got the data successfully -->

    <switcher uix:childName="status@patchList">
      <case name="failure">
        <messageBox automatic="false"

                    uix:message="ERR_NOPATCHES@ResourceBundle"
                    messageType="error"/>
      </case>
      <case name="success">

       <shuttle name="reorderShuttle"
                reorderable="true"
                leadingDescShown="true"
                uix:leadingHeader="LH_REORDERPATCHES@ResourceBundle">
           <leading>
            <list multiple="true">
              <contents uix:childData="reorderPatches@patchList">
                <option uix:text="patchName" uix:longDesc="description"/>
              </contents>
            </list>
          </leading>
        </shuttle>

      </case>
    </switcher>
  </contents>
</dataScope>

