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

Method display

gui/builtinContextMenus/targetProfile/adder.py:22–26  ·  view source on GitHub ↗
(self, callingWindow, srcContext)

Source from the content-addressed store, hash-verified

20 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
21
22 def display(self, callingWindow, srcContext):
23 if srcContext != 'graphTgtList':
24 return False
25 # We always show "Ideal Profile" anyway
26 return True
27
28 def getText(self, callingWindow, itmContext):
29 return _t('Add Target Profile')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected