Changeset 4368


Ignore:
Timestamp:
Oct 25, 2012, 12:53:50 PM (10 years ago)
Author:
olle
Message:

Refs #787. Refs #471. When a new OMSSA search parameter set is created, the corresponding parameter file is set to file type FileType.OMSSA_PARAMETERS:

  1. Class/file action/omssa/AddOMSSAParameterSetStorage.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/omssa/SaveOMSSAParameterSetStorage.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/omssa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/omssa/AddOMSSAParameterSetStorage.java

    r3865 r4368  
    119119    String fileName = fetchNameWithTimeStamp("OMSSAParameterFile_", ".xml");
    120120    String fileDescr = new String("OMSSA parameter file based on file " + parameterTemplateFileRef);
    121     FileType fileType = null;
     121    FileType fileType = factory.getBySystemId(FileType.class, FileType.OMSSA_PARAMETERS);
    122122    // Use active project directory, or user's home directory.
    123123    Directory fileDir = null;
  • trunk/client/servlet/src/org/proteios/action/omssa/SaveOMSSAParameterSetStorage.java

    r4239 r4368  
    316316                    String fileName = fileExtraUtil.fetchNameWithTimeStamp("OMSSAParameterFile_", ".xml");
    317317                    String fileDescr = new String("OMSSA parameter file based on file " + parameterTemplateFileRef);
    318                     FileType fileType = null;
     318                    FileType fileType = factory.getBySystemId(FileType.class, FileType.OMSSA_PARAMETERS);
    319319                    // Use active project directory, or user's home directory.
    320320                    Directory fileDir = null;
Note: See TracChangeset for help on using the changeset viewer.