Changeset 4366


Ignore:
Timestamp:
Oct 25, 2012, 10:46:28 AM (10 years ago)
Author:
olle
Message:

Refs #787. Refs #362. Refs #363. When a new X!Tandem search parameter set is created, the corresponding parameter file is set to file type FileType.XTANDEM_PARAMETERS:

  1. Class/file action/xTandemInput/AddXTandemParameterSetStorage.java in client/servlet/ is updated in protected method void runMe() to cover the case when a new search parameter set is created using "Save".
  1. Class/file action/xTandemInput/SaveXTandemParameterSetStorage.java in client/servlet/ is updated in protected method void runMe() to cover the case when a new search parameter set is created using "Save As...".
Location:
trunk/client/servlet/src/org/proteios/action/xTandemInput
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/xTandemInput/AddXTandemParameterSetStorage.java

    r3869 r4366  
    108108    String fileName = fetchNameWithTimeStamp("XTandemParameterFile_", ".xml");
    109109    String fileDescr = new String("X!Tandem parameter file based on file " + parameterTemplateFileRef);
    110     FileType fileType = null;
     110    FileType fileType = factory.getBySystemId(FileType.class, FileType.XTANDEM_PARAMETERS);
    111111    // Use active project directory, or user's home directory.
    112112    Directory fileDir = null;
  • trunk/client/servlet/src/org/proteios/action/xTandemInput/SaveXTandemParameterSetStorage.java

    r4238 r4366  
    220220          String fileName = fileExtraUtil.fetchNameWithTimeStamp("XTandemParameterFile_", ".xml");
    221221          String fileDescr = new String("X!Tandem parameter file based on file " + parameterTemplateFileRef);
    222           FileType fileType = null;
     222          FileType fileType = factory.getBySystemId(FileType.class, FileType.XTANDEM_PARAMETERS);
    223223          // Use active project directory, or user's home directory.
    224224          Directory fileDir = null;
Note: See TracChangeset for help on using the changeset viewer.