Uranium
Application Framework
UM.Workspace.WorkspaceFileHandler.WorkspaceFileHandler Class Reference

Central class for reading and writing workspaces. More...

Inheritance diagram for UM.Workspace.WorkspaceFileHandler.WorkspaceFileHandler:
UM.FileHandler.FileHandler.FileHandler

Public Member Functions

None __init__ (self, "QtApplication" application, str writer_type="workspace_writer", str reader_type="workspace_reader", QObject parent=None)
 
Optional[str] readerRead (self, FileReader reader, str file_name, **kwargs)
 
- Public Member Functions inherited from UM.FileHandler.FileHandler.FileHandler
List[str] supportedReadFileTypes (self)
 
List[str] supportedWriteFileTypes (self)
 
None readLocalFile (self, QUrl file)
 
List[Dict[str, Union[str, int]]] getSupportedFileTypesWrite (self)
 Get list of all supported filetypes for writing. More...
 
Dict[str, str] getSupportedFileTypesRead (self)
 
None addReader (self, "FileReader" reader)
 
None addWriter (self, "FileWriter" writer)
 
def readerRead (self, FileReader reader, str file_name, **Any kwargs)
 
Optional["FileWriter"] getWriterByMimeType (self, str mime)
 Get a mesh writer object that supports writing the specified mime type. More...
 
Optional["FileWriter"] getWriter (self, str writer_id)
 Get an instance of a mesh writer by ID.
 
Optional["FileReader"] getReaderForFile (self, str file_name)
 Find a Reader that accepts the given file name. More...
 
"FileHandler" getInstance (cls, *args, **kwargs)
 

Public Attributes

 workspace_reader
 

Additional Inherited Members

- Static Public Attributes inherited from UM.FileHandler.FileHandler.FileHandler
 constant
 

Detailed Description

Central class for reading and writing workspaces.

This class is created by Application and handles reading and writing workspace files.


The documentation for this class was generated from the following file: