Changeset 4367


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

Refs #787. Refs. #534. When a new Mascot search parameter set is created, the corresponding parameter file is set to file type FileType.MASCOT_PARAMETERS:

  1. Class/file action/mascot/AddMascotParameterSetStorage.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/mascot/SaveMascotParameterSetStorage.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/mascot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/action/mascot/AddMascotParameterSetStorage.java

    r3859 r4367  
    126126    String fileName = fetchNameWithTimeStamp("MascotParameterFile_", ".xml");
    127127    String fileDescr = new String("Mascot parameter file based on file " + parameterTemplateFileRef);
    128     FileType fileType = null;
     128    FileType fileType = factory.getBySystemId(FileType.class, FileType.MASCOT_PARAMETERS);
    129129    // Use active project directory, or user's home directory.
    130130    Directory fileDir = null;
  • trunk/client/servlet/src/org/proteios/action/mascot/SaveMascotParameterSetStorage.java

    r4234 r4367  
    288288          String fileName = fileExtraUtil.fetchNameWithTimeStamp("MascotParameterFile_", ".xml");
    289289          String fileDescr = new String("Mascot parameter file based on file " + parameterTemplateFileRef);
    290           FileType fileType = null;
     290          FileType fileType = factory.getBySystemId(FileType.class, FileType.MASCOT_PARAMETERS);
    291291          // Use active project directory, or user's home directory.
    292292          Directory fileDir = null;
Note: See TracChangeset for help on using the changeset viewer.