(self, callingWindow, srcContext)
| 16 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 17 | |
| 18 | def display(self, callingWindow, srcContext): |
| 19 | if srcContext != "fittingShip": |
| 20 | return False |
| 21 | |
| 22 | fitID = self.mainFrame.getActiveFit() |
| 23 | fit = Fit.getInstance().getFit(fitID) |
| 24 | |
| 25 | if fit.ship.name not in ('Pacifier', 'Enforcer', 'Marshal', 'Sidewinder', 'Cobra', 'Python'): |
| 26 | return |
| 27 | |
| 28 | return True |
| 29 | |
| 30 | def getText(self, callingWindow, itmContext): |
| 31 | return _t("Pilot Security Status") |
nothing calls this directly
no test coverage detected