예제 #1
0
	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)
예제 #2
0
	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)
예제 #3
0
 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)
예제 #4
0
	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 )