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

Method __init__

gui/builtinContextMenus/commandFitAdd.py:41–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 cls.commandFits = sFit.getFitsWithModules(cls.commandTypeIDs)
40
41 def __init__(self):
42 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
43
44 def display(self, callingWindow, srcContext):
45 if self.mainFrame.getActiveFit() is None or len(self.__class__.commandFits) == 0 or srcContext != "commandView":

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected