parameters: (self, obj)
docstring: _initializeExtensions()...
          Subroutine called inside `setFields()` to initialize Extensions efficiently.
docstring_summary: _initializeExtensions()...
          Subroutine called inside `setFields()` to initialize Extensions efficiently.
docstring_tokens: _initializeExtensions () ... Subroutine called inside setFields () to initialize Extensions efficiently .
function: def _initializeExtensions(self, obj):
          """_initializeExtensions()...
          Subroutine called inside `setFields()` to initialize Extensions efficiently."""
          if self.enabled:
              self.extensions = FeatureExtensions.getExtensions(obj)
          elif (
              len(obj.ExtensionFeature) > 0
          ):  # latter test loads pre-existing extensions (editing of existing operation)
              noEdges = True
              for (__, __, subFeat) in FeatureExtensions.readObjExtensionFeature(obj):
                  if subFeat.startswith("Edge") or subFeat.startswith("Wire"):
                      noEdges = False
                      break
              self.extensions = FeatureExtensions.getExtensions(obj)
              self.form.enableExtensions.setChecked(True)
              if noEdges:
                  self._enableExtensions()
              else:
                  self.form.includeEdges.setChecked(True)
                  self._includeEdgesAndWires()
          self.setExtensions(self.extensions)
function_tokens: def _initializeExtensions ( self , obj ) : if self . enabled : self . extensions = FeatureExtensions . getExtensions ( obj ) elif ( len ( obj . ExtensionFeature ) > 0 ) : # latter test loads pre-existing extensions (editing of existing operation) noEdges = True for ( __ , __ , subFeat ) in FeatureExtensions . readObjExtensionFeature ( obj ) : if subFeat . startswith ( "Edge" ) or subFeat . startswith ( "Wire" ) : noEdges = False break self . extensions = FeatureExtensions . getExtensions ( obj ) self . form . enableExtensions . setChecked ( True ) if noEdges : self . _enableExtensions ( ) else : self . form . includeEdges . setChecked ( True ) self . _includeEdgesAndWires ( ) self . setExtensions ( self . extensions )