def display(self): 'Display the export canvas repository dialog.' for repositoryDialog in settings.globalRepositoryDialogListTable: if repositoryDialog.repository.lowerName == self.name: repositoryDialog.setCanvasFileNameSuffix(self.canvas, self.skein.fileName, self.suffix) settings.liftRepositoryDialogs(settings.globalRepositoryDialogListTable[repositoryDialog]) return pluginModule = archive.getModuleWithDirectoryPath(getPluginsDirectoryPath(), self.name) if pluginModule is None: return None pluginRepository = pluginModule.getNewRepository() pluginRepository.setCanvasFileNameSuffix(self.canvas, self.fileName, self.suffix) settings.getDisplayedDialogFromConstructor(pluginRepository)
def display(self): 'Display the export canvas repository dialog.' for repositoryDialog in settings.globalRepositoryDialogListTable: if repositoryDialog.repository.lowerName == self.name: repositoryDialog.setCanvasFileNameSuffix(self.canvas, self.skein.fileName, self.suffix) settings.liftRepositoryDialogs(settings.globalRepositoryDialogListTable[repositoryDialog]) return pluginModule = archive.getModuleWithDirectoryPath(getPluginsDirectoryPath(), self.name) if pluginModule == None: return None pluginRepository = pluginModule.getNewRepository() pluginRepository.setCanvasFileNameSuffix(self.canvas, self.fileName, self.suffix) settings.getDisplayedDialogFromConstructor(pluginRepository)
def display(self): "Display the export canvas repository dialog." for repositoryDialog in settings.globalRepositoryDialogListTable: if repositoryDialog.repository.lowerName == self.name: repositoryDialog.setCanvasFileNameSuffix(self.canvas, self.skein.fileName, self.suffix) settings.liftRepositoryDialogs(settings.globalRepositoryDialogListTable[repositoryDialog]) return exportCanvasPluginsFolderPath = gcodec.getAbsoluteFolderPath(os.path.dirname(__file__), "export_canvas_plugins") pluginModule = gcodec.getModuleWithDirectoryPath(exportCanvasPluginsFolderPath, self.name) if pluginModule == None: return None pluginRepository = pluginModule.getNewRepository() pluginRepository.setCanvasFileNameSuffix(self.canvas, self.fileName, self.suffix) settings.getDisplayedDialogFromConstructor(pluginRepository)
def display(self): 'Display the export canvas repository dialog.' for repositoryDialog in settings.globalRepositoryDialogListTable: if repositoryDialog.repository.lowerName == self.name: repositoryDialog.setCanvasFileNameSuffix( self.canvas, self.skein.fileName, self.suffix ) settings.liftRepositoryDialogs( settings.globalRepositoryDialogListTable[ repositoryDialog ] ) return exportCanvasPluginsFolderPath = archive.getAbsoluteFolderPath( os.path.dirname(__file__), 'export_canvas_plugins') pluginModule = archive.getModuleWithDirectoryPath( exportCanvasPluginsFolderPath, self.name ) if pluginModule == None: return None pluginRepository = pluginModule.getNewRepository() pluginRepository.setCanvasFileNameSuffix( self.canvas, self.fileName, self.suffix ) settings.getDisplayedDialogFromConstructor( pluginRepository )