(self)
| 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() |
nothing calls this directly
no test coverage detected