Changeset 4522
- Timestamp:
- Sep 11, 2013, 1:03:48 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/locale/en/dictionary
r4521 r4522 465 465 MsInspectOptions=msInspect options 466 466 MsInspectFeatureDetection=msInspect Feature Detection 467 MsInspectFilterResults=Filter results 467 468 MsInspectImportResultsInPipeline=Import results 468 469 MsInspectStrategySelect=Strategy -
trunk/client/servlet/src/org/proteios/action/file/UseSpectrumFileForMsInspectSearchExtension.java
r4210 r4522 146 146 fs.setOpen(false); 147 147 form.addFieldset(fs); 148 Checkbox<VBoolean> filterCB = new Checkbox<VBoolean>(RunMsInspect.VMSINSPECTFILTER); 149 filterCB.setLabel("MsInspectFilterResults"); 150 filterCB.setValue("true"); 151 filterCB.setHelp("Check to filter generated feature list using default filter"); 152 filterCB.isChecked(false); 153 fs.add(filterCB); 148 154 // Select box variables 149 155 VString validStringParam = null; -
trunk/client/servlet/src/org/proteios/action/msInspect/RunMsInspect.java
r4188 r4522 72 72 public static final VBoolean VMSINSPECTIMPORTRESULTS = new VBoolean( 73 73 "active.msinspectimportresults", false); 74 public static final VBoolean VMSINSPECTFILTER = new VBoolean( 75 "active.msinspectfilter", false); 74 76 75 77 @Override … … 131 133 // Default is to not import results 132 134 importResultsFlag = false; 135 } 136 Boolean filterFlag = getValidBoolean(RunMsInspect.VMSINSPECTFILTER); 137 log.debug("filterFlag from request = " + filterFlag); 138 if (filterFlag == null) 139 { 140 // Default is to not to filter 141 filterFlag = false; 133 142 } 134 143 log.debug("importResultsFlag = " + importResultsFlag); … … 201 210 activeProject, 202 211 strategy, 212 filterFlag, 203 213 blockerJob); 204 214 log.debug("msInspectJob.getId() = " + msInspectJob.getId()); … … 268 278 Project activeProject, 269 279 String strategy, 280 Boolean filter, 270 281 Job blockerJob) 271 282 { … … 310 321 BooleanParameterType uploadOutputFileFlagParam = new BooleanParameterType(); 311 322 job.setParameterValue("uploadOutputFileFlag", uploadOutputFileFlagParam, uploadOutputFileFlag); 323 // 324 job.setParameterValue("filter", new BooleanParameterType(),filter); 312 325 // 313 326 StringParameterType timeStampParam = new StringParameterType(); -
trunk/plugin/src/org/proteios/plugins/RunMsInspectPlugin.java
r4346 r4522 277 277 String timeStampStr; 278 278 String strategy; 279 Boolean filter; 279 280 280 281 msInspectInstallPath = (String) job.getValue("msInspectInstallPath"); … … 285 286 dirId = (Integer) job.getValue("dirId"); 286 287 uploadOutputFileFlag = (Boolean) job.getValue("uploadOutputFileFlag"); 288 filter = (Boolean) job.getValue("filter"); 287 289 timeStampStr = (String) job.getValue("timeStampStr"); 288 290 strategy = (String) job.getValue("strategy"); … … 291 293 msInspectSearchLocal(request, response, progress, tmpDir, 292 294 msInspectInstallPath, msInspectProgramName, msInspectMemoryInMegaBytes, 293 spectrumFileId, dirId, uploadOutputFileFlag, timeStampStr, strategy );295 spectrumFileId, dirId, uploadOutputFileFlag, timeStampStr, strategy, filter); 294 296 done(); 295 297 } … … 332 334 String msInspectInstallPath, String msInspectProgramName, Integer msInspectMemoryInMegaBytes, 333 335 Integer spectrumFileId, Integer dirId, 334 Boolean uploadOutputFileFlag, String timeStampStr, String strategy )336 Boolean uploadOutputFileFlag, String timeStampStr, String strategy, Boolean filter) 335 337 { 336 338 log.debug("msInspectInstallPath = \"" + msInspectInstallPath + "\""); … … 436 438 String strategyOption = new String("--strategy=" + strategy); 437 439 cmdList.add(strategyOption); 440 } 441 // Default is not to filter the feature list 442 log.debug("Filter flag:"+filter); 443 if (filter==null || filter.equals(false)) 444 { 445 cmdList.add("--nofilter"); 438 446 } 439 447 cmdList.add("--outdir=" + msInspectOutputDirPath);
Note: See TracChangeset
for help on using the changeset viewer.