(self, callingWindow, srcContext, mainItem)
| 15 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 16 | |
| 17 | def display(self, callingWindow, srcContext, mainItem): |
| 18 | if mainItem is None or getattr(mainItem, 'isEmpty', False): |
| 19 | return False |
| 20 | |
| 21 | return srcContext == "fittingModule" |
| 22 | |
| 23 | def getText(self, callingWindow, itmContext, mainItem): |
| 24 | return _t("Fill With {0}").format(itmContext if itmContext is not None else _t("Module")) |
nothing calls this directly
no outgoing calls
no test coverage detected