Changeset 1004
- Timestamp:
- Mar 27, 2009, 7:36:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.pluginutilities/trunk/src/net/sf/basedb/plugins/AbstractRunBinaryPlugin.java
r1002 r1004 91 91 { 92 92 System.setErr(new PrintStream(debug_outputfile)); 93 System.err.println("Initializing super class");93 System.err.println("Initializing AbstractRunBinaryPlugin"); 94 94 } 95 95 catch (IOException e) { … … 99 99 } 100 100 101 @SuppressWarnings("unchecked") 101 102 102 public void configure(GuiContext context, Request request, Response response) 103 103 { … … 121 121 storeValue(job, request, ri.getParameter(CHILD_NAME)); 122 122 storeValue(job, request, ri.getParameter(CHILD_DESCRIPTION)); 123 if (selectBASconfigure) 124 storeValue(job, request, ri.getParameter(selectBASid)); 123 125 124 126 Job.ExecutionTime execTime = Job.ExecutionTime.SHORT; … … 235 237 List<BioAssay> assays = sourceBAS.getBioAssays().list(dc); 236 238 PluginParameter<BioAssay> par = new PluginParameter<BioAssay> 237 ( "selectBAS", "Select assays", selectBASdescription,239 ( selectBASid, "Select assays", selectBASdescription, 238 240 new ItemParameterType<BioAssay>(BioAssay.class, assays.get(0), 239 241 true, 0, assays) ); … … 297 299 298 300 299 @SuppressWarnings("unchecked")300 301 public void run(Request request, Response response, ProgressReporter _progress) 301 302 { 302 if (debug_output) System.err.println(" run");303 if (debug_output) System.err.println("ARBP: run"); 303 304 progress=_progress; 304 305 DbControl dc=sc.newDbControl(); … … 310 311 if (debug_output) 311 312 { 312 System.err.println(" run succesful");313 System.err.println("ARBP: run successful"); 313 314 response.setError("All is okay, just forcing a BASE error.", null); 314 315 } … … 384 385 protected Boolean selectBASconfigure = false; 385 386 protected String selectBASdescription = null; 387 protected final String selectBASid = "selectBAS"; 386 388 protected String subprocess_stdin=null; 387 389 protected String subprocess_stdout=null;
Note: See TracChangeset
for help on using the changeset viewer.