MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / getImplantsFromContext

Method getImplantsFromContext

gui/setEditor.py:98–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 self.Parent.entityEditor.Bind(wx.EVT_CHOICE, self.contextChanged)
97
98 def getImplantsFromContext(self):
99 sIS = ImplantSets.getInstance()
100 set_ = self.Parent.entityEditor.getActiveEntity()
101 if set_:
102 return sIS.getImplants(set_.ID)
103 return []
104
105 def addImplantToContext(self, item):
106 sIS = ImplantSets.getInstance()

Callers

nothing calls this directly

Calls 3

getActiveEntityMethod · 0.80
getInstanceMethod · 0.45
getImplantsMethod · 0.45

Tested by

no test coverage detected