(self, callingWindow, srcContext, mainItem)
| 22 | self.resetId = None |
| 23 | |
| 24 | def display(self, callingWindow, srcContext, mainItem): |
| 25 | if srcContext not in ('fittingModule', 'projectedModule') or self.mainFrame.getActiveFit() is None: |
| 26 | return False |
| 27 | |
| 28 | if mainItem is None or mainItem.isEmpty: |
| 29 | return False |
| 30 | |
| 31 | self.mod = mainItem |
| 32 | self.context = srcContext |
| 33 | |
| 34 | return self.mod.item.group.name in ("Precursor Weapon", "Mutadaptive Remote Armor Repairer") |
| 35 | |
| 36 | def getText(self, callingWindow, itmContext, mainItem): |
| 37 | return _t("Spoolup Cycles") |
nothing calls this directly
no test coverage detected