<?xml version='1.0' encoding='UTF-8'?>
<!--
Copyright 2010 California Institute of Technology. ALL RIGHTS
RESERVED. U.S. Government Sponsorship acknowledged.
-->
<configure xmlns='http://namespaces.zope.org'
    xmlns:zope='http://namespaces.zope.org/zope'
    xmlns:browser='http://namespaces.zope.org/browser'
    i18n_domain='eke.specimens'>
    <include package='plone.app.contentmenu'/>

    <!-- Specimen System Folder -->
    <browser:resource name='specimen-system-folder.gif' file='images/specimen-system-folder.gif'/>
    <browser:page
        class='.views.SpecimenSystemFolderView'
        for='..interfaces.ISpecimenSystemFolder'
        name='view'
        permission='zope2.View'
        allowed_attributes='getStorageTypeLabel'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of a Specimen System Folder.'
        for='..interfaces.ISpecimenSystemFolder'
        menu='plone_displayviews'
        title='Specimen System Folder view'
    />

    <!-- Specimen System -->
    <browser:resource name='specimen-system.gif' file='images/specimen-system.gif'/>
    <browser:page
        class='.views.SpecimenSystemView'
        for='..interfaces.ISpecimenSystem'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of a Specimen System.'
        for='..interfaces.ISpecimenSystem'
        menu='plone_displayviews'
        title='Specimen System view'
    />

    <!-- ERNE Specimen System -->
    <browser:resource name='erne-specimen-system.png' file='images/erne-specimen-system.png'/>
    <browser:page
        class='.views.ERNESpecimenSystemView'
        for='..interfaces.IERNESpecimenSystem'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of an ERNE Specimen System.'
        for='..interfaces.IERNESpecimenSystem'
        menu='plone_displayviews'
        title='ERNE Specimen System view'
    />
    <browser:page
        class='.ingest.ERNESpecimenSystemViewIngestor'
        for='..interfaces.IERNESpecimenSystem'
        name='ingest'
        permission='cmf.ManagePortal'
    />


    <!-- Generic Specimen Set -->
    <browser:resource name='generic-specimen-set.gif' file='images/generic-specimen-set.gif'/>
    <browser:resource name='probe-icon.png' file='images/probe-icon.png'/>
    <browser:page
        class='.views.GenericSpecimenSetView'
        for='..interfaces.IGenericSpecimenSet'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of a Generic Specimen Set.'
        for='..interfaces.IGenericSpecimenSet'
        menu='plone_displayviews'
        title='Generic Specimen Set view'
    />

    <!-- Case Control Subset -->
    <browser:resource name='case-control-subset.png' file='images/case-control-subset.png'/>
    <browser:page
        class='.views.CaseControlSubsetView'
        for='..interfaces.ICaseControlSubset'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of a Case Control Subset.'
        for='..interfaces.ICaseControlSubset'
        menu='plone_displayviews'
        title='Case Control Subset view'
    />

    <!-- Inactive ERNE Set -->
    <browser:resource name='inactive-erne-set.png' file='images/inactive-erne-set.png'/>
    <browser:page
        class='.views.InactiveERNESetView'
        for='..interfaces.IInactiveERNESet'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of an Inactive ERNE Set.'
        for='..interfaces.IInactiveERNESet'
        menu='plone_displayviews'
        title='Inactive ERNE Set view'
    />
    <!-- Active ERNE Set -->
    <browser:resource name='active-erne-set.png' file='images/active-erne-set.png'/>
    <browser:page
        class='.views.ActiveERNESetView'
        for='..interfaces.IActiveERNESet'
        name='view'
        permission='zope2.View'
    />
    <browser:menuItem
        action='@@view'
        description='Default representation of an Inactive ERNE Set.'
        for='..interfaces.IActiveERNESet'
        menu='plone_displayviews'
        title='Active ERNE Set view'
    />

    <!-- Other resources -->
    <browser:resource
        name='eke-specimens.css'
        file='specimen.css'
    />


</configure>