Esempio n. 1
0
 def OnBreakInto(self, event):
     for node in self.getNodesForSelection(self.list.getMultiSelection()):
         props = node.properties
         zc = ZopeConnection()
         zc.connect(props['host'], props['httpport'], props['username'],
                    props['passwd'])
         start_new_thread(self.breakpointInBackground, (zc, ))
Esempio n. 2
0
    def __init__(self, globClip, props):
        ExplorerNodes.ExplorerClipboard.__init__(self, globClip)
        self.clipRef = ''

        self.props = props
        self.zc = ZopeConnection()
        self.zc.connect(props['host'], props['httpport'], props['username'],
                        props['passwd'])
Esempio n. 3
0
 def callControlPanelMethod(self, props, meth):
     zc = ZopeConnection()
     zc.connect(props['host'], props['httpport'], props['username'],
                props['passwd'])
     zc.call('/Control_Panel', meth)