Changeset 6839


Ignore:
Timestamp:
23/04/10 09:39:49 (9 years ago)
Author:
sdonegan
Message:

Added MEDIN_2.3 to list of acceptable formats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/model/formattype.py

    r5229 r6839  
    3232GCMD_FLAG = 4 
    3333ISO_FLAG = 8 
     34MEDIN_FLAG = 999 # !! 
    3435 
    3536 
     
    3839GCMD_NAME = 'gcmd' 
    3940ISO_NAME = 'iso' 
     41MEDIN_NAME = 'MEDIN_2.3' 
     42 
    4043DIF = FormatType(DIF_FLAG, DIF_NAME, 'PaleTurquoise') 
    4144MDIP = FormatType(MDIP_FLAG, MDIP_NAME, 'PaleGreen') 
    4245GCMD = FormatType(GCMD_FLAG, GCMD_NAME, 'Chartreuse') 
    4346ISO = FormatType(ISO_FLAG, ISO_NAME, 'Wheat') 
    44 ALL_TYPES = [DIF, MDIP, GCMD, ISO] 
    45 ALL_NAMES = [DIF_NAME, MDIP_NAME, GCMD_NAME, ISO_NAME] 
     47MEDIN = FormatType(MEDIN_FLAG, MEDIN_NAME, 'Yellow') 
     48 
     49ALL_TYPES = [DIF, MDIP, GCMD, ISO, MEDIN] 
     50ALL_NAMES = [DIF_NAME, MDIP_NAME, GCMD_NAME, ISO_NAME, MEDIN_NAME] 
    4651 
    4752def getFormatType(name): 
Note: See TracChangeset for help on using the changeset viewer.