(self, callingWindow, srcContext)
| 16 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 17 | |
| 18 | def display(self, callingWindow, srcContext): |
| 19 | |
| 20 | if srcContext not in ('projected', 'commandView', 'graphFitList', 'graphTgtList'): |
| 21 | return False |
| 22 | |
| 23 | if srcContext in ('projected', 'commandView') and self.mainFrame.getActiveFit() is None: |
| 24 | return False |
| 25 | |
| 26 | return True |
| 27 | |
| 28 | def getText(self, callingWindow, itmContext): |
| 29 | return _t('Add Currently Open Fit') |
nothing calls this directly
no test coverage detected