Changeset 1061


Ignore:
Timestamp:
May 11, 2009, 1:23:32 PM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #214: Move TDMS export to this extension

The new exporter is in place with some test code. Still needs a plug-in interface for this. Updated requirements to BASE 2.12.

Location:
extensions/net.sf.basedb.mev/trunk
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.mev/trunk/META-INF/extensions.xml

    r1016 r1061  
    6767  </extension>
    6868    <extension
     69    id="net.sf.basedb.mev.testlaunchexport"
     70    extends="net.sf.basedb.clients.web.bioassayset.list.tools"
     71    >
     72    <index>3</index>
     73    <about>
     74      <name>Test - MeV TDMS Export</name>
     75      <description>
     76        Adds an action to the "Tools" column that exports data to a
     77        MeV TDMS file. For debug only.
     78      </description>
     79    </about>
     80    <action-factory>
     81      <factory-class>
     82        net.sf.basedb.mev.factory.MevButtonFactory
     83      </factory-class>
     84      <parameters>
     85        <requireSpotData>true</requireSpotData>
     86        <title>Test MeV TDMS file</title>
     87        <tooltip>Immediately creates a MeV TDMS file from the data in this bioassay set</tooltip>
     88        <onClick>MeV.testTDMS($ID$)</onClick>
     89        <icon>~/images/tm4_export.png</icon>
     90        <script>~/scripts/mev.jsp</script>
     91      </parameters>
     92    </action-factory>
     93  </extension>
     94 
     95  <extension
    6996    id="net.sf.basedb.mev.options"
    7097    extends="net.sf.basedb.clients.web.menu.extensions"
  • extensions/net.sf.basedb.mev/trunk/README

    r1011 r1061  
    11== Requirements ==
    22
    3  1. BASE 2.11.0 or later.
     3 1. BASE 2.12.0 or later.
    44 
    55== Introduction ==
  • extensions/net.sf.basedb.mev/trunk/build.xml

    r1026 r1061  
    2323  <property name="javac.target" value="1.5" />
    2424  <property name="javac.encoding" value="UTF-8" />
    25   <property name="depend.jars" value="http://base2.thep.lu.se/base/jars/2.11.0" />
     25  <property name="depend.jars" value="http://base2.thep.lu.se/base/jars/2.12.0" />
    2626
    2727  <!-- set up classpath for compiling -->
     
    101101    description="Checks that the BASE2Core.jar, BASE2Webclient.jar, BASE2CorePlugins.jar and BASE2WSClient.jar exists."
    102102    >
    103     <available classname="net.sf.basedb.core.Application"
     103    <available classname="net.sf.basedb.util.export.spotdata.AbstractBioAssaySetExporter"
    104104      classpathref="classpath" property="base2core" />
    105105    <available classname="net.sf.basedb.plugins.BioAssaySetExporter"
  • extensions/net.sf.basedb.mev/trunk/resources/launch_export.jsp

    r1026 r1061  
    7676  catch (Throwable t)
    7777  {}
    78  
     78
    7979}
    8080finally
     
    106106  Do you wish to create one with the BioAssaySetExporter plug-in?
    107107  <br><br>
     108  <a href="test.xjsp?ID=<%=ID%>&bioassayset_id=<%=bioAssaySetId%>">Test new export</a>
    108109  </base:note>
    109110  <p>
  • extensions/net.sf.basedb.mev/trunk/resources/scripts/mev.jsp

    r1026 r1061  
    2525    Main.openPopup(url, 'CreateTDMSFile', 400, 300);
    2626  }
     27
     28  this.testTDMS = function(bioAssaySetId)
     29  {
     30    var url = '<%=homeUrl%>/test.xjsp';
     31    url += '?ID='+getSessionId();
     32    url += '&bioassayset_id=' + bioAssaySetId;
     33    Main.openPopup(url, 'TestCreateTDMSFile', 400, 300);
     34  }
     35
    2736}
    2837();
Note: See TracChangeset for help on using the changeset viewer.