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

Method display

gui/builtinContextMenus/fitSystemSecurity.py:24–34  ·  view source on GitHub ↗
(self, callingWindow, srcContext)

Source from the content-addressed store, hash-verified

22 (_t('W-Space'), FitSystemSecurity.WSPACE)))
23
24 def display(self, callingWindow, srcContext):
25 if srcContext != "fittingShip":
26 return False
27
28 fitID = self.mainFrame.getActiveFit()
29 fit = Fit.getInstance().getFit(fitID)
30
31 if not fit.isStructure:
32 return
33
34 return True
35
36 def getText(self, callingWindow, itmContext):
37 return _t("Citadel System Security")

Callers

nothing calls this directly

Calls 3

getFitMethod · 0.80
getActiveFitMethod · 0.45
getInstanceMethod · 0.45

Tested by

no test coverage detected