Definition at line 79 of file PyPoolBrowser.py.
◆ GetIconName()
| PyPoolBrowser.EDMItem.GetIconName |
( |
| self | ) |
|
|
inherited |
Definition at line 32 of file PyPoolBrowser.py.
32 def GetIconName(self):
33 if not self.IsExpandable():
34 return "python"
35
◆ GetSubList()
| PyPoolBrowser.RootItem.GetSubList |
( |
| self | ) |
|
Reimplemented from PyPoolBrowser.EDMItem.
Definition at line 81 of file PyPoolBrowser.py.
81 def GetSubList (self):
82 sublist = []
83
84 attrs=dir(self.ref)
85 attrs.sort()
86 for attr in attrs:
87
88 if re.search(r"\A_",attr):
89 continue
90
91 attrRef = getattr(self.ref,attr)
92 item = EDMItem (attr,attrRef,True,attr)
93 sublist.append(item)
94 return sublist
95
◆ GetText()
| PyPoolBrowser.EDMItem.GetText |
( |
| self | ) |
|
|
inherited |
Definition at line 26 of file PyPoolBrowser.py.
26 def GetText (self):
27 return self.name
28
◆ IsExpandable()
| PyPoolBrowser.EDMItem.IsExpandable |
( |
| self | ) |
|
|
inherited |
Definition at line 29 of file PyPoolBrowser.py.
29 def IsExpandable (self):
30 return self.expandable
31
◆ OnDoubleClick()
| PyPoolBrowser.EDMItem.OnDoubleClick |
( |
| self | ) |
|
|
inherited |
Definition at line 37 of file PyPoolBrowser.py.
37 def OnDoubleClick(self):
38
39 if self.IsExpandable():
40 return
41
42 if self.classKey == None:
43 return
44
45 x = eval ('PyKernel.plot ("%s#%s", "$x.%s()")' % (objList[self.classKey], self.classKey, self.name))
46
47 time.sleep(1)
48
49 return x
50
◆ classKey
| PyPoolBrowser.EDMItem.classKey = classKey |
|
inherited |
◆ expandable
| PyPoolBrowser.EDMItem.expandable = expandable |
|
inherited |
◆ name
| PyPoolBrowser.EDMItem.name = name |
|
inherited |
◆ ref
| PyPoolBrowser.EDMItem.ref = ref |
|
inherited |
The documentation for this class was generated from the following file: