Lines Matching refs:provCtx
463 def __init__( self, provCtx, uri, fileName, funcName ): argument
466 self.provCtx = provCtx
485 ret = self.provCtx.uriHelper.getScriptURI(
486 self.provCtx.getPersistentUrlFromStorageUrl( self.uri + "$" + self.funcName ) )
488 ret = not self.provCtx.sfa.isReadOnly( self.uri )
508 ctx = self.provCtx.scriptContext.getComponentContext()
516 code = readTextFromStream(self.provCtx.sfa.openFileRead(self.uri))
535 mod.__dict__[GLOBAL_SCRIPTCONTEXT_NAME] = self.provCtx.scriptContext
552 self.provCtx.sfa.move( self.uri, copyUrl )
553 out = self.provCtx.sfa.openFileWrite( self.uri )
556 self.provCtx.sfa.kill( copyUrl )
580 def __init__( self, provCtx, uri , name ): argument
581 self.provCtx = provCtx
592 self.funcnames = self.provCtx.getFuncsByUrl( self.uri )
598 self.provCtx, self.uri, self.name, i ))
619 def __init__( self, provCtx, name, rootUrl ): argument
620 self.provCtx = provCtx
630 contents = self.provCtx.sfa.getFolderContents( self.rootUrl, True )
636 FileBrowseNode( self.provCtx, i, i[i.rfind("/")+1:len(i)-3] ) )
637 elif self.provCtx.sfa.isFolder( i ) and not i.endswith("/pythonpath"):
639 browseNodeList.append( DirBrowseNode( self.provCtx, i[i.rfind("/")+1:len(i)],i))
825 def __init__( self, provCtx, name, rootUrl ): argument
826 self.provCtx = provCtx
834 items = list(self.provCtx.mapPackageName2Path.items())
839 DirBrowseNode( self.provCtx, i[0], i[1].pathes[0] ))
843 DirBrowseNode( self.provCtx, i[0]+"."+lastElement(j), j ) )
948 self.provCtx = ProviderContext(
952 self.provCtx.setPackageAttributes( mapPackageName2Path , rootUrl )
953 self.dirBrowseNode = PackageBrowseNode( self.provCtx, LANGUAGENAME, rootUrl )
955 self.dirBrowseNode = DirBrowseNode( self.provCtx, LANGUAGENAME, rootUrl )
983 storageUri = self.provCtx.getStorageUrlFromPersistentUrl(
984 self.provCtx.uriHelper.getStorageURI(scriptUri) );
989 mod = self.provCtx.getModuleByUrl( fileUri )
1025 ret = self.provCtx.isUrlInPackage( uri )
1036 if self.provCtx.isUrlInPackage( uri ):
1037 self.provCtx.removePackageByUrl( uri )
1046 if isPyFileInPath( self.provCtx.sfa, uri ):
1047 self.provCtx.addPackageByUrl( uri )