(self, callingWindow, srcContext)
| 13 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 14 | |
| 15 | def display(self, callingWindow, srcContext): |
| 16 | if srcContext not in ('implantItemMisc', 'implantItemMiscChar'): |
| 17 | return False |
| 18 | |
| 19 | fit = Fit.getInstance().getFit(self.mainFrame.getActiveFit()) |
| 20 | self.implants = fit.appliedImplants[:] |
| 21 | if not self.implants: |
| 22 | return False |
| 23 | |
| 24 | return True |
| 25 | |
| 26 | def getText(self, callingWindow, context): |
| 27 | return _t('Save as New Implant Set') |
nothing calls this directly
no test coverage detected