MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / getActiveEntity

Method getActiveEntity

gui/builtinViews/entityEditor.py:166–170  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

164 self.entityChoices.SetSelection(0)
165
166 def getActiveEntity(self):
167 if len(self.choices) == 0:
168 return None
169
170 return self.choices[self.entityChoices.GetSelection()]
171
172 def setActiveEntity(self, entity):
173 try:

Callers 15

OnCopyMethod · 0.95
OnRenameMethod · 0.95
OnDeleteMethod · 0.95
OnInputTimerMethod · 0.80
patternChangedMethod · 0.80
addImplantToContextMethod · 0.80
OnInputTimerMethod · 0.80
validateFieldsMethod · 0.80
patternChangedMethod · 0.80
btnRestrictMethod · 0.80

Calls 1

GetSelectionMethod · 0.45

Tested by

no test coverage detected