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

Method getEntitiesFromContext

gui/patternEditor.py:68–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.SetEditorValidator(DmgPatternNameValidator)
67
68 def getEntitiesFromContext(self):
69 sDP = DamagePattern.getInstance()
70 choices = sorted(sDP.getUserDamagePatternList(), key=lambda p: p.rawName)
71 choices = [c for c in choices if c.rawName != "Selected Ammo"]
72 return choices
73
74 def DoNew(self, name):
75 sDP = DamagePattern.getInstance()

Callers

nothing calls this directly

Calls 2

getInstanceMethod · 0.45

Tested by

no test coverage detected