(self, fittingView, params)
| 49 | proportionWidth = 7 |
| 50 | |
| 51 | def __init__(self, fittingView, params): |
| 52 | ViewColumn.__init__(self, fittingView) |
| 53 | |
| 54 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 55 | self.columnText = _t("Name") |
| 56 | self.mask = wx.LIST_MASK_TEXT |
| 57 | self.projectedView = isinstance(fittingView, gui.builtinAdditionPanes.projectedView.ProjectedView) |
| 58 | self.rackTranslations = { |
| 59 | FittingSlot.HIGH: _t('High'), |
| 60 | FittingSlot.MED: _t('Med'), |
| 61 | FittingSlot.LOW: _t('Low'), |
| 62 | FittingSlot.SUBSYSTEM: _t('Subsystem'), |
| 63 | FittingSlot.RIG: _t('Rig'), |
| 64 | FittingSlot.SERVICE: _t('Service') |
| 65 | } |
| 66 | |
| 67 | |
| 68 | def getText(self, stuff): |
nothing calls this directly
no test coverage detected