Esempio n. 1
0
 def GetData(self):
     attr, text = TreeItem.GetData(self)
     action = self.executable
     text = "%s.%s(%s)" % (action.plugin.info.evalName,
                           action.__class__.__name__, ", ".join(
                               [repr(arg) for arg in self.args]))
     return attr, text
Esempio n. 2
0
 def GetData(self):
     attr, text = TreeItem.GetData(self)
     del attr[0]
     attr.append(('Identifier', self.executable.info.evalName))
     guid = self.executable.info.guid
     if guid:
         attr.append(('Guid', guid))
     attr.append(('File', self.pluginName))
     text = base64.b64encode(pickle.dumps(self.info.args, 2))
     return attr, text
Esempio n. 3
0
 def GetData(self):
     attr, text = TreeItem.GetData(self)
     if self in self.document.expandedNodes:
         attr.append(("Expanded", "True"))
     return attr, text