Lines Matching refs:provCtx

469     def __init__( self, provCtx, uri, fileName, funcName ):  argument
472 self.provCtx = provCtx
491 ret = self.provCtx.uriHelper.getScriptURI(
492 self.provCtx.getPersistentUrlFromStorageUrl( self.uri + "$" + self.funcName ) )
494 ret = not self.provCtx.sfa.isReadOnly( self.uri )
514 ctx = self.provCtx.scriptContext.getComponentContext()
522 code = readTextFromStream(self.provCtx.sfa.openFileRead(self.uri))
541 mod.__dict__[GLOBAL_SCRIPTCONTEXT_NAME] = self.provCtx.scriptContext
558 self.provCtx.sfa.move( self.uri, copyUrl )
559 out = self.provCtx.sfa.openFileWrite( self.uri )
562 self.provCtx.sfa.kill( copyUrl )
586 def __init__( self, provCtx, uri , name ): argument
587 self.provCtx = provCtx
598 self.funcnames = self.provCtx.getFuncsByUrl( self.uri )
604 self.provCtx, self.uri, self.name, i ))
625 def __init__( self, provCtx, name, rootUrl ): argument
626 self.provCtx = provCtx
636 contents = self.provCtx.sfa.getFolderContents( self.rootUrl, True )
642 FileBrowseNode( self.provCtx, i, i[i.rfind("/")+1:len(i)-3] ) )
643 elif self.provCtx.sfa.isFolder( i ) and not i.endswith("/pythonpath"):
645 browseNodeList.append( DirBrowseNode( self.provCtx, i[i.rfind("/")+1:len(i)],i))
831 def __init__( self, provCtx, name, rootUrl ): argument
832 self.provCtx = provCtx
840 items = list(self.provCtx.mapPackageName2Path.items())
845 DirBrowseNode( self.provCtx, i[0], i[1].pathes[0] ))
849 DirBrowseNode( self.provCtx, i[0]+"."+lastElement(j), j ) )
954 self.provCtx = ProviderContext(
958 self.provCtx.setPackageAttributes( mapPackageName2Path , rootUrl )
959 self.dirBrowseNode = PackageBrowseNode( self.provCtx, LANGUAGENAME, rootUrl )
961 self.dirBrowseNode = DirBrowseNode( self.provCtx, LANGUAGENAME, rootUrl )
989 storageUri = self.provCtx.getStorageUrlFromPersistentUrl(
990 self.provCtx.uriHelper.getStorageURI(scriptUri) );
995 mod = self.provCtx.getModuleByUrl( fileUri )
1031 ret = self.provCtx.isUrlInPackage( uri )
1042 if self.provCtx.isUrlInPackage( uri ):
1043 self.provCtx.removePackageByUrl( uri )
1052 if isPyFileInPath( self.provCtx.sfa, uri ):
1053 self.provCtx.addPackageByUrl( uri )