MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/builtinContextMenus/fitSystemSecurity.py:16–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14class FitSystemSecurityMenu(ContextMenuUnconditional):
15
16 def __init__(self):
17 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
18 self.optionMap = OrderedDict((
19 (_t('High Security'), FitSystemSecurity.HISEC),
20 (_t('Low Security'), FitSystemSecurity.LOWSEC),
21 (_t('Null Security'), FitSystemSecurity.NULLSEC),
22 (_t('W-Space'), FitSystemSecurity.WSPACE)))
23
24 def display(self, callingWindow, srcContext):
25 if srcContext != "fittingShip":

Callers

nothing calls this directly

Calls 2

_tFunction · 0.50
getInstanceMethod · 0.45

Tested by

no test coverage detected