a
    «ˆcœ  ã                   @   sP   d Z ddlmZ ddlmZmZ d e d¡dd… ¡Z	dZ
G dd	„ d	eƒZdS )
zThe Mayavi plugin.
é    )ÚList)ÚPluginÚServiceOfferÚ.NéÿÿÿÿZmayavic                   @   s@   e Zd ZdZdZdZeZeed�Z	eed�Z
dd„ Zdd„ Zd	S )
ÚMayaviPluginz$envisage.ui.workbench.service_offerszenvisage.preferenceszMayavi plugin)Zcontributes_toc                 C   s
   dt  gS )ú Trait initializer. z(pkgfile://%s/preferences/preferences.ini)ÚID)Úself© r   ú_/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/mayavi/plugins/mayavi_plugin.pyÚ_preferences_default&   s    z!MayaviPlugin._preferences_defaultc                 C   s(   t dtd d�}t dtd d�}||gS )r   zmayavi.core.engine.Enginez.envisage_engine.EnvisageEngine)ÚprotocolÚfactoryzmayavi.plugins.script.Scriptz.script.Script)r   ÚPKG)r
   Zengine_service_offerZscript_service_offerr   r   r   Ú_service_offers_default-   s    þþz$MayaviPlugin._service_offers_defaultN)Ú__name__Ú
__module__Ú__qualname__ZSERVICE_OFFERSZPREFERENCESÚnamer	   Úidr   Zservice_offersZpreferencesr   r   r   r   r   r   r      s   

r   )Ú__doc__Z
traits.apir   Zenvisage.apir   r   Újoinr   Úsplitr   r	   r   r   r   r   r   Ú<module>   s
   