pwem.viewers.filehandlers module

This module contains file handlers to be registered in the scipion file browser

class pwem.viewers.filehandlers.ChimeraHandler[source]

Bases: FileHandler

getFileActions(objFile)[source]

Return actions that can be done with this object. Actions will be displayed in the context menu and the first one will be the default when double-click.

getFileIcon(objFile)[source]

Return the icon name for a given file.

class pwem.viewers.filehandlers.ImageFileHandler[source]

Bases: FileHandler

getFileActions(objFile)[source]

Return actions that can be done with this object. Actions will be displayed in the context menu and the first one will be the default when double-click.

getFilePreview(objFile)[source]

Return the preview image and description for the specific object.

class pwem.viewers.filehandlers.ImajeJFileHandler[source]

Bases: FileHandler

getFileActions(objFile)[source]

Return actions that can be done with this object. Actions will be displayed in the context menu and the first one will be the default when double-click.

getFileIcon(objFile)[source]

Return the icon name for a given file.

class pwem.viewers.filehandlers.MdFileHandler[source]

Bases: ImageFileHandler

getFileIcon(objFile)[source]

Return the icon name for a given file.

getFilePreview(objFile)[source]

Return the preview image and description for the specific object.

class pwem.viewers.filehandlers.MetadataFileHandler[source]

Bases: FileHandler

getFileActions(objFile)[source]

Return actions that can be done with this object. Actions will be displayed in the context menu and the first one will be the default when double-click.

getFileIcon(objFile)[source]

Return the icon name for a given file.

class pwem.viewers.filehandlers.ParticleFileHandler[source]

Bases: ImageFileHandler

getFileIcon(objFile)[source]

Return the icon name for a given file.

class pwem.viewers.filehandlers.StackHandler[source]

Bases: ImageFileHandler

getFileIcon(objFile)[source]

Return the icon name for a given file.

class pwem.viewers.filehandlers.VolFileHandler[source]

Bases: ImageFileHandler

getFileIcon(objFile)[source]

Return the icon name for a given file.

pwem.viewers.filehandlers.getTkImage(pilImage)[source]