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

Method handleSelection

gui/builtinContextMenus/envEffectAdd.py:92–101  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

90 return sub
91
92 def handleSelection(self, event):
93 # Skip events ids that aren't mapped
94
95 swObj = self.idmap.get(event.Id, False)
96 if not swObj:
97 event.Skip()
98 return
99
100 fitID = self.mainFrame.getActiveFit()
101 self.mainFrame.command.Submit(cmd.GuiAddProjectedModuleCommand(fitID, swObj))
102
103 def getData(self):
104 data = Group()

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
getActiveFitMethod · 0.45

Tested by

no test coverage detected